Source-Changes archive

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

Re: Add libprop include path to libkern/Makefile.inc (was: CVS commit: src/sys/arch/arc/stand/boot)



On Wed, Jul 26, 2006 at 08:48:08PM +0900, Izumi Tsutsui wrote:
> simonb%NetBSD.org@localhost wrote:
> 
> > We previously had a (unwritten?) goal of being able to build
> > sys/arch/*/stand without ${DESTDIR}.  Do we still want to be able to do
> > this?  I still find it handy to be able to do this to test out fixes and
> > changes for bootblocks without having to run a partial build.sh first...
> 
> IMHO, the required fix is trivial, so we should keep
> the (actually useful and reasonable) goal :-)
> (though I'm not sure which Makefile or Makefile.inc is better)

I mentioned src/common/lib/libprop/Makefile.inc in my pr, because
thats the only one which needs that include line now.

Bernd

Index: Makefile.inc
===================================================================
RCS file: /cvsroot/src/common/lib/libprop/Makefile.inc,v
retrieving revision 1.1
diff -b -u -r1.1 Makefile.inc
--- Makefile.inc        27 Apr 2006 20:11:27 -0000      1.1
+++ Makefile.inc        26 Jul 2006 15:34:15 -0000
@@ -1,6 +1,9 @@
 #      $NetBSD: Makefile.inc,v 1.1 2006/04/27 20:11:27 thorpej Exp $
 
-.PATH: ${.PARSEDIR}
+COMMON_DIR:=${.PARSEDIR}
+.PATH: ${COMMON_DIR}
 
 SRCS+= prop_array.c prop_bool.c prop_data.c prop_dictionary.c \
        prop_number.c prop_object.c prop_string.c
+
+CPPFLAGS+=-I${COMMON_DIR}/../../include


Home | Main Index | Thread Index | Old Index