Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/usr.sbin/ipf/ippool Pull up revision 1.4 (requested by ...
details: https://anonhg.NetBSD.org/src/rev/507bec223f59
branches: netbsd-2-0
changeset: 560136:507bec223f59
user: tron <tron%NetBSD.org@localhost>
date: Mon Mar 29 10:45:22 2004 +0000
description:
Pull up revision 1.4 (requested by martti in ticket #7):
de-lint makefiles:
* fix -j N parallel build issues
* support MAKEVERBOSE
* move NOxxx= to before <bsd.own.mk>
* remove unnecessary -ll (except for ipsend)
* remove unnecessary CPPFLAGS
* only build libipf.a (we don't need libipf_p.a or libipf_pic.a)
* fix dependencies upon libipf.a
(more could be done, but that requires fixing dist/ipf/*)
diffstat:
usr.sbin/ipf/ippool/Makefile | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
diffs (39 lines):
diff -r fde92808110d -r 507bec223f59 usr.sbin/ipf/ippool/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/usr.sbin/ipf/ippool/Makefile Mon Mar 29 10:45:22 2004 +0000
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.3.2.2 2004/03/29 10:45:22 tron Exp $
+
+PROG= ippool
+SRCS= ippool_y.c ippool_l.c kmem.c ippool.c
+MAN= ippool.8
+DPADD+= ${LIBKVM}
+LDADD+= -lkvm
+
+CLEANFILES+= ippool_y.c ippool_y.h
+CLEANFILES+= ippool_l.c ippool_l.h
+
+ippool_y.c: ippool_y.y ippool_l.h
+ ${_MKTARGET_CREATE}
+ ${YACC} -d ${NETBSDSRCDIR}/dist/ipf/tools/ippool_y.y
+ sed -e 's/yy/ippool_yy/g' \
+ -e 's/"ippool_y.y"/"..\/tools\/ippool_y.y"/' \
+ y.tab.c > ${.TARGET}
+ sed -e 's/yy/ippool_yy/g' \
+ y.tab.h > ${.TARGET:.c=.h}
+
+ippool_y.h: ippool_y.c
+
+ippool_l.c: lexer.c ippool_l.h ippool_y.h
+ ${_MKTARGET_CREATE}
+ sed -e 's/yy/ippool_yy/g' \
+ -e 's/y.tab.h/ippool_y.h/' \
+ -e 's/lexer.h/ippool_l.h/' \
+ ${NETBSDSRCDIR}/dist/ipf/tools/lexer.c > ${.TARGET}
+
+ippool_l.h: lexer.h
+ ${_MKTARGET_CREATE}
+ sed -e 's/yy/ippool_yy/g' \
+ ${.ALLSRC} > ${.TARGET}
+
+.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index