]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/modules/crypto/Makefile
Update clang to release_39 branch r276489, and resolve conflicts.
[FreeBSD/FreeBSD.git] / sys / modules / crypto / Makefile
1 # $FreeBSD$
2
3 .PATH:  ${.CURDIR}/../../opencrypto
4 .PATH:  ${.CURDIR}/../../crypto
5 .PATH:  ${.CURDIR}/../../crypto/blowfish
6 .PATH:  ${.CURDIR}/../../crypto/camellia
7 .PATH:  ${.CURDIR}/../../crypto/des
8 .PATH:  ${.CURDIR}/../../crypto/rijndael
9 .PATH:  ${.CURDIR}/../../crypto/sha2
10 .PATH:  ${.CURDIR}/../../crypto/siphash
11 .PATH:  ${.CURDIR}/../../crypto/skein
12
13 KMOD    = crypto
14 SRCS    = crypto.c cryptodev_if.c
15 SRCS    += criov.c cryptosoft.c xform.c
16 SRCS    += cast.c cryptodeflate.c rmd160.c rijndael-alg-fst.c rijndael-api.c rijndael-api-fst.c
17 SRCS    += skipjack.c bf_enc.c bf_ecb.c bf_skey.c
18 SRCS    += camellia.c camellia-api.c
19 SRCS    += des_ecb.c des_enc.c des_setkey.c
20 SRCS    += sha1.c sha256c.c sha512c.c
21 SRCS    += skein.c skein_block.c
22 .if exists(${MACHINE_ARCH}/skein_block_asm.s)
23 .PATH:  ${.CURDIR}/../../crypto/skein/${MACHINE_ARCH}
24 SRCS    += skein_block_asm.s
25 CFLAGS  += -DSKEIN_ASM -DSKEIN_USE_ASM=1792 # list of block functions to replace with assembly: 256+512+1024 = 1792
26 ACFLAGS += -DELF -Wa,--noexecstack
27 .endif
28 SRCS    += siphash.c
29 SRCS    += gmac.c gfmult.c
30 SRCS    += opt_param.h cryptodev_if.h bus_if.h device_if.h
31 SRCS    += opt_ddb.h
32
33 .include <bsd.kmod.mk>