1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../crypto/aesni 4 5KMOD= aesni 6SRCS= aesni.c 7SRCS+= aeskeys_${MACHINE_CPUARCH}.S 8SRCS+= device_if.h bus_if.h opt_bus.h cryptodev_if.h 9 10OBJS+= aesni_wrap.o 11 12# Remove -nostdinc so we can get the intrinsics. 13aesni_wrap.o: aesni_wrap.c 14 ${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} ${PROF} \ 15 -mmmx -msse -maes ${.IMPSRC} 16 ${CTFCONVERT_CMD} 17 18.include <bsd.kmod.mk> 19 20