summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1999-12-17 14:54:30 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1999-12-17 14:54:30 (GMT)
commit9de79f7952a157fa176ec356409ec57279e879ae (patch)
tree905ee9faa2783e676577cd50eed767365d7bd334
parentecd36aa6975ef906227f156e19d24d645822cc0a (diff)
downloadhdf5-9de79f7952a157fa176ec356409ec57279e879ae.zip
hdf5-9de79f7952a157fa176ec356409ec57279e879ae.tar.gz
hdf5-9de79f7952a157fa176ec356409ec57279e879ae.tar.bz2
[svn-r1883] Added libh5test.a links so that parallel tests may make use of routines
in the other test library.
-rw-r--r--testpar/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/testpar/Makefile.in b/testpar/Makefile.in
index cdffca2..4ead86d 100644
--- a/testpar/Makefile.in
+++ b/testpar/Makefile.in
@@ -13,6 +13,7 @@ srcdir=@srcdir@
## to the library list.
CPPFLAGS=-I. -I$(srcdir) -I../src -I$(top_srcdir)/src @CPPFLAGS@
LIBHDF5=../src/libhdf5.la
+LIBH5TEST=../test/libh5test.la
## These tests are parallel
RUNTEST=$(RUNPARALLEL)
@@ -30,10 +31,10 @@ TEST_OBJ=$(TEST_SRC:.c=.lo)
TEST_HDR=testphdf5.h
## How to build the tests... They all depend on the hdf5 library
-$(TEST_PROGS): ../src/libhdf5.la
+$(TEST_PROGS): $(LIBHDF5) $(LIBH5TEST)
testphdf5: $(TEST_OBJ)
- @$(LT_LINK_EXE) $(CFLAGS) -o $@ $(TEST_OBJ) $(LIBHDF5) $(LDFLAGS) $(LIBS)
+ @$(LT_LINK_EXE) $(CFLAGS) -o $@ $(TEST_OBJ) $(LIBH5TEST) $(LIBHDF5) $(LDFLAGS) $(LIBS)
$(TEST_OBJ): $(TEST_HDR)
@CONCLUDE@