Deleted Added
full compact
Makefile.inc (91587) Makefile.inc (91592)
1# $NetBSD: Makefile.inc,v 1.8 2002/02/04 00:18:32 thorpej Exp $
1# $NetBSD: Makefile.inc,v 1.8 2002/02/04 00:18:32 thorpej Exp $
2# $FreeBSD: head/usr.bin/xlint/Makefile.inc 91592 2002-03-03 15:12:50Z markm $
2
3
4WARNS= 0
3.include <bsd.own.mk>
4
5.PATH: ${.CURDIR}/../common
6
5.include <bsd.own.mk>
6
7.PATH: ${.CURDIR}/../common
8
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
9CFLAGS+= -I${.CURDIR}/../arch/${MACHINE_ARCH}
10CFLAGS+= -I${.CURDIR}/../common
15
11
16CPPFLAGS+= -I${.CURDIR}/../arch/${ARCHSUBDIR}
17CPPFLAGS+= -I${.CURDIR}/../common
18
19.if exists(${.CURDIR}/../../Makefile.inc)
20.include "${.CURDIR}/../../Makefile.inc"
21.endif
12OBJECT_FMT= ELF