4 SRCS= gbde.c template.c
5 SRCS+= rijndael-alg-fst.c
6 SRCS+= rijndael-api-fst.c
10 # rijndael-fst.c does evil casting things which can results in warnings,
11 # the test-vectors check out however, so it works right.
14 CFLAGS+= -I${.CURDIR}/../../sys
15 .PATH: ${.CURDIR}/../../sys/geom/bde \
16 ${.CURDIR}/../../sys/crypto/rijndael \
17 ${.CURDIR}/../../sys/crypto/sha2
19 CLEANFILES+= template.c
22 DPADD= ${LIBMD} ${LIBUTIL} ${LIBGEOM}
23 LDADD= -lmd -lutil -lgeom
25 template.c: template.txt
26 file2c 'const char template[] = {' ',0};' \
27 < ${.CURDIR}/template.txt > template.c
30 sh ${.CURDIR}/test.sh ${.CURDIR}
32 .include <bsd.prog.mk>