freebsd-skq/sbin/gbde/Makefile

34 lines
697 B
Makefile
Raw Normal View History

# $FreeBSD$
PACKAGE=runtime
PROG= gbde
SRCS= gbde.c template.c
SRCS+= rijndael-alg-fst.c
SRCS+= rijndael-api-fst.c
SRCS+= sha512c.c
SRCS+= g_bde_lock.c
# rijndael-fst.c does evil casting things which can results in warnings,
# the test-vectors check out however, so it works right.
NO_WCAST_ALIGN=
NO_WMISSING_VARIABLE_DECLARATIONS=
2002-12-17 19:16:10 +00:00
CFLAGS+= -I${SRCTOP}/sys
.PATH: ${SRCTOP}/sys/geom/bde \
${SRCTOP}/sys/crypto/rijndael \
${SRCTOP}/sys/crypto/sha2
CLEANFILES+= template.c
MAN= gbde.8
LIBADD= md util geom
2003-04-16 11:54:11 +00:00
template.c: template.txt
file2c 'const char template[] = {' ',0};' \
< ${.CURDIR}/template.txt > template.c
2003-04-16 11:54:11 +00:00
test: ${PROG}
sh ${.CURDIR}/test.sh ${.CURDIR}
2003-04-16 11:54:11 +00:00
.include <bsd.prog.mk>