]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sbin/gbde/Makefile
Optionally bind ktls threads to NUMA domains
[FreeBSD/FreeBSD.git] / sbin / gbde / Makefile
1 # $FreeBSD$
2
3 PACKAGE=runtime
4 PROG=   gbde
5 SRCS=   gbde.c template.c
6 SRCS+=  rijndael-alg-fst.c
7 SRCS+=  rijndael-api-fst.c
8 SRCS+=  sha512c.c
9 SRCS+=  g_bde_lock.c
10
11 # rijndael-fst.c does evil casting things which can results in warnings,
12 # the test-vectors check out however, so it works right.
13 NO_WCAST_ALIGN=
14 NO_WMISSING_VARIABLE_DECLARATIONS=
15
16 CFLAGS+= -I${SRCTOP}/sys
17 .PATH:  ${SRCTOP}/sys/geom/bde \
18         ${SRCTOP}/sys/crypto/rijndael \
19         ${SRCTOP}/sys/crypto/sha2
20
21 CLEANFILES+= template.c
22
23 MAN=    gbde.8
24 LIBADD= md util geom
25
26 template.c: template.txt
27         file2c 'const char template[] = {' ',0};' \
28                 < ${.CURDIR}/template.txt > template.c
29
30 test: ${PROG}
31         sh ${.CURDIR}/test.sh ${.CURDIR}
32
33 .include <bsd.prog.mk>