summaryrefslogtreecommitdiffstats
path: root/config/conclude.am
diff options
context:
space:
mode:
authorlrknox <lrknox>2017-04-20 21:51:21 (GMT)
committerlrknox <lrknox>2017-04-20 21:51:21 (GMT)
commit6ef69b7b1748a48c236c60f45a1ee590de7b5194 (patch)
tree00f90d7985cb5fc1b96f519ad515fc8c72fa830c /config/conclude.am
parent4a70b0d7dc8dfff8e8ef58677b03d725d0d7b29a (diff)
downloadhdf5-6ef69b7b1748a48c236c60f45a1ee590de7b5194.zip
hdf5-6ef69b7b1748a48c236c60f45a1ee590de7b5194.tar.gz
hdf5-6ef69b7b1748a48c236c60f45a1ee590de7b5194.tar.bz2
Add targets for plugin test libraries to avoid linking to external libs.
Diffstat (limited to 'config/conclude.am')
-rw-r--r--config/conclude.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/config/conclude.am b/config/conclude.am
index 1ba56fb..1932170 100644
--- a/config/conclude.am
+++ b/config/conclude.am
@@ -18,13 +18,14 @@
## Textually included at the end of most HDF5 Makefiles.am.
## Contains build rules.
-# Automake needs to be taught how to build lib, progs, and tests targets.
+# Automake needs to be taught how to build lib, pkglib, progs and tests targets.
# These will be filled in automatically for the most part (e.g.,
# lib_LIBRARIES are built for lib target), but EXTRA_LIB, EXTRA_PROG, and
# EXTRA_TEST variables are supplied to allow the user to force targets to
-# be built at certain times.
+# be built at certain times.
LIB = $(lib_LIBRARIES) $(lib_LTLIBRARIES) $(noinst_LIBRARIES) \
$(noinst_LTLIBRARIES) $(check_LIBRARIES) $(check_LTLIBRARIES) $(EXTRA_LIB)
+PKGLIB = $(pkglib_LTLIBRARIES)
PROGS = $(bin_PROGRAMS) $(bin_SCRIPTS) $(noinst_PROGRAMS) $(noinst_SCRIPTS) \
$(EXTRA_PROG)
chk_TESTS = $(check_PROGRAMS) $(check_SCRIPTS) $(EXTRA_TEST)
@@ -36,6 +37,7 @@ AM_SH_LOG_FLAGS =
# lib/progs/tests targets recurse into subdirectories. build-* targets
# build files in this directory.
+build-pkglib: $(PKGLIB)
build-lib: $(LIB)
build-progs: $(LIB) $(PROGS)
build-tests: $(LIB) $(PROGS) $(chk_TESTS)
@@ -43,7 +45,7 @@ build-tests: $(LIB) $(PROGS) $(chk_TESTS)
# General rule for recursive building targets.
# BUILT_SOURCES contain targets that need to be built before anything else
# in the directory (e.g., for Fortran type detection)
-lib progs tests check-s check-p :: $(BUILT_SOURCES)
+lib pkglib progs tests check-s check-p :: $(BUILT_SOURCES)
@$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1;
@for d in X $(SUBDIRS); do \
if test $$d != X && test $$d != .; then \