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.
13 NO_WMISSING_VARIABLE_DECLARATIONS=
15 CFLAGS+= -I${.CURDIR}/../../sys
16 .PATH: ${.CURDIR}/../../sys/geom/bde \
17 ${.CURDIR}/../../sys/crypto/rijndael \
18 ${.CURDIR}/../../sys/crypto/sha2
20 CLEANFILES+= template.c
23 DPADD= ${LIBMD} ${LIBUTIL} ${LIBGEOM}
24 LDADD= -lmd -lutil -lgeom
26 template.c: template.txt
27 file2c 'const char template[] = {' ',0};' \
28 < ${.CURDIR}/template.txt > template.c
31 sh ${.CURDIR}/test.sh ${.CURDIR}
33 .include <bsd.prog.mk>