diff options
author | Vailin Choi <vchoi@hdfgroup.org> | 2013-10-18 18:05:54 (GMT) |
---|---|---|
committer | Vailin Choi <vchoi@hdfgroup.org> | 2013-10-18 18:05:54 (GMT) |
commit | 0a9249a4016f327a3382a103d1b3d10cc6451a5a (patch) | |
tree | 1a9445c1e1994f81d87bae25ca4c9cc32d7722df /tools/h5repack/Makefile.am | |
parent | 8748d808b2420cf82dba22009d7f29b74a973993 (diff) | |
download | hdf5-0a9249a4016f327a3382a103d1b3d10cc6451a5a.zip hdf5-0a9249a4016f327a3382a103d1b3d10cc6451a5a.tar.gz hdf5-0a9249a4016f327a3382a103d1b3d10cc6451a5a.tar.bz2 |
[svn-r24330] Bring revisions 24098 - #24118 from trunk to revise_chunks.
h5committested.
Diffstat (limited to 'tools/h5repack/Makefile.am')
-rw-r--r-- | tools/h5repack/Makefile.am | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/tools/h5repack/Makefile.am b/tools/h5repack/Makefile.am index 96f0082..c52112b 100644 --- a/tools/h5repack/Makefile.am +++ b/tools/h5repack/Makefile.am @@ -28,11 +28,14 @@ TEST_SCRIPT=h5repack.sh TEST_PROG=h5repacktst noinst_PROGRAMS=testh5repack_detect_szip +SCRIPT_DEPEND=h5repack$(EXEEXT) +if HAVE_SHARED_CONDITIONAL + TEST_SCRIPT += h5repack_plugin.sh +endif + check_SCRIPTS=$(TEST_SCRIPT) check_PROGRAMS=$(TEST_PROG) -SCRIPT_DEPEND=h5repack$(EXEEXT) - # Our main target, h5repack tool bin_PROGRAMS=h5repack @@ -56,9 +59,18 @@ testh5repack_detect_szip_SOURCES=testh5repack_detect_szip.c # The h5repack.sh script needs h5repacktst to run first. h5repack.sh.chkexe_: h5repacktst.chkexe_ +if HAVE_SHARED_CONDITIONAL + # Build it as shared library if configure is enabled for shared library. + lib_LTLIBRARIES=libdynlibadd.la + libdynlibadd_la_SOURCES=$(top_srcdir)/test/dynlib1.c + +install-exec-hook: + $(RM) $(DESTDIR)$(libdir)/*dynlib* +endif + # Temporary files. *.h5 are generated by h5repack. They should # copied to the testfiles/ directory if update is required. CHECK_CLEANFILES+=*.h5 *.bin -DISTCLEANFILES=h5repack.sh +DISTCLEANFILES=h5repack.sh h5repack_plugin.sh include $(top_srcdir)/config/conclude.am |