1210409Skib# $FreeBSD: releng/10.3/sys/modules/aesni/Makefile 255452 2013-09-10 16:50:13Z obrien $ 2210409Skib 3210409Skib.PATH: ${.CURDIR}/../../crypto/aesni 4210409Skib 5210409SkibKMOD= aesni 6255187SjmgSRCS= aesni.c 7255187SjmgSRCS+= aeskeys_${MACHINE_CPUARCH}.S 8210409SkibSRCS+= device_if.h bus_if.h opt_bus.h cryptodev_if.h 9210409Skib 10255187SjmgOBJS+= aesni_wrap.o 11255187Sjmg 12255187Sjmg# Remove -nostdinc so we can get the intrinsics. 13255187Sjmgaesni_wrap.o: aesni_wrap.c 14255187Sjmg ${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} ${PROF} \ 15255452Sobrien -mmmx -msse -maes ${.IMPSRC} 16255187Sjmg ${CTFCONVERT_CMD} 17255187Sjmg 18210409Skib.include <bsd.kmod.mk> 19255187Sjmg 20