summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/commence.in4
-rw-r--r--config/conclude.in5
-rw-r--r--config/depend.in2
3 files changed, 6 insertions, 5 deletions
diff --git a/config/commence.in b/config/commence.in
index 72fb45c..6ec3133 100644
--- a/config/commence.in
+++ b/config/commence.in
@@ -33,8 +33,8 @@ bindir=@bindir@
libdir=@libdir@
includedir=@includedir@
-# The default is to build the programs which in turn builds the lib.
-all: progs
+# The default is to build the library and/or programs
+all: lib tests progs
# The following rules insure that the Makefile is up-to-date by rerunning
# various autoconf components (although not all versions of make assume
diff --git a/config/conclude.in b/config/conclude.in
index 39da813..db45f5b 100644
--- a/config/conclude.in
+++ b/config/conclude.in
@@ -20,7 +20,8 @@ TAGS: $(LIB_SRC)
-etags $(LIB_SRC)
# Runs each test in order, passing $(TEST_FLAGS) to the program.
-test _test: $(PROGS)
+tests: $(TESTS)
+test _test: tests
@for test in $(TESTS) dummy; do \
if test $$test != dummy; then \
echo "Testing $$test $(TEST_FLAGS)"; \
@@ -72,7 +73,7 @@ mostlyclean:
# is part of the HDF5 distribution.
#
clean: mostlyclean
- $(RM) $(LIB) $(PROGS) $(CLEAN)
+ $(RM) $(LIB) $(TESTS) $(PROGS) $(CLEAN)
# Like `clean' except it also removes files that were created by running
# configure. If you've unpacked the source and built HDF5 without creating
diff --git a/config/depend.in b/config/depend.in
index 2bd98af..07d0245 100644
--- a/config/depend.in
+++ b/config/depend.in
@@ -27,7 +27,7 @@ dep depend: .distdep
touch .distdep
-perl -p $(ROOT)/bin/distdep .depend >.distdep
-.depend: $(LIB_SRC) $(PROG_SRC)
+.depend: $(LIB_SRC) $(TEST_SRC) $(PROG_SRC)
@touch .depend
@for dep in $? dummy; do \
if [ $$dep != "dummy" ]; then \