1 2PACKAGE=geom 3PROG= gbde 4SRCS= gbde.c template.c 5SRCS+= rijndael-alg-fst.c 6SRCS+= rijndael-api-fst.c 7SRCS+= 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. 11NO_WCAST_ALIGN= 12NO_WMISSING_VARIABLE_DECLARATIONS= 13 14CFLAGS+= -I${SRCTOP}/sys 15.PATH: ${SRCTOP}/sys/geom/bde \ 16 ${SRCTOP}/sys/crypto/rijndael \ 17 ${SRCTOP}/sys/crypto/sha2 18 19CLEANFILES+= template.c 20 21MAN= gbde.8 22LIBADD= md util geom 23 24template.c: template.txt 25 file2c 'const char template[] = {' ',0};' \ 26 < ${.CURDIR}/template.txt > template.c 27 28test: ${PROG} 29 sh ${.CURDIR}/test.sh ${.CURDIR} 30 31.include <bsd.prog.mk> 32