1 # $NetBSD: Makefile.inc,v 1.4 2008/03/25 00:30:11 yamt Exp $
3 MDIR= ${DIST}/arch/${TARGMACH}
7 # XXX Currently only handles i386
8 .if ${MACHINE_ARCH} == "i386"
10 .elif ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
12 .elif ${MACHINE_ARCH} == "vax"
15 ERROR!= echo "ERROR: ${MACHINE_ARCH} not yet supported - write code!" >&2;echo
18 libexecdir = /usr/libexec
19 includedir = /usr/include
21 CPPFLAGS+= -DLIBEXECDIR=\"${libexecdir}\" -DINCLUDEDIR=\"${includedir}\"
22 CPPFLAGS+= -I${DIST}/os/${TARGOS} -I${MDIR} -Dmach_${TARGMACH} -Dos_${TARGOS}
23 CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/..
25 .if exists(${.CURDIR}/../../../Makefile.inc)
26 .include "${.CURDIR}/../../../Makefile.inc"