Don't use .Xo/.Xc. Fix date format.
[netbsd-mini2440.git] / external / bsd / pcc / Makefile.inc
blob8914baa77e962e6b3370038da47a5989376ed9ad
1 #       $NetBSD: Makefile.inc,v 1.4 2008/03/25 00:30:11 yamt Exp $
3 MDIR=   ${DIST}/arch/${TARGMACH}
4 MIPDIR= ${DIST}/mip
6 TARGOS = netbsd
7 # XXX Currently only handles i386
8 .if ${MACHINE_ARCH} == "i386"
9 TARGMACH = i386
10 .elif ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
11 TARGMACH = mips
12 .elif ${MACHINE_ARCH} == "vax"
13 TARGMACH = vax
14 .else
15 ERROR!= echo "ERROR: ${MACHINE_ARCH} not yet supported - write code!" >&2;echo
16 .endif
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"
27 .endif