link correctly and run the producer test
authorAleš Křenek <ljocha@ics.muni.cz>
Mon, 27 Sep 2004 11:39:16 +0000 (11:39 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Mon, 27 Sep 2004 11:39:16 +0000 (11:39 +0000)
org.glite.lb.client/Makefile

index ab7d686..43c975e 100644 (file)
@@ -142,12 +142,13 @@ default: all
 
 compile all: ${LIB} ${THRLIB} ${TOOLS} logevent ${PLUSLIB} ${THRPLUSLIB}
 
-check: check.producer
+check: compile check.producer
 
 check.producer: producer_test
+       ./producer_test
 
 producer_test: producer_test.o prod_proto_test.o
-       ${LINKXX} -o $@ ${LIB} ${TEST_LIBS} $+
+       ${LINKXX} -o $@ ${LIB} ${TEST_LIBS} $+ ${EXT_LIB} ${GLOBUS_LIBS}
 
 producer_test.o: %.o: %.cpp
        ${CXX} -c ${CXXFLAGS} ${TEST_INC} $<