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}
This commit is contained in:
John Birrell 1998-05-04 22:01:27 +00:00
parent fea15783d0
commit 7998238373
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35720

View file

@ -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>