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