summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/binutils/Makefile.inc0
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-06-16 07:09:44 +0000
committerobrien <obrien@FreeBSD.org>2004-06-16 07:09:44 +0000
commitc15b182a8c9d192b8bd7b065d50f26fdc66e57bb (patch)
tree1d994d80dc9d835f3cdaf765535ae861867b19c9 /gnu/usr.bin/binutils/Makefile.inc0
parent77e70076440e09568096be35d7dee1a7d58373bc (diff)
downloadFreeBSD-src-c15b182a8c9d192b8bd7b065d50f26fdc66e57bb.zip
FreeBSD-src-c15b182a8c9d192b8bd7b065d50f26fdc66e57bb.tar.gz
Updated Bmake framework for Binutils 2.15.
Diffstat (limited to 'gnu/usr.bin/binutils/Makefile.inc0')
-rw-r--r--gnu/usr.bin/binutils/Makefile.inc011
1 files changed, 8 insertions, 3 deletions
diff --git a/gnu/usr.bin/binutils/Makefile.inc0 b/gnu/usr.bin/binutils/Makefile.inc0
index 4d3d613..72de2b0 100644
--- a/gnu/usr.bin/binutils/Makefile.inc0
+++ b/gnu/usr.bin/binutils/Makefile.inc0
@@ -4,10 +4,15 @@
# use the normal "Makefile.inc" mechanism, because we need some of these
# definitions before the sub-Makefile is processed.
-VERSION= "2.13.2 [FreeBSD] 2002-11-27"
-VERSION_DATE= 20021127
+VERSION= "2.15 [FreeBSD] 2004-05-23"
TARGET_ARCH?= ${MACHINE_ARCH}
+.if ${TARGET_ARCH} == "amd64"
+BINUTILS_ARCH=x86_64
+.else
+BINUTILS_ARCH=${TARGET_ARCH}
+.endif
+TARGET_TUPLE?= ${BINUTILS_ARCH}-obrien-freebsd
# RELTOP is the relative path to this point in the source or object
# tree, from any subdirectory of same. It gets extra "../" prefixes
@@ -17,13 +22,13 @@ RELTOP:= ..
RELSRC= ${RELTOP}/../../../contrib/binutils
SRCDIR= ${.CURDIR}/${RELSRC}
-CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I.
.if exists(${.CURDIR}/${TARGET_ARCH})
CFLAGS+= -I${.CURDIR}/${TARGET_ARCH}
.endif
CFLAGS+= -I${.CURDIR}
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbfd/${TARGET_ARCH}
+CFLAGS+= -I${.OBJDIR}/${RELTOP}/libbfd
CFLAGS+= -I${SRCDIR}/include
.if exists(${.CURDIR}/${TARGET_ARCH})
OpenPOWER on IntegriCloud