c31d577a8c
Teach lint about mips64
26 lines
692 B
Makefile
26 lines
692 B
Makefile
# $NetBSD: Makefile.inc,v 1.11 2009/12/14 00:42:06 matt Exp $
|
|
|
|
WARNS?= 3 # XXX: fails -Wsign-compare
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.PATH: ${.CURDIR}/../common
|
|
|
|
# On the m68000, MACHINE_CPU is "m68k", but we have different
|
|
# target parameters (namely, long double is a different size
|
|
# on the m68000), so we special case the directory name here.
|
|
.if ${MACHINE_ARCH} == "m68000"
|
|
ARCHSUBDIR= m68000
|
|
.elif ${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el"
|
|
ARCHSUBDIR= mips64
|
|
.else
|
|
ARCHSUBDIR= ${MACHINE_CPU}
|
|
.endif
|
|
|
|
CPPFLAGS+= -I${.CURDIR}/../arch/${ARCHSUBDIR}
|
|
CPPFLAGS+= -I${.CURDIR}/../common
|
|
|
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
.endif
|