]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/modules/aesni/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / sys / modules / aesni / Makefile
1 # $FreeBSD$
2
3 .PATH: ${.CURDIR}/../../crypto/aesni
4
5 KMOD=   aesni
6 SRCS=   aesni.c
7 SRCS+=  aeskeys_${MACHINE_CPUARCH}.S
8 SRCS+=  device_if.h bus_if.h opt_bus.h cryptodev_if.h
9
10 OBJS+=  aesni_wrap.o
11
12 # Remove -nostdinc so we can get the intrinsics.
13 aesni_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