summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-06-04 20:00:29 +0000
committerobrien <obrien@FreeBSD.org>2002-06-04 20:00:29 +0000
commit88e35be20b10edee9c7e5a927747ea3a4edf703a (patch)
tree6b780dad39f0af155388e6bcce628ebbce0aa5c8 /gnu
parentde6ca3ba07600314fa31057ca6a69cfcdd7a5e7c (diff)
downloadFreeBSD-src-88e35be20b10edee9c7e5a927747ea3a4edf703a.zip
FreeBSD-src-88e35be20b10edee9c7e5a927747ea3a4edf703a.tar.gz
Install the i386 MMX headers, and IA-64 intrinsics functions.
Requested by: peter
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cc/Makefile2
-rw-r--r--gnu/usr.bin/cc/include/Makefile16
2 files changed, 17 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/Makefile b/gnu/usr.bin/cc/Makefile
index c4d939d..23499e1 100644
--- a/gnu/usr.bin/cc/Makefile
+++ b/gnu/usr.bin/cc/Makefile
@@ -3,7 +3,7 @@
# The order of some of these are rather important. Some depend on previous
# subdirs.
-SUBDIR= cc_tools cc_int cc cc1 cpp0 protoize tradcpp0 doc
+SUBDIR= cc_tools cc_int cc cc1 cpp0 include protoize tradcpp0 doc
.if !defined(NO_CPP)
SUBDIR+= cpp
diff --git a/gnu/usr.bin/cc/include/Makefile b/gnu/usr.bin/cc/include/Makefile
new file mode 100644
index 0000000..c6ee75f
--- /dev/null
+++ b/gnu/usr.bin/cc/include/Makefile
@@ -0,0 +1,16 @@
+# $FreeBSD$
+
+.include "../Makefile.inc"
+
+.PATH: ${GCCDIR}/config/${GCC_CPU}
+
+.if ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "x86-64"
+INCS= mmintrin.h xmmintrin.h
+.elif ${TARGET_ARCH} == "ia64"
+INCS= ia64intrin.h
+.endif
+
+.include <bsd.init.mk>
+.include <bsd.incs.mk>
+.include <bsd.dep.mk>
+.include <bsd.obj.mk>
OpenPOWER on IntegriCloud