xref: /netbsd/usr.bin/xlint/Makefile.inc (revision bf9ec67e)
1#	$NetBSD: Makefile.inc,v 1.9 2002/02/04 08:37:37 thorpej Exp $
2
3.include <bsd.own.mk>
4
5.PATH:		${.CURDIR}/../common
6
7# On the m68000, MACHINE_CPU is "m68k", but we have different
8# target parameters (namely, long double is a different size
9# on the m68000), so we special case the directory name here.
10.if ${MACHINE_ARCH} == "m68000"
11ARCHSUBDIR=	m68000
12.else
13ARCHSUBDIR=	${MACHINE_CPU}
14.endif
15
16CPPFLAGS+=	-I${.CURDIR}/../arch/${ARCHSUBDIR}
17CPPFLAGS+=	-I${.CURDIR}/../common
18
19.if exists(${.CURDIR}/../../Makefile.inc)
20.include "${.CURDIR}/../../Makefile.inc"
21.endif
22