Subject: Re: Add libprop include path to libkern/Makefile.inc (was: CVS commit: src/sys/arch/arc/stand/boot)
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: source-changes
Date: 07/26/2006 17:36:04
--EVF5PPMfhYS0aIcm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wed, Jul 26, 2006 at 08:48:08PM +0900, Izumi Tsutsui wrote:
> simonb@NetBSD.org 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


--EVF5PPMfhYS0aIcm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="libprop.patch"

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

--EVF5PPMfhYS0aIcm--