freebsd-dev/gnu/usr.bin/binutils/as/Makefile
John Polstra ab5ad3a4b5 Restructure the binutils hierarchy somewhat in order to better
support building it for variant architectures.  It was already
becoming clear that the former structure was too rigid and didn't
scale well.

The usual sort of makefile magic arranges to .include an architecture
specific makefile "Makefile.${MACHINE_ARCH}" in each directory
where it exists.  Also, sources will be found in each subdirectory
"${MACHINE_ARCH}" that exists.  This is all taken care of automatically
by the top level "Makefile.inc0".

This all seems to work right for the i386 now.  I have also converted
those alpha pieces already present to the new schema as best I
could.

Also: change the BINDIR on the i386 to /usr/libexec/elf for "ar"
and "ranlib".  They are not object format independent enough to
put into /usr/bin.
1998-03-12 02:55:43 +00:00

24 lines
642 B
Makefile

#
# $Id: Makefile,v 1.1.1.1 1998/03/01 23:40:59 jdp Exp $
#
.include "../Makefile.inc0"
.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 tc-i386.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>