summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc/include
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2010-05-04 18:37:01 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2010-05-04 18:37:01 +0000
commit22479fa11d54345c4fc4e503894d73ebe042699b (patch)
treef1f83ede7de38dafb22d68e6b7597c7828a767df /gnu/usr.bin/cc/include
parentc63836ae0978aff66479afba149e6cd7a1b860f9 (diff)
add infrastructure to build GCC 4.2.1 for OpenBSD/alpha; ok kettenis@
Diffstat (limited to 'gnu/usr.bin/cc/include')
-rw-r--r--gnu/usr.bin/cc/include/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/usr.bin/cc/include/Makefile b/gnu/usr.bin/cc/include/Makefile
index 12e734a2982..a5935e76db6 100644
--- a/gnu/usr.bin/cc/include/Makefile
+++ b/gnu/usr.bin/cc/include/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD: src/gnu/usr.bin/cc/include/Makefile,v 1.9.8.1 2009/04/15 03:14:26 kensmith Exp $
-# $OpenBSD: Makefile,v 1.3 2010/04/25 21:04:27 kettenis Exp $
+# $OpenBSD: Makefile,v 1.4 2010/05/04 18:37:00 naddy Exp $
.include <bsd.own.mk>
@@ -8,6 +8,7 @@
.PATH: ${GCCDIR}/config/${GCC_CPU}
+INCS?=
.if ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64"
INCS= emmintrin.h mmintrin.h pmmintrin.h xmmintrin.h mm_malloc.h
.elif ${TARGET_ARCH} == "arm"
@@ -29,7 +30,7 @@ clean: _SUBDIRUSE
depend:
# Nothing here so far...
-.if ${TARGET_ARCH} != "hppa" && ${TARGET_ARCH} != "sparc64"
+.if !empty(INCS)
install: ${INCS}
${INSTALL} -C -o ${BINOWN} -g ${LOCALEGRP} -m ${NONBINMODE} ${.ALLSRC} \
${DESTDIR}/usr/include