summaryrefslogtreecommitdiffstats
path: root/tools/test/h5diff
diff options
context:
space:
mode:
authorlrknox <lrknox>2017-04-21 19:32:45 (GMT)
committerlrknox <lrknox>2017-04-21 19:32:45 (GMT)
commit7bd516f2ead21e8470cc25c0b664ad6b56c723a0 (patch)
treea5e18ecf1179c161f3d426c29b3a272df67aebd2 /tools/test/h5diff
parent6ef69b7b1748a48c236c60f45a1ee590de7b5194 (diff)
downloadhdf5-7bd516f2ead21e8470cc25c0b664ad6b56c723a0.zip
hdf5-7bd516f2ead21e8470cc25c0b664ad6b56c723a0.tar.gz
hdf5-7bd516f2ead21e8470cc25c0b664ad6b56c723a0.tar.bz2
Our best effort to build dynamic plugin tests and not install them with
"make install". It seems the install-exec-hook doesn't remove the last to be installed.
Diffstat (limited to 'tools/test/h5diff')
-rw-r--r--tools/test/h5diff/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/test/h5diff/Makefile.am b/tools/test/h5diff/Makefile.am
index 16897c6..ad3f4ba 100644
--- a/tools/test/h5diff/Makefile.am
+++ b/tools/test/h5diff/Makefile.am
@@ -52,12 +52,15 @@ LDADD=$(LIBH5TOOLS) $(LIBHDF5)
if HAVE_SHARED_CONDITIONAL
# Build it as shared library if configure is enabled for shared library.
- lib_LTLIBRARIES=libdynlibdiff.la
+ dyn_LTLIBRARIES=libdynlibdiff.la
libdynlibdiff_la_SOURCES=dynlib_diff.c
libdynlibdiff_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
+libdynlibdiff.la: $(libdynlibdiff_la_OBJECTS) $(libdynlibdiff_la_DEPENDENCIES) $(EXTRA_libdynlibdiff_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(libdynlibdiff_la_LINK) $(am_libdynlibdiff_la_rpath) $(libdynlibdiff_la_OBJECTS) $(libdynlibdiff_la_LIBADD)
+
install-exec-hook:
- $(RM) $(DESTDIR)$(libdir)/*dynlib*
+ $(RM) $(DESTDIR)$(dyndir)/*dynlib*
endif
# Temporary files. *.h5 are generated by h5diff. They should