summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2007-11-15 22:39:15 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2007-11-15 22:39:15 +0000
commitfaad9cae56d55e9a9b526bf587007ae6432f5cd8 (patch)
treeec1891742b5a8f4582990e7c448a5034ba644826 /lib/libc
parent185250da234f785cbe23f683ba0cb75dad426813 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/Makefile.inc9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libc/net/Makefile.inc b/lib/libc/net/Makefile.inc
index 9d96ad863eca..4eadf9800600 100644
--- a/lib/libc/net/Makefile.inc
+++ b/lib/libc/net/Makefile.inc
@@ -12,7 +12,7 @@ SRCS+= base64.c ether_addr.c eui64.c \
getproto.c getprotoent.c getprotoname.c getservent.c \
if_indextoname.c if_nameindex.c if_nametoindex.c \
ip6opt.c linkaddr.c map_v4v6.c name6.c ntoh.c \
- nsdispatch.c nslexer.c nsparser.c nss_compat.c \
+ nsdispatch.c nslexer.c nsparser.y nss_compat.c \
rcmd.c rcmdsh.c recv.c rthdr.c sctp_sys_calls.c send.c \
sockatmark.c sourcefilter.c vars.c
@@ -34,12 +34,9 @@ CFLAGS+=-I${.CURDIR}/resolv
YFLAGS+=-p_nsyy
LFLAGS+=-P_nsyy
-CLEANFILES+=nsparser.c nslexer.c nsparser.h
+CLEANFILES+=nslexer.c
-nsparser.h: nsparser.c
- mv y.tab.h ${.TARGET}
-
-nslexer.c: nslexer.l nsparser.h
+nslexer.c: nslexer.l
${LEX} ${LFLAGS} -o/dev/stdout ${.IMPSRC} | \
sed -e '/YY_BUF_SIZE/s/16384/1024/' >${.TARGET}