diff options
author | obrien <obrien@FreeBSD.org> | 2004-07-08 17:05:34 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2004-07-08 17:05:34 +0000 |
commit | 459a3b439e3c1703207eedea8c7176ab33b36fc9 (patch) | |
tree | 1c11a95e47b818a1dbb2c36dbf6fb0c929474353 /gnu/usr.bin/binutils/as/Makefile.inc0 | |
parent | 344e054ea370e99df8482bf6239c882720887f64 (diff) | |
download | FreeBSD-src-459a3b439e3c1703207eedea8c7176ab33b36fc9.zip FreeBSD-src-459a3b439e3c1703207eedea8c7176ab33b36fc9.tar.gz |
MAJOR cleanup of the Bmake framework.
This includes removing all vestiges of the old not-really supported
ability to build cross tools targeting non-FreeBSD systems, such as
m68k Lynx and NetBSD. Move as much duplicated code from platform
Makefiles into the shared Makefiles. Add a simple mechanism for
specifying ELF 'ldscripts'. Also share as many .h files as possible
(now a single bfd.h vs. one per platform).
Diffstat (limited to 'gnu/usr.bin/binutils/as/Makefile.inc0')
-rw-r--r-- | gnu/usr.bin/binutils/as/Makefile.inc0 | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/gnu/usr.bin/binutils/as/Makefile.inc0 b/gnu/usr.bin/binutils/as/Makefile.inc0 deleted file mode 100644 index a256c55..0000000 --- a/gnu/usr.bin/binutils/as/Makefile.inc0 +++ /dev/null @@ -1,46 +0,0 @@ -# $FreeBSD$ - -.include "${.CURDIR}/../../Makefile.inc0" - -RELTOP:= ../${RELTOP} -.PATH: ${SRCDIR}/gas ${SRCDIR}/gas/config - -PROG= as -MAN= doc/as.1 -SRCS+= app.c as.c atof-generic.c atof-ieee.c bignum-copy.c \ - cond.c dwarf2dbg.c ecoff.c expr.c flonum-copy.c flonum-konst.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 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}/.. -NOSHARED?= yes -DPADD= ${RELTOP}/libbfd/libbfd.a -DPADD+= ${RELTOP}/libiberty/libiberty.a -DPADD+= ${RELTOP}/libopcodes/libopcodes.a -LDADD= ${DPADD} - -# If set, BINUTILSDISTDIR is the path to a directory containing the full GNU -# binutils release. FreeBSD only distributes the bits that are required to -# build native architectures. BINUTILSDISTDIR is needed to build cross tools. -.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR}) -.PATH: ${BINUTILSDISTDIR}/gas ${BINUTILSDISTDIR}/gas/config -CFLAGS+= -I${BINUTILSDISTDIR}/gas -CFLAGS+= -I${BINUTILSDISTDIR}/gas/config -CFLAGS+= -I${BINUTILSDISTDIR}/bfd -CFLAGS+= -I${BINUTILSDISTDIR}/include -CFLAGS+= -I${BINUTILSDISTDIR} -.endif |