8222bc81a2
This finishes up the binutils import. But I am leaving it disabled in "src/gnu/usr.bin/Makefile" for now. It is not used by anything yet, so I'll take this opportunity to run one more round of tests before enabling it.
31 lines
824 B
Makefile
31 lines
824 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
#
|
|
# This is included explicitly at the top of each sub-Makefile. We can't
|
|
# use the normal "Makefile.inc" mechanism, because we need some of these
|
|
# definitions before the sub-Makefile is processed.
|
|
#
|
|
|
|
VERSION= 2.8.1
|
|
|
|
# RELTOP is the relative path to this point in the source or object
|
|
# tree, from any subdirectory of same. It gets extra "../" prefixes
|
|
# added to it as we descend into subdirectories.
|
|
RELTOP:= ..
|
|
|
|
RELSRC= ${RELTOP}/../../../contrib/binutils
|
|
SRCDIR= ${.CURDIR}/${RELSRC}
|
|
HOST= i386-unknown-freebsdelf
|
|
TARGET= i386-unknown-freebsdelf
|
|
|
|
CFLAGS+= -D_GNU_SOURCE
|
|
CFLAGS+= -DARCH_i386
|
|
|
|
# We use "-I-" because without it our yacc-generated parser tries to
|
|
# use GNU's bison-generated header files.
|
|
CFLAGS+= -I- -I. -I${.CURDIR}
|
|
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbfd
|
|
CFLAGS+= -I${SRCDIR}/include
|