Makefile.inc revision 1.11
11.11Smatt#	$NetBSD: Makefile.inc,v 1.11 2009/12/14 00:42:06 matt 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.8Sthorpej# On the m68000, MACHINE_CPU is "m68k", but we have different
101.8Sthorpej# target parameters (namely, long double is a different size
111.8Sthorpej# on the m68000), so we special case the directory name here.
121.8Sthorpej.if ${MACHINE_ARCH} == "m68000"
131.8SthorpejARCHSUBDIR=	m68000
141.11Smatt.elif ${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el"
151.11SmattARCHSUBDIR=	mips64
161.8Sthorpej.else
171.8SthorpejARCHSUBDIR=	${MACHINE_CPU}
181.8Sthorpej.endif
191.8Sthorpej
201.8SthorpejCPPFLAGS+=	-I${.CURDIR}/../arch/${ARCHSUBDIR}
211.7SthorpejCPPFLAGS+=	-I${.CURDIR}/../common
221.1Slukem
231.2Sveego.if exists(${.CURDIR}/../../Makefile.inc)
241.1Slukem.include "${.CURDIR}/../../Makefile.inc"
251.1Slukem.endif
26