From 0dda54756fffbe95280d92349198faaf13b4baa7 Mon Sep 17 00:00:00 2001 From: bde Date: Tue, 3 Apr 2001 10:08:51 +0000 Subject: 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). --- lib/libpcap/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/libpcap/Makefile') 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 -- cgit v1.1