Add src/common/include to -Ipath for proplib(3) so that build works

even without installed DESTDIR.
This commit is contained in:
tsutsui 2009-11-27 11:11:22 +00:00
parent efb2579c78
commit b3c8be00bb
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.buildboot,v 1.25 2009/03/29 07:19:40 tsutsui Exp $ # $NetBSD: Makefile.buildboot,v 1.26 2009/11/27 11:11:22 tsutsui Exp $
# #
# This file is for the sparc `boot' and `bootxx' only; it does not # This file is for the sparc `boot' and `bootxx' only; it does not
# currently play well on a 64-bit system. # currently play well on a 64-bit system.
@ -34,6 +34,7 @@ RELOC_BOOTXX= 300000
CPPFLAGS+= -D_STANDALONE -DSUN4 -DSUN4C -DSUN4M -DSUN4D -DHEAP_VARIABLE CPPFLAGS+= -D_STANDALONE -DSUN4 -DSUN4C -DSUN4M -DSUN4D -DHEAP_VARIABLE
CPPFLAGS+= -I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../.. CPPFLAGS+= -I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
CPPFLAGS+= -I${.CURDIR}/../../../../../common/include
CFLAGS= -Os CFLAGS= -Os
CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes -ffreestanding CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes -ffreestanding

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.21 2007/10/17 19:57:16 garbled Exp $ # $NetBSD: Makefile,v 1.22 2009/11/27 11:14:23 tsutsui Exp $
CURDIR= ${.CURDIR} CURDIR= ${.CURDIR}
S= ${CURDIR}/../../../.. S= ${CURDIR}/../../../..
@ -49,6 +49,7 @@ RELOC= 100000
ENTRY= _start ENTRY= _start
CPPFLAGS+= -I${CURDIR}/../../.. -I${CURDIR}/../../../.. -I${CURDIR} -I. CPPFLAGS+= -I${CURDIR}/../../.. -I${CURDIR}/../../../.. -I${CURDIR} -I.
CPPFLAGS+= -I${CURDIR}/../../../../../common/include
CPPFLAGS+= -DRELOC=0x${RELOC} CPPFLAGS+= -DRELOC=0x${RELOC}
# #