diff options
author | obrien <obrien@FreeBSD.org> | 2004-06-16 07:09:44 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2004-06-16 07:09:44 +0000 |
commit | c15b182a8c9d192b8bd7b065d50f26fdc66e57bb (patch) | |
tree | 1d994d80dc9d835f3cdaf765535ae861867b19c9 /gnu/usr.bin/binutils/as/Makefile.inc0 | |
parent | 77e70076440e09568096be35d7dee1a7d58373bc (diff) | |
download | FreeBSD-src-c15b182a8c9d192b8bd7b065d50f26fdc66e57bb.zip FreeBSD-src-c15b182a8c9d192b8bd7b065d50f26fdc66e57bb.tar.gz |
Updated Bmake framework for Binutils 2.15.
Diffstat (limited to 'gnu/usr.bin/binutils/as/Makefile.inc0')
-rw-r--r-- | gnu/usr.bin/binutils/as/Makefile.inc0 | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/gnu/usr.bin/binutils/as/Makefile.inc0 b/gnu/usr.bin/binutils/as/Makefile.inc0 index 7e62e2a..a256c55 100644 --- a/gnu/usr.bin/binutils/as/Makefile.inc0 +++ b/gnu/usr.bin/binutils/as/Makefile.inc0 @@ -12,12 +12,21 @@ SRCS+= app.c as.c atof-generic.c atof-ieee.c bignum-copy.c \ flonum-mult.c frags.c hash.c input-file.c \ input-scrub.c listing.c literal.c macro.c messages.c \ output-file.c read.c sb.c stabs.c \ - subsegs.c symbols.c write.c depend.c ehopt.c + subsegs.c symbols.c write.c depend.c ehopt.c dw2gencfi.c # DEO: why not used? #SRCS+= itbl-ops.c + +.if ${TARGET_ARCH} == "sparc64" +CFLAGS+= -DDEFAULT_ARCH=\"v9-64\" +.else +CFLAGS+= -DDEFAULT_ARCH=\"${BINUTILS_ARCH}\" +.endif +CFLAGS+= -DTARGET_CPU=\"${BINUTILS_ARCH}\" +CFLAGS+= -DTARGET_CANONICAL=\"${TARGET_TUPLE}\" +CFLAGS+= -DTARGET_ALIAS=\"${TARGET_TUPLE}\" +CFLAGS+= -DVERSION=\"${VERSION}\" +CFLAGS+= -D_GNU_SOURCE CFLAGS+= -I${SRCDIR}/gas -I${SRCDIR}/gas/config -I${SRCDIR} -I${.CURDIR}/.. -CFLAGS+= -DVERSION=\"${VERSION:C/[ ]?${VERSION_DATE}[ ]?//g}\" -CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\" NOSHARED?= yes DPADD= ${RELTOP}/libbfd/libbfd.a DPADD+= ${RELTOP}/libiberty/libiberty.a |