summaryrefslogtreecommitdiffstats
path: root/sbin/gbde/Makefile
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-20 11:16:13 +0000
committerphk <phk@FreeBSD.org>2002-10-20 11:16:13 +0000
commit7748521fbcda032a04350fddb6676e01085668bd (patch)
tree1565b3d36c81147a1efa162ea3acccd662675e60 /sbin/gbde/Makefile
parent9c61841d19004e25f56b1614e189c3d788de7154 (diff)
downloadFreeBSD-src-7748521fbcda032a04350fddb6676e01085668bd.zip
FreeBSD-src-7748521fbcda032a04350fddb6676e01085668bd.tar.gz
Complete the Geom Based Disk Encryption: Add the OAM utility.
Sponsored by: DARPA and NAI Labs
Diffstat (limited to 'sbin/gbde/Makefile')
-rw-r--r--sbin/gbde/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/sbin/gbde/Makefile b/sbin/gbde/Makefile
new file mode 100644
index 0000000..f23ca62
--- /dev/null
+++ b/sbin/gbde/Makefile
@@ -0,0 +1,25 @@
+# $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
+
+CFLAGS+= -I/sys
+VPATH += ${.CURDIR}/../../sys/geom:${.CURDIR}/../../sys/geom/bde:${.CURDIR}/../../sys/crypto/rijndael
+
+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
OpenPOWER on IntegriCloud