2002-10-20 11:16:13 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PROG= gbde
|
|
|
|
SRCS= gbde.c template.c
|
|
|
|
SRCS+= geom_enc.c
|
|
|
|
SRCS+= rijndael-alg-fst.c
|
|
|
|
SRCS+= rijndael-api-fst.c
|
|
|
|
SRCS+= g_bde_lock.c
|
|
|
|
|
2002-10-21 05:25:02 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../sys
|
2002-10-20 15:02:26 +00:00
|
|
|
.PATH: ${.CURDIR}/../../sys/geom ${.CURDIR}/../../sys/geom/bde \
|
|
|
|
${.CURDIR}/../../sys/crypto/rijndael
|
2002-10-20 11:16:13 +00:00
|
|
|
|
|
|
|
CLEANFILES+= template.c
|
|
|
|
|
|
|
|
MAN= gbde.8
|
|
|
|
LDADD= -lmd -lutil
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
|
|
|
template.c: template.txt
|
|
|
|
file2c 'const char template[] = {' ',0};' \
|
|
|
|
< ${.CURDIR}/template.txt > template.c
|
|
|
|
|
|
|
|
test: ${PROG}
|
|
|
|
sh ${.CURDIR}/test.sh
|