Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/ifconfig Move the addition of pfsync.c from Makefile.in...
details: https://anonhg.NetBSD.org/src/rev/0778a1109801
branches: trunk
changeset: 747445:0778a1109801
user: he <he%NetBSD.org@localhost>
date: Tue Sep 15 09:22:07 2009 +0000
description:
Move the addition of pfsync.c from Makefile.inc to Makefile,
so that this part doesn't get included in install media versions
of ifconfig, as per comments on source-changes@ from Izumi Tsutsui.
Also re-instate the use of ${.CURDIR} when setting up the include path.
diffstat:
sbin/ifconfig/Makefile | 5 ++++-
sbin/ifconfig/Makefile.inc | 5 +----
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (35 lines):
diff -r 72db70f3cf7d -r 0778a1109801 sbin/ifconfig/Makefile
--- a/sbin/ifconfig/Makefile Tue Sep 15 02:04:12 2009 +0000
+++ b/sbin/ifconfig/Makefile Tue Sep 15 09:22:07 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2009/06/02 23:41:35 pooka Exp $
+# $NetBSD: Makefile,v 1.44 2009/09/15 09:22:07 he Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
# when making a change to this file, please check if the change is
@@ -17,6 +17,9 @@
.include "Makefile.inc"
+CPPFLAGS+=-I ${.CURDIR}/../../sys/dist/pf/
+SRCS+= pfsync.c
+
.if ${MACHINE_ARCH} == "m68000"
# XXX workaround for gcc -O1 bug (PR bin/40036 and toolchain/40066)
COPTS.ifconfig.c+= -fno-loop-optimize
diff -r 72db70f3cf7d -r 0778a1109801 sbin/ifconfig/Makefile.inc
--- a/sbin/ifconfig/Makefile.inc Tue Sep 15 02:04:12 2009 +0000
+++ b/sbin/ifconfig/Makefile.inc Tue Sep 15 09:22:07 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.5 2009/09/14 15:12:21 he Exp $
+# $NetBSD: Makefile.inc,v 1.6 2009/09/15 09:22:07 he Exp $
PROG= ifconfig
@@ -19,6 +19,3 @@
SRCS+= tunnel.c
SRCS+= util.c
SRCS+= vlan.c
-
-CPPFLAGS+=-I ${NETBSDSRCDIR}/sys/dist/pf/
-SRCS+= pfsync.c
Home |
Main Index |
Thread Index |
Old Index