opnsense-src/gnu/usr.bin/binutils/as/Makefile.inc0

38 lines
1.3 KiB
Makefile
Raw Normal View History

1999-08-27 19:37:10 -04:00
# $FreeBSD$
1998-05-05 04:53:27 -04:00
1998-05-11 05:26:39 -04:00
.include "${.CURDIR}/../../Makefile.inc0"
1998-05-05 04:53:27 -04:00
2001-10-13 21:47:30 -04:00
RELTOP:= ../${RELTOP}
1998-05-05 04:53:27 -04:00
.PATH: ${SRCDIR}/gas ${SRCDIR}/gas/config
PROG= as
2001-10-13 21:47:30 -04:00
MAN= doc/as.1
SRCS+= app.c as.c atof-generic.c atof-ieee.c bignum-copy.c \
cond.c dwarf2dbg.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 \
output-file.c read.c sb.c stabs.c \
subsegs.c symbols.c write.c depend.c ehopt.c
2002-03-20 18:05:19 -05:00
# DEO: why not used?
#SRCS+= itbl-ops.c
CFLAGS+= -I${SRCDIR}/gas -I${SRCDIR}/gas/config -I${SRCDIR} -I${.CURDIR}/..
CFLAGS+= -DVERSION=\"${VERSION:C/[ ]?${VERSION_DATE}[ ]?//g}\"
CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
NOSHARED?= yes
DPADD= ${RELTOP}/libbfd/libbfd.a
DPADD+= ${RELTOP}/libiberty/libiberty.a
DPADD+= ${RELTOP}/libopcodes/libopcodes.a
2001-10-13 21:47:30 -04:00
LDADD= ${DPADD}
1999-11-06 16:55:33 -05:00
# If set, BINUTILSDISTDIR is the path to a directory containing the full GNU
# binutils release. FreeBSD only distributes the bits that are required to
# build native architectures. BINUTILSDISTDIR is needed to build cross tools.
2001-10-13 21:47:30 -04:00
.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR})
.PATH: ${BINUTILSDISTDIR}/gas ${BINUTILSDISTDIR}/gas/config
CFLAGS+= -I${BINUTILSDISTDIR}/gas
CFLAGS+= -I${BINUTILSDISTDIR}/gas/config
CFLAGS+= -I${BINUTILSDISTDIR}/bfd
CFLAGS+= -I${BINUTILSDISTDIR}/include
CFLAGS+= -I${BINUTILSDISTDIR}
1999-11-06 16:55:33 -05:00
.endif