Allow setting an empty base directory. FTP server like tnftpd do not
[netbsd-mini2440.git] / usr.bin / xlint / Makefile.inc
blob78cedb004f4737704c04ca0515ce120fa763ca92
1 #       $NetBSD: Makefile.inc,v 1.9 2002/02/04 08:37:37 thorpej 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 .else
15 ARCHSUBDIR=     ${MACHINE_CPU}
16 .endif
18 CPPFLAGS+=      -I${.CURDIR}/../arch/${ARCHSUBDIR}
19 CPPFLAGS+=      -I${.CURDIR}/../common
21 .if exists(${.CURDIR}/../../Makefile.inc)
22 .include "${.CURDIR}/../../Makefile.inc"
23 .endif