summaryrefslogtreecommitdiffstats
path: root/tools/h5dump/Makefile.in
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2002-10-19 20:59:19 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2002-10-19 20:59:19 (GMT)
commit16b3cfabba29004470312ede6b107bb76e7a1451 (patch)
treeadeec53f193b0b0b3375e0c7ecb48402b4f7614c /tools/h5dump/Makefile.in
parentc6c7a21bf0323bef8add000a4fe92a8f4a79e6f2 (diff)
downloadhdf5-16b3cfabba29004470312ede6b107bb76e7a1451.zip
hdf5-16b3cfabba29004470312ede6b107bb76e7a1451.tar.gz
hdf5-16b3cfabba29004470312ede6b107bb76e7a1451.tar.bz2
[svn-r6017] Description:
Renamed h5dumptst.c to h5dumpgentest.c. Added a test to run h5dumpgentest to make it can run without error. Note that this does not verify if it is generating the correct test files. Platforms tested: Tested h5committest {arabica (fortran), eirene (fortran, C++) modi4 (parallel, fortran)}? YES Misc. update: Update MANIFEST if you add or remove any file. YES
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@