aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/Makefile.inc0
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1998-03-12 02:55:43 +0000
committerJohn Polstra <jdp@FreeBSD.org>1998-03-12 02:55:43 +0000
commitab5ad3a4b52fafc4d244d6f407fbfad132ad2fa5 (patch)
tree607a0bd1d82cd55b0766771fc8470d5478410d8b /gnu/usr.bin/binutils/Makefile.inc0
parentf830032fc81e7b59de346ca2878690da22b47712 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/binutils/Makefile.inc0')
-rw-r--r--gnu/usr.bin/binutils/Makefile.inc019
1 files changed, 14 insertions, 5 deletions
diff --git a/gnu/usr.bin/binutils/Makefile.inc0 b/gnu/usr.bin/binutils/Makefile.inc0
index 51ed0c50fde8..75ffd8829035 100644
--- a/gnu/usr.bin/binutils/Makefile.inc0
+++ b/gnu/usr.bin/binutils/Makefile.inc0
@@ -1,5 +1,5 @@
#
-# $Id$
+# $Id: Makefile.inc0,v 1.1.1.1 1998/03/01 23:40:48 jdp Exp $
#
#
@@ -17,14 +17,23 @@ 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- -I.
+.if exists(${.CURDIR}/${MACHINE_ARCH})
+CFLAGS+= -I${.CURDIR}/${MACHINE_ARCH}
+.endif
+CFLAGS+= -I${.CURDIR}
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbfd
CFLAGS+= -I${SRCDIR}/include
+
+.if exists(${.CURDIR}/${MACHINE_ARCH})
+.PATH: ${.CURDIR}/${MACHINE_ARCH}
+.endif
+
+.if exists(${.CURDIR}/Makefile.${MACHINE_ARCH})
+.include "${.CURDIR}/Makefile.${MACHINE_ARCH}"
+.endif