1############################################################################# 2## Setup for building programs ## 3############################################################################# 4 5include $(top_srcdir)/config/commence.am 6 7## Setup the different includes and preprocessor #defines we need. 8hdfimport_INCLUDES=-I$(top_srcdir)/hdf/src \ 9 -I$(top_srcdir)/mfhdf/libsrc \ 10 -I$(top_builddir)/mfhdf/libsrc 11DEFINES=-DNDEBUG -DHDF 12AM_CPPFLAGS=$(hdfimport_INCLUDES) $(XDRINC) $(DEFINES) 13 14## Add hdfimport specific linker flags here 15hdfimport_LDFLAGS = $(LT_STATIC_EXEC) $(AM_LDFLAGS) 16 17############################################################################# 18## Libraries to link against ## 19############################################################################# 20 21LDADD = $(LIBMFHDF) $(LIBHDF) $(XDRLIB) @LIBS@ 22 23############################################################################# 24## Programs to build ## 25############################################################################# 26 27bin_PROGRAMS = hdfimport 28 29############################################################################# 30## Testing -- Here there be dragons. ## 31############################################################################# 32 33TEST_PROG = hdfimporttest 34TEST_SCRIPT = testutil.sh 35check_PROGRAMS = hdfimporttest gen_sds_floats 36check_SCRIPTS = testutil.sh 37 38include $(top_srcdir)/config/conclude.am 39