aboutsummaryrefslogtreecommitdiff
path: root/gnu/lib/libgcc/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-11-15 04:16:19 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-11-15 04:16:19 +0000
commiteb33411e9bac70e56d6ae4a5dcf8a529e1786085 (patch)
treef399e7722badfbeb23dab8bc9569d927e8b27d2c /gnu/lib/libgcc/Makefile
parentbdaf2e812a760b6b645cd01cfbd3345949f7ccae (diff)
Notes
Diffstat (limited to 'gnu/lib/libgcc/Makefile')
-rw-r--r--gnu/lib/libgcc/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile
index 60f6a34523bd9..bde276955f006 100644
--- a/gnu/lib/libgcc/Makefile
+++ b/gnu/lib/libgcc/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-GCCDIR= ${.CURDIR}/../../../contrib/egcs/gcc
+GCCDIR= ${.CURDIR}/../../../contrib/gcc
.PATH: ${GCCDIR}/cp ${GCCDIR}
@@ -86,14 +86,22 @@ config.h:
echo '#include <xm-freebsd.h>' >> ${.TARGET}
tconfig.h:
- echo '#include "${MACHINE_ARCH}/xm-${MACHINE_ARCH}.h"' > ${.TARGET}
+ echo '#include "gansidecl.h"' > ${.TARGET}
+ echo '#include "${MACHINE_ARCH}/xm-${MACHINE_ARCH}.h"' >> ${.TARGET}
+# KEEP THIS IN SYNC with src/gcc/usr.bin/cc/cc_tools/Makefile !!
tm.h:
echo '#include "${MACHINE_ARCH}/${MACHINE_ARCH}.h"' > ${.TARGET}
.if ${MACHINE_ARCH} == "i386"
echo '#include "${MACHINE_ARCH}/att.h"' >> ${.TARGET}
+ echo '#include "svr4.h"' >> ${.TARGET}
.endif
+ echo '#include <freebsd.h>' >> ${.TARGET}
+.if ${MACHINE_ARCH} == "alpha"
+ echo '#include "${MACHINE_ARCH}/freebsd4.h"' >> ${.TARGET}
+.else
echo '#include "${MACHINE_ARCH}/freebsd.h"' >> ${.TARGET}
+.endif
.if ${MACHINE_ARCH} == "i386"
echo '#include "${MACHINE_ARCH}/perform.h"' >> ${.TARGET}
.endif