Makefile.inc0 revision 33976
1# 2# $Id$ 3# 4 5# 6# This is included explicitly at the top of each sub-Makefile. We can't 7# use the normal "Makefile.inc" mechanism, because we need some of these 8# definitions before the sub-Makefile is processed. 9# 10 11VERSION= 2.8.1 12 13# RELTOP is the relative path to this point in the source or object 14# tree, from any subdirectory of same. It gets extra "../" prefixes 15# added to it as we descend into subdirectories. 16RELTOP:= .. 17 18RELSRC= ${RELTOP}/../../../contrib/binutils 19SRCDIR= ${.CURDIR}/${RELSRC} 20HOST= i386-unknown-freebsdelf 21TARGET= i386-unknown-freebsdelf 22 23CFLAGS+= -D_GNU_SOURCE 24CFLAGS+= -DARCH_i386 25 26# We use "-I-" because without it our yacc-generated parser tries to 27# use GNU's bison-generated header files. 28CFLAGS+= -I- -I. -I${.CURDIR} 29CFLAGS+= -I${.CURDIR}/${RELTOP}/libbfd 30CFLAGS+= -I${SRCDIR}/include 31