GCC 4.5 x86 installs a bunch more platform header files

This commit is contained in:
mrg 2011-06-29 08:37:10 +00:00
parent f53e78abc3
commit 5c7719af90
1 changed files with 23 additions and 2 deletions

View File

@ -1,12 +1,33 @@
# $NetBSD: Makefile,v 1.1 2011/06/21 06:03:15 mrg Exp $
# $NetBSD: Makefile,v 1.2 2011/06/29 08:37:10 mrg Exp $
.include "../Makefile.inc"
.if ${MACHINE_CPU} == "powerpc"
INCS= altivec.h
.elif ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
INCS= emmintrin.h mmintrin.h pmmintrin.h xmmintrin.h mm_malloc.h
INCS= \
mmintrin.h \
mm3dnow.h \
xmmintrin.h \
emmintrin.h \
pmmintrin.h \
tmmintrin.h \
ammintrin.h \
smmintrin.h \
nmmintrin.h \
bmmintrin.h \
fma4intrin.h \
wmmintrin.h \
immintrin.h \
x86intrin.h \
avxintrin.h \
xopintrin.h \
ia32intrin.h \
popcntintrin.h \
lwpintrin.h \
abmintrin.h
# XXX this comment is no longer true:
# We don't have posix_memalign, so use the gmm_malloc.h version.
mm_malloc.h: ${DIST}/gcc/config/i386/gmm_malloc.h
cp $> ${.TARGET}