diff options
Diffstat (limited to 'tools/Makefile.in')
-rw-r--r-- | tools/Makefile.in | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/tools/Makefile.in b/tools/Makefile.in index d6840bf..9306e3b 100644 --- a/tools/Makefile.in +++ b/tools/Makefile.in @@ -11,15 +11,13 @@ CPPFLAGS=-I../src -I. @CPPFLAGS@ LIBS=../src/libhdf5.a libh5tools.a @LIBS@ -# Tools test targets. -# Use /bin/sh to use because the test is actually a shell script file. -TESTS=testh5dump -RUNTEST=/bin/sh +# Test programs and scripts. +TEST_PROGS= +TEST_SCRIPTS=testh5dump.sh @TESTH5TOH4@ -# These are our main targets: library, programs, and tests +# These are our main targets: library and tools. LIB=libh5tools.a PROGS=h5debug h5import h5ls h5repart h5dump @H5TOH4@ -TESTS=@TESTH5TOH4@ # Source and object files for the library. LIB_SRC=h5tools.c @@ -31,7 +29,7 @@ PROG_OBJ=$(PROG_SRC:.c=.o) PRIVATE_HDR=h5tools.h # Source and object files for the tests -TEST_SRC=testh5toh4.c +TEST_SRC= TEST_OBJ=$(TEST_SRC:.c=.o) # Programs have to be built before they can be tested! @@ -56,13 +54,4 @@ h5repart: h5repart.o h5dump: h5dump.o h5dumputil.o $(CC) $(CFLAGS) -o $@ h5dump.o h5dumputil.o $(LDFLAGS) $(LIBS) -# How to build the tests. The testh5dump is a shell script that we -# copy from its permanent home to a temporary name because `make -# clean' will remove the temporary name. -testh5dump: testh5dump.sh - cp testh5dump.sh $@ - -testh5toh4: testh5toh4.o - $(CC) $(CFLAGS) -o $@ testh5toh4 $(LDFLAGS) $(LIBS) - @CONCLUDE@ |