From: Aleš Křenek Date: Mon, 27 Sep 2004 08:16:33 +0000 (+0000) Subject: Link all required libraries for unit tests X-Git-Tag: glite-lb-common_R_0_2_0~202 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=cd0a65f5ce632541662771f953e38c9cc2c5c77f;p=jra1mw.git Link all required libraries for unit tests --- diff --git a/org.glite.lb.common/Makefile b/org.glite.lb.common/Makefile index c531b8f..0a2b0c2 100644 --- a/org.glite.lb.common/Makefile +++ b/org.glite.lb.common/Makefile @@ -50,6 +50,8 @@ ARES_LIBS:=-L${ares_prefix}/lib -lares LDFLAGS:=-L${stagedir}/lib \ ${COVERAGE_FLAGS} +EXT_LIBS:= ${EXPAT_LIBS} ${ARES_LIBS} ${GLOBUS_LIBS} + # breaks linking when not installed in /opt, /home/dimeglio etc. # ${GLITE_LIBS} \ # ${GLOBUS_LIBS} \ @@ -114,7 +116,7 @@ check.parse: test_parse test_parse: parse.cpp ${CXX} -c ${CFLAGS} ${TEST_INC} $< - ${LINKXX} -o test_parse parse.o ${LTLIB} ${TEST_LIBS} + ${LINKXX} -o test_parse parse.o ${LTLIB} ${TEST_LIBS} ${EXT_LIBS} check.gss: test_gss # ./test_gss @@ -124,10 +126,10 @@ check.il: il_test ./il_test test_gss: test_gss.o - ${LINKXX} -o $@ test_gss.o ${LTLIB} ${TEST_LIBS} + ${LINKXX} -o $@ test_gss.o ${LTLIB} ${TEST_LIBS} ${EXT_LIBS} il_test: il_test.o il_int_test.o il_string_test.o - ${LINKXX} -o $@ ${LTLIB} ${TEST_LIBS} $+ + ${LINKXX} -o $@ $+ ${LTLIB} ${TEST_LIBS} ${EXT_LIBS} test_coverage: -mkdir coverage