diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2017-01-18 20:05:25 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2017-01-18 20:05:25 (GMT) |
commit | 35f0e16e34e5f7691a39693ee4da4e67b1bed69b (patch) | |
tree | 13f86cdc18a01077c99358225b7366d3e65f02d9 /tools/h5ls/Makefile.am | |
parent | d5f8bca8b6b7635c6604032239026e5de21f3951 (diff) | |
download | hdf5-35f0e16e34e5f7691a39693ee4da4e67b1bed69b.zip hdf5-35f0e16e34e5f7691a39693ee4da4e67b1bed69b.tar.gz hdf5-35f0e16e34e5f7691a39693ee4da4e67b1bed69b.tar.bz2 |
HDFFV-9994 port changes from develop.
CMake folder changes brought up to standard.
Diffstat (limited to 'tools/h5ls/Makefile.am')
-rw-r--r-- | tools/h5ls/Makefile.am | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/h5ls/Makefile.am b/tools/h5ls/Makefile.am index 408ce93..bee5d79 100644 --- a/tools/h5ls/Makefile.am +++ b/tools/h5ls/Makefile.am @@ -27,6 +27,11 @@ AM_CPPFLAGS+=-I$(top_srcdir)/src -I$(top_srcdir)/tools/lib TEST_SCRIPT=testh5ls.sh check_SCRIPTS=$(TEST_SCRIPT) SCRIPT_DEPEND=h5ls$(EXEEXT) +if HAVE_SHARED_CONDITIONAL +if USE_PLUGINS_CONDITIONAL + TEST_SCRIPT += h5ls_plugin.sh +endif +endif # This is our main target, the h5ls tool bin_PROGRAMS=h5ls @@ -37,4 +42,15 @@ h5ls_LDFLAGS = $(LT_STATIC_EXEC) $(AM_LDFLAGS) # All programs depend on the hdf5 and h5tools libraries LDADD=$(LIBH5TOOLS) $(LIBHDF5) +if HAVE_SHARED_CONDITIONAL + # Build it as shared library if configure is enabled for shared library. + lib_LTLIBRARIES=libdynlibls.la + libdynlibls_la_SOURCES=dynlib_ls.c + +install-exec-hook: + $(RM) $(DESTDIR)$(libdir)/*dynlib* +endif + +DISTCLEANFILES=h5ls_plugin.sh + include $(top_srcdir)/config/conclude.am |