summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/binutils/Makefile.inc0
blob: 51ed0c50fde879a2b632a1795dc3ffbaa8749e77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
# $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
OpenPOWER on IntegriCloud