Makefile.inc revision 1.10
11.10Slukem#	$NetBSD: Makefile.inc,v 1.10 2009/04/14 09:09:59 lukem 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.8Sthorpej.else
151.8SthorpejARCHSUBDIR=	${MACHINE_CPU}
161.8Sthorpej.endif
171.8Sthorpej
181.8SthorpejCPPFLAGS+=	-I${.CURDIR}/../arch/${ARCHSUBDIR}
191.7SthorpejCPPFLAGS+=	-I${.CURDIR}/../common
201.1Slukem
211.2Sveego.if exists(${.CURDIR}/../../Makefile.inc)
221.1Slukem.include "${.CURDIR}/../../Makefile.inc"
231.1Slukem.endif
24