diff options
author | jb <jb@FreeBSD.org> | 1998-05-04 22:01:27 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-05-04 22:01:27 +0000 |
commit | 6534f3e8d11f498558d9ca1445c2a93ead4643fd (patch) | |
tree | 4ef62eca2e7d4e57b4408aef3b0ebf9a80d7f31c /gnu | |
parent | 2f0e7b1aa7c95c6138bc1af718c8c8fdf1312a03 (diff) | |
download | FreeBSD-src-6534f3e8d11f498558d9ca1445c2a93ead4643fd.zip FreeBSD-src-6534f3e8d11f498558d9ca1445c2a93ead4643fd.tar.gz |
Add support for cross-architecture gases. Since the GNU code doesn't
support more than one architecture at a time, build as from the
default for the host and if CROSS_TOOLS defines other architectures,
build them as as_${arch}
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/as/Makefile | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/gnu/usr.bin/binutils/as/Makefile b/gnu/usr.bin/binutils/as/Makefile index 10c1911..d773bf0 100644 --- a/gnu/usr.bin/binutils/as/Makefile +++ b/gnu/usr.bin/binutils/as/Makefile @@ -1,23 +1,10 @@ # -# $Id: Makefile,v 1.1 1998/03/12 02:54:57 jdp Exp $ +# $Id$ # -.include "../Makefile.inc0" +GASES= ${MACHINE_ARCH} ${CROSS_TOOLS} +.for _g in ${GASES} +SUBDIR+= as_${_g} +.endfor -.PATH: ${SRCDIR}/gas ${SRCDIR}/gas/config - -PROG= as -MAN1= doc/as.1 -SRCS+= app.c as.c atof-generic.c atof-ieee.c bignum-copy.c \ - cond.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 \ - obj-elf.c output-file.c read.c sb.c stabs.c \ - subsegs.c symbols.c write.c -CFLAGS+= -I${SRCDIR}/gas -CFLAGS+= -I${SRCDIR}/gas/config -CFLAGS+= -I${SRCDIR} -LDADD+= -L${RELTOP}/libbfd -lbfd -LDADD+= -L${RELTOP}/libiberty -liberty - -.include <bsd.prog.mk> +.include <bsd.subdir.mk> |