Sync usage with man page.
[netbsd-mini2440.git] / usr.bin / xlint / Makefile.inc
blob1c76cadb687a01fde6e1fb2f2b946fb126628be6
1 #       $NetBSD: Makefile.inc,v 1.10 2009/04/14 09:09:59 lukem Exp $
3 WARNS?=         3       # XXX: fails -Wsign-compare
5 .include <bsd.own.mk>
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"
13 ARCHSUBDIR=     m68000
14 .elif ${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el"
15 ARCHSUBDIR=     mips64
16 .else
17 ARCHSUBDIR=     ${MACHINE_CPU}
18 .endif
20 CPPFLAGS+=      -I${.CURDIR}/../arch/${ARCHSUBDIR}
21 CPPFLAGS+=      -I${.CURDIR}/../common
23 .if exists(${.CURDIR}/../../Makefile.inc)
24 .include "${.CURDIR}/../../Makefile.inc"
25 .endif