aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc/cc_tools/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2008-08-31 23:38:28 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2008-08-31 23:38:28 +0000
commit9dec52bfb2806d69392f4eefb3eaa91f355d2608 (patch)
treebc857117127eed5f74da8855b772fc2ddf1577aa /gnu/usr.bin/cc/cc_tools/Makefile
parentf4769d108767fa899563e9873327668e17556ed8 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/cc/cc_tools/Makefile')
-rw-r--r--gnu/usr.bin/cc/cc_tools/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile
index 8ff177c1c9bf..586878b99722 100644
--- a/gnu/usr.bin/cc/cc_tools/Makefile
+++ b/gnu/usr.bin/cc/cc_tools/Makefile
@@ -38,22 +38,25 @@ TARGET_INC+= freebsd-native.h
TARGET_INC+= freebsd-spec.h
TARGET_INC+= freebsd.h
.if ${TARGET_ARCH} != "i386" && ${TARGET_ARCH} != "amd64"
-.if exists(${GCCDIR}/config/${GCC_CPU}/sysv4.h)
+. if exists(${GCCDIR}/config/${GCC_CPU}/sysv4.h)
TARGET_INC+= ${GCC_CPU}/sysv4.h
-.endif
+. endif
.endif
.if ${TARGET_ARCH} == "amd64"
TARGET_INC+= ${GCC_CPU}/x86-64.h
-TARGET_INC+= ${GCC_CPU}/freebsd.h
-TARGET_INC+= ${GCC_CPU}/freebsd64.h
-TARGET_INC+= freebsd64-fix.h
-.elif ${TARGET_ARCH} == "arm"
+.endif
+.if ${TARGET_ARCH} == "arm"
TARGET_INC+= ${GCC_CPU}/elf.h
+.endif
+.if ${TARGET_ARCH} == "arm"
TARGET_INC+= ${GCC_CPU}/aout.h
+.endif
TARGET_INC+= ${GCC_CPU}/freebsd.h
+.if ${TARGET_ARCH} == "amd64"
+TARGET_INC+= ${GCC_CPU}/freebsd64.h
+.endif
+.if ${TARGET_ARCH} == "arm"
TARGET_INC+= ${GCC_CPU}/arm.h
-.else
-TARGET_INC+= ${GCC_CPU}/freebsd.h
.endif
TARGET_INC+= defaults.h