1 # $FreeBSD: src/gnu/usr.bin/binutils/as/Makefile.inc0,v 1.6.2.4 2002/09/01 23:39:13 obrien Exp $
2 # $DragonFly: src/gnu/usr.bin/binutils/as/Attic/Makefile.inc0,v 1.2 2003/06/17 04:25:44 dillon Exp $
4 .include "${.CURDIR}/../../Makefile.inc0"
7 .PATH: ${SRCDIR}/gas ${SRCDIR}/gas/config
11 SRCS+= app.c as.c atof-generic.c atof-ieee.c bignum-copy.c \
12 cond.c dwarf2dbg.c ecoff.c expr.c flonum-copy.c flonum-konst.c \
13 flonum-mult.c frags.c hash.c input-file.c \
14 input-scrub.c listing.c literal.c macro.c messages.c \
15 output-file.c read.c sb.c stabs.c \
16 subsegs.c symbols.c write.c depend.c ehopt.c
19 .if (${TARGET_ARCH} == "alpha")
24 CFLAGS+= -I${SRCDIR}/gas -I${SRCDIR}/gas/config -I${SRCDIR} -I${.CURDIR}/..
25 CFLAGS+= -DVERSION=\"${VERSION:C/[ ]?${VERSION_DATE}[ ]?//g}\"
26 CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
28 DPADD= ${RELTOP}/libbfd/libbfd.a
29 DPADD+= ${RELTOP}/libiberty/libiberty.a
30 DPADD+= ${RELTOP}/libopcodes/libopcodes.a
33 # If set, BINUTILSDISTDIR is the path to a directory containing the full GNU
34 # binutils release. FreeBSD only distributes the bits that are required to
35 # build native architectures. BINUTILSDISTDIR is needed to build cross tools.
36 .if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR})
37 .PATH: ${BINUTILSDISTDIR}/gas ${BINUTILSDISTDIR}/gas/config
38 CFLAGS+= -I${BINUTILSDISTDIR}/gas
39 CFLAGS+= -I${BINUTILSDISTDIR}/gas/config
40 CFLAGS+= -I${BINUTILSDISTDIR}/bfd
41 CFLAGS+= -I${BINUTILSDISTDIR}/include
42 CFLAGS+= -I${BINUTILSDISTDIR}