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