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
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
${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 $@
#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,