NetBSD/gnu/usr.bin/binutils/Makefile.inc
mrg d409bb8e80 framework to build binutils 2.14. note lib{bfd,opcodes,iberty} framework
is moving here, keeping everything together.

tested with: vax (old config), mac68k (old config), i386 (new config)
and shark (new config).  tested i386 binaries only so far, but the
system seems to be surviving the self-hosted test.

XXX: note that this isn't *all* the bits required to run a binutils
2.14 world for arm or i386; these will come soon enough...
2003-11-27 15:02:21 +00:00

19 lines
531 B
Makefile

# $NetBSD: Makefile.inc,v 1.13 2003/11/27 15:02:21 mrg Exp $
.if !defined(__MAKEFILE_INC_INCLUDED__)
__MAKEFILE_INC_INCLUDED__=1
.include <bsd.own.mk>
GNUCPPFLAGS= ${G_DEFS} ${G_INCLUDES}
CPPFLAGS+= ${GNUCPPFLAGS:M-D*:N-DLOCALEDIR*} ${GNUCPPFLAGS:M-I*:N-I.*} \
-I${TOP}/${BFDSUBDIR}/libbfd/arch/${MACHINE_ARCH} \
-I${DIST}/include -I${DIST}/bfd -I${DIST}/binutils \
-DLOCALEDIR=\"${LOCALEDIR}\"
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
.endif
.endif # __MAKEFILE_INC_INCLUDED__