diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2019-06-12 15:21:41 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2019-06-12 15:21:41 (GMT) |
commit | 5385f032dd5aaf9a09c2a86374c0d3a826e41010 (patch) | |
tree | 307786b2639ee1a7500b4f695213bd6201deae74 /hl/tools/gif2h5/Makefile.am | |
parent | 54a07f556cd2f3556f8c7946fe7905bc658a11aa (diff) | |
download | hdf5-5385f032dd5aaf9a09c2a86374c0d3a826e41010.zip hdf5-5385f032dd5aaf9a09c2a86374c0d3a826e41010.tar.gz hdf5-5385f032dd5aaf9a09c2a86374c0d3a826e41010.tar.bz2 |
Modified Makefile.ams for h5repack, h5watch and gif2h5 to allow
disabling tests.
Moved h5cc.in from tools/src/misc to src directory to always create h5cc
whether or not tools are enabled.
Added configuration status of tools and tests to libhdf5.settings.
Diffstat (limited to 'hl/tools/gif2h5/Makefile.am')
-rw-r--r-- | hl/tools/gif2h5/Makefile.am | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/hl/tools/gif2h5/Makefile.am b/hl/tools/gif2h5/Makefile.am index d30d66a..9ffde58 100644 --- a/hl/tools/gif2h5/Makefile.am +++ b/hl/tools/gif2h5/Makefile.am @@ -23,11 +23,7 @@ AM_CPPFLAGS+=-I$(top_srcdir)/src -I$(top_srcdir)/tools/lib -I$(top_srcdir)/hl/sr # These are our main targets, the tools -TEST_SCRIPT=h52giftest.sh -check_SCRIPTS=$(TEST_SCRIPT) - bin_PROGRAMS=gif2h5 h52gif -noinst_PROGRAMS=h52gifgentst # Add h52gif and gif2h5 specific linker flags here h52gif_LDFLAGS = $(LT_STATIC_EXEC) $(AM_LDFLAGS) @@ -37,12 +33,18 @@ gif2h5_SOURCES=gif2hdf.c gif2mem.c decompress.c gifread.c writehdf.c h52gif_SOURCES=hdf2gif.c hdfgifwr.c -h52gifgentst_SOURCES=h52gifgentst.c # Programs all depend on the hdf5 library, the tools library, and the HL # library. LDADD=$(LIBH5_HL) $(LIBH5TOOLS) $(LIBHDF5) +if BUILD_TESTS_CONDITIONAL + TEST_SCRIPT=h52giftest.sh + check_SCRIPTS=$(TEST_SCRIPT) + noinst_PROGRAMS=h52gifgentst + h52gifgentst_SOURCES=h52gifgentst.c +endif + CHECK_CLEANFILES+=*.h5 CHECK_CLEANFILES+=*.gif |