Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
f8db8b0b
Commit
f8db8b0b
authored
Oct 06, 2004
by
Russ Fish
Browse files
Better CygWin fix, avoids editing the elvin-config script.
parent
49030966
Changes
1
Hide whitespace changes
Inline
Side-by-side
event/trafgen/GNUmakefile.in
View file @
f8db8b0b
...
...
@@ -45,7 +45,8 @@ CFLAGS += -DUSEEVENTS
LDFLAGS += -L../lib -L${OBJDIR}/lib/libtb
LIBS += -levent -ltb -lcrypto
LIBS += `elvin-config --libs vin4c`
# Expand the elvin-config list now so it can be filtered below.
LIBS += $(shell elvin-config --libs vin4c)
SYSTEM := $(shell uname -s)
...
...
@@ -60,6 +61,13 @@ ifeq ($(SYSTEM),CYGWIN_NT-5.1)
# Cygwin on Windows XP - resembles the Linux case.
CFLAGS += -DCYGWIN -DLINUX
YCFLAGS += -I. -I$(TGSRCDIR) -DUSEEVENTS -DCYGWIN -DLINUX
# Get rid of the trailing -c from elvin-config. It causes errors like:
# fu000001.o(.idata$3+0xc): undefined reference to `_libc_iname'
# This is only necessary if we have to add libraries AFTER the elvin args above.
LIBS := $(filter-out -lc,$(LIBS))
# Add Flex lib. Has to be at the end.
LIBS += -lfl
endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment