Commit 481372cf authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor changes in case we ever figure out linux build.

parent afe199e7
......@@ -27,7 +27,12 @@ SCFLAGS = $(CFLAGS) `elvin-config --cflags vin4c`
TCFLAGS = $(CFLAGS) `elvin-config --cflags vin4mt`
# Special CFLAGS w/o warnings, for SWIG-generated code
CFLAGS_NOWARN += -O2 -g -static -I. -I$(TESTBED_SRCDIR)/lib/libtb
CFLAGS_NOWARN += `elvin-config --cflags vin4mt`
CFLAGS_NOWARN += `elvin-config --cflags vin4c`
ifeq ($(SYSTEM),Linux)
PCORE = -I/usr/lib/perl5/5.6.1/i386-linux/CORE
else
PCORE = -I/usr/libdata/perl/5.00503/mach/CORE
endif
LDFLAGS += -L${OBJDIR}/lib/libtb
......@@ -69,7 +74,7 @@ swig-wrappers: event.i event.c event.pm.tail
mv event.pm $(SRCDIR)
event_wrap.o: $(SRCDIR)/event_wrap.c
$(CC) -c $(CFLAGS_NOWARN) -I/usr/libdata/perl/5.00503/mach/CORE $<
$(CC) -c $(CFLAGS_NOWARN) $(PCORE) $<
event.so: event.o event_wrap.o util.o
ld -shared $^ $(OBJDIR)/lib/libtb/libtb.a \
......
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