summaryrefslogtreecommitdiff
path: root/lib/libpcap/Makefile
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-11-22 12:44:30 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-11-22 12:44:30 +0000
commitfe590b681ca849e6c16390f781ac6ee1fe73722d (patch)
treea37e99c43b1a6476938c5b6d7028324bbb75f3c5 /lib/libpcap/Makefile
parentf9537799143cba2622f5a51b1aee348f49d68d2d (diff)
Broken use of .IMPSRC in non-inference rule context
Diffstat (limited to 'lib/libpcap/Makefile')
-rw-r--r--lib/libpcap/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile
index 3780688b51a..9555377895f 100644
--- a/lib/libpcap/Makefile
+++ b/lib/libpcap/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.13 2000/04/26 21:25:52 jakob Exp $
+# $OpenBSD: Makefile,v 1.14 2001/11/22 12:44:29 espie Exp $
# $NetBSD: Makefile,v 1.3 1996/05/10 21:54:24 cgd Exp $
LIB= pcap
@@ -29,11 +29,11 @@ SRCS= pcap.c inet.c gencode.c optimize.c nametoaddr.c etherent.c \
CLEANFILES+= grammar.c scanner.c grammar.tab.h version.c
grammar.c: grammar.y
- ${YACC.y} -ppcap_yy -b ${.TARGET:R} ${.IMPSRC}
+ ${YACC.y} -ppcap_yy -b ${.TARGET:R} ${.ALLSRC}
mv ${.TARGET:R}.tab.c ${.TARGET}
scanner.c: scanner.l grammar.c
- ${LEX.l} -Ppcap_yy -o${.TARGET} ${.IMPSRC}
+ ${LEX.l} -Ppcap_yy -o${.TARGET} ${.CURDIR}/scanner.l
version.c: ${.CURDIR}/VERSION
@rm -f $@