mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r1883] Added libh5test.a links so that parallel tests may make use of routines
in the other test library.
This commit is contained in:
parent
ecd36aa697
commit
9de79f7952
@ -13,6 +13,7 @@ srcdir=@srcdir@
|
|||||||
## to the library list.
|
## to the library list.
|
||||||
CPPFLAGS=-I. -I$(srcdir) -I../src -I$(top_srcdir)/src @CPPFLAGS@
|
CPPFLAGS=-I. -I$(srcdir) -I../src -I$(top_srcdir)/src @CPPFLAGS@
|
||||||
LIBHDF5=../src/libhdf5.la
|
LIBHDF5=../src/libhdf5.la
|
||||||
|
LIBH5TEST=../test/libh5test.la
|
||||||
|
|
||||||
## These tests are parallel
|
## These tests are parallel
|
||||||
RUNTEST=$(RUNPARALLEL)
|
RUNTEST=$(RUNPARALLEL)
|
||||||
@ -30,10 +31,10 @@ TEST_OBJ=$(TEST_SRC:.c=.lo)
|
|||||||
TEST_HDR=testphdf5.h
|
TEST_HDR=testphdf5.h
|
||||||
|
|
||||||
## How to build the tests... They all depend on the hdf5 library
|
## How to build the tests... They all depend on the hdf5 library
|
||||||
$(TEST_PROGS): ../src/libhdf5.la
|
$(TEST_PROGS): $(LIBHDF5) $(LIBH5TEST)
|
||||||
|
|
||||||
testphdf5: $(TEST_OBJ)
|
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)
|
$(TEST_OBJ): $(TEST_HDR)
|
||||||
@CONCLUDE@
|
@CONCLUDE@
|
||||||
|
Loading…
Reference in New Issue
Block a user