]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - stand/geli/Makefile
Fix all warnings related to geli and ZFS support on x86.
[FreeBSD/FreeBSD.git] / stand / geli / Makefile
1 # $FreeBSD$
2 # libgeliboot
3
4 MAN=
5 DO32=1
6
7 .include <bsd.init.mk>
8 MK_SSP=         no
9
10 LIB=            geliboot
11 INTERNALLIB=
12 MK_PROFILE=     no
13 NO_PIC=
14
15 # Our password input method
16 SRCS+=  pwgets.c
17
18 # sha256 and sha512 from sys/crypto
19 .PATH: ${SYSDIR}/crypto/sha2
20 CFLAGS+=        -DWEAK_REFS
21 SRCS+=          sha256c.c sha512c.c
22
23 # md5 from libmd
24 .PATH: ${SRCTOP}/lib/libmd
25 SRCS+=          md5c.c
26
27 # AES implementation from sys/crypto
28 .PATH: ${SYSDIR}/crypto/rijndael
29 CFLAGS+=        -I${LDRSRC}
30 # Remove asserts
31 CFLAGS+=        -DNDEBUG
32 SRCS+=          rijndael-alg-fst.c rijndael-api-fst.c rijndael-api.c
33
34 # local GELI Implementation
35 .PATH: ${SYSDIR}/geom/eli
36 SRCS+=          geliboot_crypto.c g_eli_hmac.c g_eli_key.c g_eli_key_cache.c pkcs5v2.c
37
38 # aes
39 .PATH:          ${SYSDIR}/opencrypto
40 SRCS+=          xform_aes_xts.c
41
42 .include <bsd.stand.mk>
43 .include <bsd.lib.mk>