mirror of
https://github.com/opnsense/src.git
synced 2026-02-16 09:08:51 -05:00
-maes option, but not the -mpclmul option as I ran out of bits in the 32 bit flags field... You can -D__PCLMUL__ to get this, but it won't be compatible w/ clang and modern gcc... Reviewed by: -current, -toolchain
28 lines
741 B
Makefile
28 lines
741 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
INCSDIR=${INCLUDEDIR}/gcc/${GCCVER}
|
|
|
|
.PATH: ${GCCDIR}/config/${GCC_CPU} ${.CURDIR}/../../../../contrib/llvm/tools/clang/lib/Headers
|
|
|
|
.if ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64"
|
|
INCS= ammintrin.h emmintrin.h mmintrin.h mm3dnow.h pmmintrin.h \
|
|
tmmintrin.h xmmintrin.h mm_malloc.h
|
|
INCS+= wmmintrin.h __wmmintrin_aes.h __wmmintrin_pclmul.h
|
|
.elif ${TARGET_ARCH} == "ia64"
|
|
INCS= ia64intrin.h
|
|
.elif ${TARGET_ARCH} == "arm"
|
|
INCS= mmintrin.h
|
|
.elif ${TARGET_ARCH} == "powerpc" || ${TARGET_ARCH} == "powerpc64"
|
|
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.prog.mk>
|