680e78b305
headers as GCC, but of their own implementation. So put the GCC ones into their own header "namespace". Requested by: ed
27 lines
575 B
Makefile
27 lines
575 B
Makefile
# $FreeBSD$
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
INCSDIR=${INCLUDEDIR}/gcc/${GCCVER}
|
|
|
|
.PATH: ${GCCDIR}/config/${GCC_CPU}
|
|
|
|
.if ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64"
|
|
INCS= emmintrin.h mmintrin.h pmmintrin.h xmmintrin.h mm_malloc.h
|
|
.elif ${TARGET_ARCH} == "ia64"
|
|
INCS= ia64intrin.h
|
|
.elif ${TARGET_ARCH} == "arm"
|
|
INCS= mmintrin.h
|
|
.elif ${TARGET_ARCH} == "powerpc"
|
|
INCS= ppc-asm.h altivec.h spe.h
|
|
.endif
|
|
|
|
mm_malloc.h: pmm_malloc.h
|
|
@rm -rf ${.TARGET}
|
|
@cp ${.ALLSRC} ${.TARGET}
|
|
CLEANFILES+= mm_malloc.h
|
|
|
|
.include <bsd.init.mk>
|
|
.include <bsd.incs.mk>
|
|
.include <bsd.obj.mk>
|