Skip to content
GitLab
Menu
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
03d6c6aa
Commit
03d6c6aa
authored
Aug 19, 2009
by
Mike Hibler
Browse files
Drop linuxthreads for FBSD7 and beyond.
parent
b7081e3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/pcapper/GNUmakefile.in
View file @
03d6c6aa
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
3, 2005, 2006, 2007
University of Utah and the Flux Group.
# Copyright (c) 2000-200
9
University of Utah and the Flux Group.
# All rights reserved.
#
...
...
@@ -16,8 +16,25 @@ all: pcapper
include $(TESTBED_SRCDIR)/GNUmakerules
PTHREADCFLAGS = -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads
WITH_LTHREADS = 0
ifeq ($(SYSTEM),FreeBSD)
FBSDREL := $(shell uname -r | sed -e 's/\([^-][^-]*\)-.*/\1/')
FBSDMAJ := $(basename $(FBSDREL))
ifneq ($(FBSDMAJ),7)
ifneq ($(FBSDMAJ),8)
WITH_LTHREADS = 1
endif
endif
endif
ifeq ($(WITH_LTHREADS),1)
PTHREADCFLAGS += -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads
PTHREADLIBS = -L/usr/local/lib -llthread -llgcc_r
else
PTHREADCFLAGS = -D_THREAD_SAFE
PTHREADLIBS = -lpthread
endif
ELVINFLAGS = -I/usr/local/include
ELVINLIBS = -L/usr/local/lib -lpubsub -lm
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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