typo
authorJan Pospíšil <honik@ntc.zcu.cz>
Tue, 31 Aug 2004 14:11:00 +0000 (14:11 +0000)
committerJan Pospíšil <honik@ntc.zcu.cz>
Tue, 31 Aug 2004 14:11:00 +0000 (14:11 +0000)
org.glite.lb.logger/Makefile
org.glite.lb.logger/test/logd_proto_test.c

index f1e9732..e1594f6 100644 (file)
@@ -35,9 +35,11 @@ DEBUG:=-g -O0
 CFLAGS:=${DEBUG} \
        -I${stagedir}/include -I${top_srcdir}/src \
        -D_GNU_SOURCE \
+       ${COVERAGE_FLAGS} \
        ${VERSION}
 
-LDFLAGS:=-L${stagedir}/lib
+LDFLAGS:=-L${stagedir}/lib \
+       ${COVERAGE_FLAGS} 
 LINK:=libtool --mode=link ${CC} ${LDFLAGS}
 LINKXX:=libtool --mode=link ${CXX} -rpath ${stagedir}/lib ${LDFLAGS} 
 INSTALL:=libtool --mode=install install
@@ -88,7 +90,7 @@ stage: compile
 check: check.ll
 
 check.ll: logd_proto_test.o ll_test.o
-       ${LINKXX} -o $@ ${COMMON_LIB}_${nothrflavour} ${EXT_LIBS} ${GLOBUS_LIBS} ${TEST_LIBS} $<
+       ${LINKXX} -o $@ ${COMMON_LIB}_${nothrflavour} ${EXT_LIBS} ${GLOBUS_LIBS} ${TEST_LIBS} logd_proto_test.o ll_test.o
        ./check.ll
 
 dist: distsrc distbin
@@ -121,4 +123,4 @@ logd_proto_test.o: %.o: %.c
        ${CC} ${CFLAGS} ${GLOBUSINC} -c $< -o $@
 
 ll_test.o: ll_test.cpp
-       ${CXX} ${CFLAGS} -c $< -0 $@
\ No newline at end of file
+       ${CXX} ${CFLAGS} ${TEST_INC} -c $< -o $@
index e8eb527..95e64a7 100644 (file)
@@ -8,14 +8,14 @@
 #include <syslog.h>
 #include <fcntl.h>
 
+#define edg_wll_gss_read_full(a,b,c,d,e,f)  test_edg_wll_gss_read_full(a,b,c,d,e,f)
+#define edg_wll_GssConnection               int
+
 #include "logd_proto.h"
 #include "glite/lb/context-int.h"
 #include "glite/lb/escape.h"
 #include "glite/lb/events_parse.h"
 
-#define edg_wll_gss_read_full(a,b,c,d,e,f)  test_edg_wll_gss_read_full(a,b,c,d,e,f)
-#define edg_wll_GssConnection               int
-
 int
 test_edg_wll_gss_read_full(int *fd,
                           void *buf,