summaryrefslogtreecommitdiffstats
path: root/lib/libpcap
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2001-04-03 10:08:51 +0000
committerbde <bde@FreeBSD.org>2001-04-03 10:08:51 +0000
commit0dda54756fffbe95280d92349198faaf13b4baa7 (patch)
tree93b7f00e42566e217045722bf5a2f6c1cd2744cb /lib/libpcap
parent0caa94f79f307d2647f24ec2adca3564bd5de914 (diff)
downloadFreeBSD-src-0dda54756fffbe95280d92349198faaf13b4baa7.zip
FreeBSD-src-0dda54756fffbe95280d92349198faaf13b4baa7.tar.gz
Fixed world breakage in previous commit (config.h was inaccessible
except in the unusual case where ${.OBJDIR} == ${.CURDIR}). Fixed nearby style bugs (the DEFS variable had rotted to be just an obfuscation).
Diffstat (limited to 'lib/libpcap')
-rw-r--r--lib/libpcap/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile
index 5e52247..f18f899 100644
--- a/lib/libpcap/Makefile
+++ b/lib/libpcap/Makefile
@@ -9,13 +9,11 @@ SRCS= grammar.y tokdefs.h pcap-bpf.c \
MAN= pcap.3
CLEANFILES=tokdefs.h version.c
-DEFS= -DHAVE_CONFIG_H
+CFLAGS+=-DHAVE_CONFIG_H -Dyylval=pcap_lval -I${.CURDIR} -I.
.if !defined(NOINET6)
-DEFS+= -DINET6
+CFLAGS+=-DINET6
.endif
-CFLAGS+=-I. -Dyylval=pcap_lval ${DEFS}
-
SHLIB_MAJOR=2
SHLIB_MINOR=5
OpenPOWER on IntegriCloud