Makefile.inc revision 1.1
1# $NetBSD: Makefile.inc,v 1.1 2008/08/24 05:47:05 gmcgarry Exp $ 2 3MDIR= ${DIST}/arch/${TARGMACH} 4MIPDIR= ${DIST}/mip 5 6TARGOS = netbsd 7# XXX Currently only handles i386 8.if ${MACHINE_ARCH} == "i386" 9TARGMACH = i386 10.elif ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" 11TARGMACH = mips 12.elif ${MACHINE_ARCH} == "vax" 13TARGMACH = vax 14.else 15ERROR!= echo "ERROR: ${MACHINE_ARCH} not yet supported - write code!" >&2;echo 16.endif 17 18libexecdir = /usr/libexec 19includedir = /usr/include 20 21CPPFLAGS+= -DLIBEXECDIR=\"${libexecdir}\" -DINCLUDEDIR=\"${includedir}\" 22CPPFLAGS+= -I${DIST}/os/${TARGOS} -I${MDIR} -Dmach_${TARGMACH} -Dos_${TARGOS} 23CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/.. 24 25.if exists(${.CURDIR}/../../../Makefile.inc) 26.include "${.CURDIR}/../../../Makefile.inc" 27.endif 28