2002-02-04 11:37:37 +03:00
|
|
|
# $NetBSD: Makefile.inc,v 1.9 2002/02/04 08:37:37 thorpej Exp $
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
2001-10-22 09:19:31 +04:00
|
|
|
|
2002-01-18 23:39:17 +03:00
|
|
|
.PATH: ${.CURDIR}/../common
|
|
|
|
|
2002-02-04 03:18:32 +03:00
|
|
|
# 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
|
|
|
|
.else
|
|
|
|
ARCHSUBDIR= ${MACHINE_CPU}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${.CURDIR}/../arch/${ARCHSUBDIR}
|
2002-01-18 23:39:17 +03:00
|
|
|
CPPFLAGS+= -I${.CURDIR}/../common
|
1997-10-20 08:28:24 +04:00
|
|
|
|
1997-10-24 16:14:57 +04:00
|
|
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
1997-10-20 08:28:24 +04:00
|
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
|
|
.endif
|