Commit 253e5d5d authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor fix for build withing the testsuite, which does not include

event support in the build (tmcd links against the event lib now).
parent 2ec7c83d
......@@ -14,8 +14,9 @@ all: tmcd tmcc tmcd.restart findif
include $(TESTBED_SRCDIR)/GNUmakerules
CFLAGS += -O -g -DUDP -I${OBJDIR} -I/usr/local/include
ifeq ($(EVENTSYS),1)
TMCDCFLAGS = $(CFLAGS) `elvin-config --cflags vin4c` \
TMCDCFLAGS = `elvin-config --cflags vin4c` \
-I$(TESTBED_SRCDIR)/event/lib -DEVENTSYS
TMCDLIBS = ${OBJDIR}/event/lib/libevent.a \
${OBJDIR}/lib/libtb/libtb.a
......@@ -24,7 +25,7 @@ endif
tmcd: tmcd.c ${TMCDLIBS} decls.h
$(CC) $(TMCDCFLAGS) -o tmcd $< \
$(CC) $(CFLAGS) $(TMCDCFLAGS) -o tmcd $< \
$(LFLAGS) -L/usr/local/lib/mysql -lmysqlclient \
$(ELVINFLAGS) $(TMCDLDFLAGS) $(TMCDLIBS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment