]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - gnu/usr.bin/cc/include/Makefile
Move all sources from the llvm project into contrib/llvm-project.
[FreeBSD/FreeBSD.git] / gnu / usr.bin / cc / include / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 .include "../Makefile.inc"
6
7 INCSDIR=${INCLUDEDIR}/gcc/${GCCVER}
8
9 .PATH: ${GCCDIR}/config/${GCC_CPU} ${SRCTOP}/contrib/llvm-project/clang/lib/Headers
10
11 .if ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64"
12 INCS=   ammintrin.h emmintrin.h mmintrin.h mm3dnow.h pmmintrin.h \
13         tmmintrin.h xmmintrin.h mm_malloc.h
14 INCS+=  wmmintrin.h __wmmintrin_aes.h __wmmintrin_pclmul.h
15 .elif ${TARGET_ARCH} == "arm"
16 INCS=   mmintrin.h
17 .elif ${TARGET_ARCH} == "powerpc" || ${TARGET_ARCH} == "powerpc64" || \
18     ${TARGET_ARCH} == "powerpcspe"
19 INCS=   ppc-asm.h altivec.h spe.h
20 .endif
21
22 mm_malloc.h: pmm_malloc.h
23         @rm -rf ${.TARGET}
24         @cp ${.ALLSRC} ${.TARGET}
25 CLEANFILES+=    mm_malloc.h
26
27 .include <bsd.prog.mk>