Makefile revision 106407
1# $FreeBSD: head/sbin/gbde/Makefile 106407 2002-11-04 09:27:01Z phk $
2
3PROG=	gbde
4SRCS=	gbde.c template.c
5SRCS+=	geom_enc.c
6SRCS+=	rijndael-alg-fst.c
7SRCS+=	rijndael-api-fst.c
8SRCS+=	sha2.c
9SRCS+=	g_bde_lock.c
10
11CFLAGS+= -I${.CURDIR}/../../sys
12.PATH:	${.CURDIR}/../../sys/geom \
13	${.CURDIR}/../../sys/geom/bde \
14	${.CURDIR}/../../sys/crypto/rijndael \
15	${.CURDIR}/../../sys/crypto/sha2
16
17CLEANFILES+= template.c
18
19MAN=	gbde.8
20LDADD=	-lmd  -lutil
21
22.include <bsd.prog.mk>
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
30