2014-02-17 16:55:07 +01:00
|
|
|
# $NetBSD: Makefile.inc,v 1.6 2013/08/06 05:35:57 matt Exp $
|
2012-06-06 15:06:52 +02:00
|
|
|
|
|
|
|
BINDIR?= /usr/bin
|
|
|
|
|
|
|
|
.if !defined(__MAKEFILE_INC_INCLUDED__)
|
|
|
|
__MAKEFILE_INC_INCLUDED__=1
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2014-02-17 16:55:07 +01:00
|
|
|
BINUTILS_MACHINE_ARCH= ${MACHINE_ARCH:C/armv[4-7]/arm/}
|
|
|
|
|
2012-06-06 15:06:52 +02:00
|
|
|
GNUHOSTDIST= ${DIST}
|
|
|
|
GNUCPPFLAGS= ${G_DEFS} ${G_INCLUDES}
|
|
|
|
CPPFLAGS+= ${GNUCPPFLAGS:M-D*:N-DLOCALEDIR*} ${GNUCPPFLAGS:M-I*:N-I.*} \
|
2014-02-17 16:55:07 +01:00
|
|
|
-I${TOP}/${BFDSUBDIR}/libbfd/arch/${BINUTILS_MACHINE_ARCH} \
|
2012-06-06 15:06:52 +02:00
|
|
|
-I${DIST}/include -I${DIST}/bfd -I${DIST}/binutils \
|
|
|
|
-DLOCALEDIR=\"${LOCALEDIR}\"
|
|
|
|
NOGCCERROR= # defined
|
|
|
|
|
|
|
|
.endif # __MAKEFILE_INC_INCLUDED__
|