summaryrefslogtreecommitdiffstats
path: root/tools/h5dump/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5dump/Makefile.in')
-rw-r--r--tools/h5dump/Makefile.in16
1 files changed, 11 insertions, 5 deletions
diff --git a/tools/h5dump/Makefile.in b/tools/h5dump/Makefile.in
index 3484127..7ee29be 100644
--- a/tools/h5dump/Makefile.in
+++ b/tools/h5dump/Makefile.in
@@ -26,7 +26,7 @@ CPPFLAGS=-I. -I$(srcdir) -I$(top_builddir)/src -I$(top_srcdir)/src \
## Test programs and scripts.
##
-TEST_PROGS=
+TEST_PROGS=h5dumpgentest
TEST_SCRIPTS=$(srcdir)/testh5dump.sh
## These are our main targets: library and tools.
@@ -35,7 +35,7 @@ LIBTOOLS=../lib/libh5tools.la
LIBHDF5=$(top_builddir)/src/libhdf5.la
PUB_PROGS=h5dump
-PROGS=$(PUB_PROGS) $(TEST_PROGS) h5dumptst
+PROGS=$(PUB_PROGS) $(TEST_PROGS) h5dumpgentest
## Source and object files for the library; do not install
##
@@ -43,9 +43,15 @@ LIB_SRC=
LIB_OBJ=$(LIB_SRC:.c=.lo)
PUB_LIB=
+## Temporary files. *.h5 are generated by h5dumpgentest. They should
+## copied to the testfiles/ directory if update is required.
+MOSTLYCLEAN=*.h5
+
+CLEAN=
+
## Source and object files for programs...
##
-PROG_SRC=h5dump.c h5dumptst.c
+PROG_SRC=h5dump.c h5dumpgentest.c
PROG_OBJ=$(PROG_SRC:.c=.lo)
PRIVATE_HDR=h5dump.h
@@ -67,7 +73,7 @@ $(PROGS): $(LIBTOOLS) $(LIBHDF5)
h5dump: h5dump.lo
@$(LT_LINK_EXE) $(CFLAGS) -o $@ h5dump.lo $(LIBTOOLS) $(LIBHDF5) $(LDFLAGS) $(LIBS)
-h5dumptst: h5dumptst.lo
- @$(LT_LINK_EXE) $(CFLAGS) -o $@ h5dumptst.lo $(LIBTOOLS) $(LIBHDF5) $(LDFLAGS) $(LIBS)
+h5dumpgentest: h5dumpgentest.lo
+ @$(LT_LINK_EXE) $(CFLAGS) -o $@ h5dumpgentest.lo $(LIBTOOLS) $(LIBHDF5) $(LDFLAGS) $(LIBS)
@CONCLUDE@