bin_PROGRAMS = ior if USE_CAPS bin_PROGRAMS += IOR endif ior_SOURCES = ior_CPPFLAGS = ior_LDFLAGS = ior_LDADD = ior_SOURCES += ior.c utilities.c parse_options.c ior_SOURCES += ior.h utilities.h parse_options.h aiori.h iordef.h if USE_HDFS_AIORI # TBD: figure out how to find the appropriate -I and -L dirs. Maybe we can # get them from the corresponding bin/ dir in $PATH, or pick an # environment var to use (and set it in modulefiles), or provide a # config-flag, to set a variable we use here. ior_SOURCES += aiori-HDFS.c ior_CPPFLAGS += -I/opt/hadoop-2.2.0/include ior_LDFLAGS += -L/opt/hadoop-2.2.0/lib/native ior_LDADD += -lhdfs endif if USE_HDF5_AIORI ior_SOURCES += aiori-HDF5.c ior_LDADD += -lhdf5 -lz endif if USE_MPIIO_AIORI ior_SOURCES += aiori-MPIIO.c endif if USE_NCMPI_AIORI ior_SOURCES += aiori-NCMPI.c ior_LDADD += -lpnetcdf endif if USE_PLFS_AIORI # TBD: modulefiles don't add PLFS_VER to env, but you can find it embedded in # $PLFS_HOME. configure.ac should extract this for us. Then we should # add -D... to ior_CPPFLAGS, here. Then aiori-PLFS.c can conditionalize # compilation of calls that vary according to PLFS version. ior_SOURCES += aiori-PLFS.c ior_LDADD += -lplfs endif if USE_POSIX_AIORI ior_SOURCES += aiori-POSIX.c endif if USE_S3_AIORI ior_SOURCES += aiori-S3.c if AWS4C_DIR ior_CPPFLAGS += $(AWS4C_CPPFLAGS) ior_LDFLAGS += $(AWS4C_LDFLAGS) endif ior_LDADD += -lcurl ior_LDADD += -lxml2 ior_LDADD += -laws4c ior_LDADD += -laws4c_extra endif IOR_SOURCES = $(ior_SOURCES) IOR_LDADD = $(ior_LDADD) IOT_CPPFLAGS = $(ior_CPPFLAGS)