1 # $NetBSD: Makefile.inc,v 1.10 2009/04/14 09:09:59 lukem Exp $
3 WARNS?= 3 # XXX: fails -Wsign-compare
7 .PATH: ${.CURDIR}/../common
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"
14 .elif ${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el"
17 ARCHSUBDIR= ${MACHINE_CPU}
20 CPPFLAGS+= -I${.CURDIR}/../arch/${ARCHSUBDIR}
21 CPPFLAGS+= -I${.CURDIR}/../common
23 .if exists(${.CURDIR}/../../Makefile.inc)
24 .include "${.CURDIR}/../../Makefile.inc"