2004-07-24 17:06:21 +00:00
|
|
|
#
|
2004-11-22 01:38:40 +00:00
|
|
|
# Copyright (c) 2004-2005 The Trustees of Indiana University.
|
|
|
|
# All rights reserved.
|
|
|
|
# Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
|
|
|
# All rights reserved.
|
2004-11-28 20:09:25 +00:00
|
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
# University of Stuttgart. All rights reserved.
|
2005-03-24 12:43:37 +00:00
|
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
# All rights reserved.
|
2004-11-22 01:38:40 +00:00
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
2004-07-24 17:06:21 +00:00
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
2004-09-14 10:55:10 +00:00
|
|
|
include $(top_ompi_srcdir)/config/Makefile.options
|
2004-07-24 17:06:21 +00:00
|
|
|
|
|
|
|
AM_CPPFLAGS = -DHAVE_MPI_INFO \
|
|
|
|
-I$(top_ompi_builddir)/src/include \
|
|
|
|
-I$(top_ompi_srcdir)/src \
|
|
|
|
-I$(top_ompi_srcdir)/src/include
|
|
|
|
|
2004-09-14 10:55:10 +00:00
|
|
|
# Conditionals whether to build each subdir or not
|
2004-07-24 17:06:21 +00:00
|
|
|
|
2004-09-14 10:55:10 +00:00
|
|
|
if BUILD_HFS
|
|
|
|
HFS_DIR = ad_hfs
|
|
|
|
HFS_LIB = ad_hfs/libadio_hfs.la
|
|
|
|
else
|
|
|
|
HFS_DIR =
|
|
|
|
HFS_LIB =
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_NFS
|
|
|
|
NFS_DIR = ad_nfs
|
|
|
|
NFS_LIB = ad_nfs/libadio_nfs.la
|
|
|
|
else
|
|
|
|
NFS_DIR =
|
|
|
|
NFS_LIB =
|
|
|
|
endif
|
|
|
|
|
|
|
|
# Currently disabled
|
|
|
|
#if BUILD_NTFS
|
|
|
|
#NTFS_DIR = ad_ntfs
|
|
|
|
#NTFS_LIB = ad_ntfs/libadio_ntfs.la
|
|
|
|
#else
|
|
|
|
#NTFS_DIR =
|
|
|
|
#NTFS_LIB =
|
|
|
|
#endif
|
|
|
|
|
|
|
|
if BUILD_PFS
|
|
|
|
PFS_DIR = ad_pfs
|
|
|
|
PFS_LIB = ad_pfs/libadio_pfs.la
|
|
|
|
else
|
|
|
|
PFS_DIR =
|
|
|
|
PFS_LIB =
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_PIOFS
|
|
|
|
PIOFS_DIR = ad_piofs
|
|
|
|
PIOFS_LIB = ad_piofs/libadio_piofs.la
|
|
|
|
else
|
|
|
|
PIOFS_DIR =
|
|
|
|
PIOFS_LIB =
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_PVFS
|
|
|
|
PVFS_DIR = ad_pvfs
|
|
|
|
PVFS_LIB = ad_pvfs/libadio_pvfs.la
|
|
|
|
else
|
|
|
|
PVFS_DIR =
|
|
|
|
PVFS_LIB =
|
|
|
|
endif
|
2004-07-24 17:06:21 +00:00
|
|
|
|
2004-09-14 10:55:10 +00:00
|
|
|
if BUILD_SFS
|
|
|
|
SFS_DIR = ad_sfs
|
|
|
|
SFS_LIB = ad_sfs/libadio_sfs.la
|
|
|
|
else
|
|
|
|
SFS_DIR =
|
|
|
|
SFS_LIB =
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_TESTFS
|
|
|
|
TESTFS_DIR = ad_testfs
|
|
|
|
TESTFS_LIB = ad_testfs/libadio_testfs.la
|
|
|
|
else
|
|
|
|
TESTFS_DIR =
|
|
|
|
TESTFS_LIB =
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_UFS
|
|
|
|
UFS_DIR = ad_ufs
|
|
|
|
UFS_LIB = ad_ufs/libadio_ufs.la
|
|
|
|
else
|
|
|
|
UFS_DIR =
|
|
|
|
UFS_LIB =
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_XFS
|
|
|
|
XFS_DIR = ad_xfs
|
|
|
|
XFS_LIB = ad_xfs/libadio_xfs.la
|
|
|
|
else
|
|
|
|
XFS_DIR =
|
|
|
|
XFS_LIB =
|
|
|
|
endif
|
|
|
|
|
|
|
|
SUBDIRS = common include \
|
|
|
|
$(HFS_DIR) $(NFS_DIR) $(NTFS_DIR) $(PFS_DIR) $(PIOFS_DIR) \
|
|
|
|
$(PVFS_DIR) $(SFS_DIR) $(TESTFS_DIR) $(UFS_DIR) $(XFS_DIR)
|
|
|
|
DIST_SUBDIRS = common include \
|
|
|
|
ad_hfs ad_nfs ad_ntfs ad_pfs ad_piofs ad_pvfs \
|
2004-10-28 19:32:23 +00:00
|
|
|
ad_sfs ad_testfs ad_ufs ad_xfs
|
2004-09-14 10:55:10 +00:00
|
|
|
|
|
|
|
# Library
|
|
|
|
noinst_LTLIBRARIES = libadio.la
|
|
|
|
libadio_la_SOURCES =
|
|
|
|
libadio_la_LIBADD = \
|
|
|
|
common/libadio_common.la \
|
|
|
|
$(HFS_LIB) $(NFS_LIB) $(NTFS_LIB) $(PFS_LIB) $(PIOFS_LIB) \
|
|
|
|
$(PVFS_LIB) $(SFS_LIB) $(TESTFS_LIB) $(UFS_LIB) $(XFS_LIB)
|
|
|
|
libadio_la_DEPENDENCIES = \
|
2004-09-23 10:59:38 +00:00
|
|
|
$(libadio_la_LIBADD)
|
|
|
|
|