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.
This commit is contained in:
he 2009-09-15 09:22:07 +00:00
parent a6ae7c3f3a
commit ad8225c04b
2 changed files with 5 additions and 5 deletions

View File

@ -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 @@ SRCS+= af_inet6.c
.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

View File

@ -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+= parse.c
SRCS+= tunnel.c
SRCS+= util.c
SRCS+= vlan.c
CPPFLAGS+=-I ${NETBSDSRCDIR}/sys/dist/pf/
SRCS+= pfsync.c