diff options
author | lrknox <lrknox> | 2017-04-21 19:32:45 (GMT) |
---|---|---|
committer | lrknox <lrknox> | 2017-04-21 19:32:45 (GMT) |
commit | 7bd516f2ead21e8470cc25c0b664ad6b56c723a0 (patch) | |
tree | a5e18ecf1179c161f3d426c29b3a272df67aebd2 /tools/test/h5repack | |
parent | 6ef69b7b1748a48c236c60f45a1ee590de7b5194 (diff) | |
download | hdf5-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/h5repack')
-rw-r--r-- | tools/test/h5repack/Makefile.am | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/test/h5repack/Makefile.am b/tools/test/h5repack/Makefile.am index 375df47..5080222 100644 --- a/tools/test/h5repack/Makefile.am +++ b/tools/test/h5repack/Makefile.am @@ -47,16 +47,22 @@ h5repacktst_SOURCES=h5repacktst.c if HAVE_SHARED_CONDITIONAL # Build it as shared library if configure is enabled for shared library. - lib_LTLIBRARIES=libdynlibadd.la libdynlibvers.la + dyn_LTLIBRARIES=libdynlibadd.la libdynlibvers.la libdynlibadd_la_SOURCES=dynlib_rpk.c libdynlibvers_la_SOURCES=dynlib_vrpk.c libdynlibadd_la_LDFLAGS = -avoid-version -module -shared -export-dynamic libdynlibvers_la_LDFLAGS = -avoid-version -module -shared -export-dynamic +libdynlibadd.la: $(libdynlibadd_la_OBJECTS) $(libdynlibadd_la_DEPENDENCIES) $(EXTRA_libdynlibadd_la_DEPENDENCIES) + $(AM_V_CCLD)$(libdynlibadd_la_LINK) $(am_libdynlibadd_la_rpath) $(libdynlibadd_la_OBJECTS) $(libdynlibadd_la_LIBADD) +libdynlibvers.la: $(libdynlibvers_la_OBJECTS) $(libdynlibvers_la_DEPENDENCIES) $(EXTRA_libdynlibvers_la_DEPENDENCIES) + $(AM_V_CCLD)$(libdynlibvers_la_LINK) $(am_libdynlibvers_la_rpath) $(libdynlibvers_la_OBJECTS) $(libdynlibvers_la_LIBADD) + install-exec-hook: - $(RM) $(DESTDIR)$(libdir)/*dynlib* + $(RM) $(DESTDIR)$(dyndir)/*dynlib* endif + # Temporary files. *.h5 are generated by h5repack. They should # copied to the testfiles/ directory if update is required. CHECK_CLEANFILES+=*.h5 *.bin testfiles/h5diff_attr1.h5 testfiles/tfamily*.h5 |