Makefile.inc revision 1.10
1# $NetBSD: Makefile.inc,v 1.10 2009/04/14 09:09:59 lukem Exp $ 2 3WARNS?= 3 # XXX: fails -Wsign-compare 4 5.include <bsd.own.mk> 6 7.PATH: ${.CURDIR}/../common 8 9# On the m68000, MACHINE_CPU is "m68k", but we have different 10# target parameters (namely, long double is a different size 11# on the m68000), so we special case the directory name here. 12.if ${MACHINE_ARCH} == "m68000" 13ARCHSUBDIR= m68000 14.else 15ARCHSUBDIR= ${MACHINE_CPU} 16.endif 17 18CPPFLAGS+= -I${.CURDIR}/../arch/${ARCHSUBDIR} 19CPPFLAGS+= -I${.CURDIR}/../common 20 21.if exists(${.CURDIR}/../../Makefile.inc) 22.include "${.CURDIR}/../../Makefile.inc" 23.endif 24