2003-03-01 16:08:42 +03:00
|
|
|
# $NetBSD: Makefile.inc,v 1.12 2003/03/01 13:09:01 mrg Exp $
|
1997-12-18 10:37:37 +03:00
|
|
|
|
|
|
|
.if !defined(__MAKEFILE_INC_INCLUDED__)
|
|
|
|
__MAKEFILE_INC_INCLUDED__=1
|
|
|
|
|
2001-01-09 11:52:56 +03:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2003-03-01 16:08:42 +03:00
|
|
|
DIST= ${.CURDIR}/../../../dist/toolchain
|
|
|
|
|
2001-08-06 23:11:59 +04:00
|
|
|
GCPPFLAGS= ${G_DEFS} ${G_INCLUDES}
|
|
|
|
CPPFLAGS+= ${GCPPFLAGS:M-D*:N-DLOCALEDIR*} ${GCPPFLAGS:M-I*:N-I.*} \
|
|
|
|
-I${TOP}/lib/libbfd/arch/${MACHINE_ARCH} \
|
2003-03-01 16:08:42 +03:00
|
|
|
-I${DIST}/include -I${DIST}/bfd -I${DIST}/binutils \
|
2001-08-06 23:11:59 +04:00
|
|
|
-DLOCALEDIR=\"${LOCALEDIR}\"
|
|
|
|
|
1997-12-18 10:37:37 +03:00
|
|
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
|
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.endif # __MAKEFILE_INC_INCLUDED__
|