Source-Changes-HG archive

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

[src/trunk]: src/sbin/ifconfig - no space needed between -I and dir per gcc(1)



details:   https://anonhg.NetBSD.org/src/rev/432c8369bf4e
branches:  trunk
changeset: 747467:432c8369bf4e
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Wed Sep 16 15:08:29 2009 +0000

description:
- no space needed between -I and dir per gcc(1)
- it's still better to use ${NETBSDSRCDIR} per other existing Makefiles

diffstat:

 sbin/ifconfig/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5b223f7fc4fa -r 432c8369bf4e sbin/ifconfig/Makefile
--- a/sbin/ifconfig/Makefile    Wed Sep 16 15:03:56 2009 +0000
+++ b/sbin/ifconfig/Makefile    Wed Sep 16 15:08:29 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.45 2009/09/16 14:59:45 tsutsui Exp $
+#      $NetBSD: Makefile,v 1.46 2009/09/16 15:08:29 tsutsui Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/5/93
 
 # when making a change to this file, please check if the change is
@@ -18,7 +18,7 @@
 
 .include "Makefile.inc"
 
-CPPFLAGS+=-I ${.CURDIR}/../../sys/dist/pf/
+CPPFLAGS+=-I${NETBSDSRCDIR}/sys/dist/pf/
 SRCS+= pfsync.c
 
 .if ${MACHINE_ARCH} == "m68000"



Home | Main Index | Thread Index | Old Index