Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/ipf Add -I. to CPPFLAGS or else the generated .c fi...



details:   https://anonhg.NetBSD.org/src/rev/20b892d92def
branches:  trunk
changeset: 565118:20b892d92def
user:      jmc <jmc%NetBSD.org@localhost>
date:      Mon Mar 29 23:28:11 2004 +0000

description:
Add -I. to CPPFLAGS or else the generated .c files lose

diffstat:

 usr.sbin/ipf/ipf/Makefile     |  3 ++-
 usr.sbin/ipf/ipftest/Makefile |  4 ++--
 usr.sbin/ipf/ipmon/Makefile   |  4 ++--
 usr.sbin/ipf/ipnat/Makefile   |  3 ++-
 usr.sbin/ipf/ippool/Makefile  |  3 ++-
 usr.sbin/ipf/ipsend/Makefile  |  3 ++-
 6 files changed, 12 insertions(+), 8 deletions(-)

diffs (101 lines):

diff -r 86b1ec56d721 -r 20b892d92def usr.sbin/ipf/ipf/Makefile
--- a/usr.sbin/ipf/ipf/Makefile Mon Mar 29 22:26:21 2004 +0000
+++ b/usr.sbin/ipf/ipf/Makefile Mon Mar 29 23:28:11 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.18 2004/03/29 04:40:00 lukem Exp $
+#      $NetBSD: Makefile,v 1.19 2004/03/29 23:28:11 jmc Exp $
 
 .include <bsd.own.mk>          # for MKDYNAMICROOT definition
 
@@ -6,6 +6,7 @@
 SRCS=          ipf.c ipfcomp.c ipf_y.c ipf_l.c
 MAN=           ipf.8 ipf.4 ipf.5 ipl.4
 MLINKS=                ipl.4 ipfilter.4 ipf.5 ipf.conf.5 ipf.5 ipf6.conf.5
+CPPFLAGS+=     -I.
 
 CLEANFILES+=   ipf_y.c ipf_y.h
 CLEANFILES+=   ipf_l.c ipf_l.h
diff -r 86b1ec56d721 -r 20b892d92def usr.sbin/ipf/ipftest/Makefile
--- a/usr.sbin/ipf/ipftest/Makefile     Mon Mar 29 22:26:21 2004 +0000
+++ b/usr.sbin/ipf/ipftest/Makefile     Mon Mar 29 23:28:11 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.25 2004/03/29 04:40:02 lukem Exp $
+#      $NetBSD: Makefile,v 1.26 2004/03/29 23:28:12 jmc Exp $
 
 NOGCCERROR=    # defined
 
@@ -13,7 +13,7 @@
 MAN=           ipftest.1
 
 CPPFLAGS+=     -DIPFILTER_LOG -DIPFILTER_COMPILED -DIPFILTER_LOOKUP \
-               -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM
+               -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -I.
 
 .PATH:         ${NETBSDSRCDIR}/sys/netinet
 
diff -r 86b1ec56d721 -r 20b892d92def usr.sbin/ipf/ipmon/Makefile
--- a/usr.sbin/ipf/ipmon/Makefile       Mon Mar 29 22:26:21 2004 +0000
+++ b/usr.sbin/ipf/ipmon/Makefile       Mon Mar 29 23:28:11 2004 +0000
@@ -1,10 +1,10 @@
-#      $NetBSD: Makefile,v 1.18 2004/03/29 04:40:03 lukem Exp $
+#      $NetBSD: Makefile,v 1.19 2004/03/29 23:28:12 jmc Exp $
 
 PROG=          ipmon
 SRCS=          ipmon.c ipmon_y.c ipmon_l.c
 MAN=           ipmon.8
 
-CPPFLAGS+=     -DLOGFAC=LOG_LOCAL0
+CPPFLAGS+=     -DLOGFAC=LOG_LOCAL0 -I.
 
 CLEANFILES+=   ipmon_y.c ipmon_y.h
 CLEANFILES+=   ipmon_l.c ipmon_l.h
diff -r 86b1ec56d721 -r 20b892d92def usr.sbin/ipf/ipnat/Makefile
--- a/usr.sbin/ipf/ipnat/Makefile       Mon Mar 29 22:26:21 2004 +0000
+++ b/usr.sbin/ipf/ipnat/Makefile       Mon Mar 29 23:28:11 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.20 2004/03/29 04:40:03 lukem Exp $
+#      $NetBSD: Makefile,v 1.21 2004/03/29 23:28:12 jmc Exp $
 
 PROG=          ipnat
 SRCS=          ipnat.c ipnat_y.c ipnat_l.c
@@ -6,6 +6,7 @@
 MLINKS=                ipnat.5 ipnat.conf.5
 DPADD+=                ${LIBKVM}
 LDADD+=                -lkvm
+CPPFLAGS+=     -I.
 
 CLEANFILES+=   ipnat_y.c ipnat_y.h
 CLEANFILES+=   ipnat_l.c ipnat_l.h
diff -r 86b1ec56d721 -r 20b892d92def usr.sbin/ipf/ippool/Makefile
--- a/usr.sbin/ipf/ippool/Makefile      Mon Mar 29 22:26:21 2004 +0000
+++ b/usr.sbin/ipf/ippool/Makefile      Mon Mar 29 23:28:11 2004 +0000
@@ -1,10 +1,11 @@
-#      $NetBSD: Makefile,v 1.4 2004/03/29 04:40:04 lukem Exp $
+#      $NetBSD: Makefile,v 1.5 2004/03/29 23:28:12 jmc Exp $
 
 PROG=          ippool
 SRCS=          ippool_y.c ippool_l.c kmem.c ippool.c
 MAN=           ippool.8
 DPADD+=                ${LIBKVM}
 LDADD+=                -lkvm
+CPPFLAGS+=     -I.
 
 CLEANFILES+=   ippool_y.c ippool_y.h
 CLEANFILES+=   ippool_l.c ippool_l.h
diff -r 86b1ec56d721 -r 20b892d92def usr.sbin/ipf/ipsend/Makefile
--- a/usr.sbin/ipf/ipsend/Makefile      Mon Mar 29 22:26:21 2004 +0000
+++ b/usr.sbin/ipf/ipsend/Makefile      Mon Mar 29 23:28:11 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.21 2004/03/29 05:06:44 lukem Exp $
+#      $NetBSD: Makefile,v 1.22 2004/03/29 23:28:12 jmc Exp $
 
 NOGCCERROR=    # defined
 
@@ -13,6 +13,7 @@
 
 CPPFLAGS+=     -I${NETBSDSRCDIR}/dist/ipf/ipsend
 CPPFLAGS+=     -I${NETBSDSRCDIR}/dist/ipf/iplang
+CPPFLAGS+=     -I.
 
 CLEANFILES+=   iplang_y.c iplang_y.h
 



Home | Main Index | Thread Index | Old Index