Makefile.inc revision 1.12
11.12Smrg#	$NetBSD: Makefile.inc,v 1.12 2010/03/22 05:12:24 mrg Exp $
21.10Slukem
31.10SlukemWARNS?=		3	# XXX: fails -Wsign-compare
41.9Sthorpej
51.9Sthorpej.include <bsd.own.mk>
61.4Sjmc
71.7Sthorpej.PATH:		${.CURDIR}/../common
81.7Sthorpej
91.12Smrg# Special cases first, then check for a MACHINE_ARCH specific
101.12Smrg# subdir before looking for MACHINE_CPU.
111.12Smrg.if ${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el"
121.11SmattARCHSUBDIR=	mips64
131.12Smrg.elif exists(${.CURDIR}/../arch/${MACHINE_ARCH})
141.12SmrgARCHSUBDIR=	${MACHINE_ARCH}
151.8Sthorpej.else
161.8SthorpejARCHSUBDIR=	${MACHINE_CPU}
171.8Sthorpej.endif
181.8Sthorpej
191.8SthorpejCPPFLAGS+=	-I${.CURDIR}/../arch/${ARCHSUBDIR}
201.7SthorpejCPPFLAGS+=	-I${.CURDIR}/../common
211.1Slukem
221.2Sveego.if exists(${.CURDIR}/../../Makefile.inc)
231.1Slukem.include "${.CURDIR}/../../Makefile.inc"
241.1Slukem.endif
25