1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
#############################################################################
## Setup for building programs ##
#############################################################################
include $(top_srcdir)/config/commence.am
## Setup the different includes and preprocessor #defines we need.
test_INCLUDES=-I$(top_srcdir)/hdf/src \
-I$(top_srcdir)/mfhdf/libsrc \
-I$(top_builddir)/mfhdf/libsrc
DEFINES=-DHDF
AM_CPPFLAGS=$(test_INCLUDES) $(DEFINES)
#############################################################################
## Testing ##
#############################################################################
TEST_PROG = cdftest hdfnctest hdftest
TEST_SCRIPT = testmfhdf.sh
check_PROGRAMS = cdftest hdfnctest hdftest
check_SCRIPTS = testmfhdf.sh
cdftest_SOURCES = cdftest.c
cdftest_LDADD = $(LIBMFHDF) $(LIBHDF) @LIBS@
hdfnctest_SOURCES = hdfnctest.c tutils.c tncvargetfill.c tunlim.c \
tncunlim.c
hdfnctest_LDADD = $(LIBMFHDF) $(LIBHDF) @LIBS@
hdftest_SOURCES = hdftest.c tutils.c tchunk.c tcomp.c tcoordvar.c \
tdim.c temptySDSs.c tattributes.c texternal.c tfile.c \
tmixed_apis.c tnetcdf.c trank0.c tsd.c tsdsprops.c \
tszip.c tattdatainfo.c tdatainfo.c tdatasizes.c
hdftest_LDADD = $(LIBMFHDF) $(LIBHDF) @LIBS@
#############################################################################
## And the cleanup ##
#############################################################################
CHECK_CLEANFILES += *.new *.hdf *.cdf *.cdl netcdf.h This* onedimmultivars.nc \
onedimonevar.nc multidimvar.nc SD_externals
DISTCLEANFILES =
include $(top_srcdir)/config/conclude.am
|