Makefile revision 228610
1# $FreeBSD: head/sbin/gbde/Makefile 228610 2011-12-17 00:14:40Z dim $ 2 3PROG= gbde 4SRCS= gbde.c template.c 5SRCS+= rijndael-alg-fst.c 6SRCS+= rijndael-api-fst.c 7SRCS+= sha2.c 8SRCS+= g_bde_lock.c 9 10# rijndael-fst.c does evil casting things which can results in warnings, 11# the test-vectors check out however, so it works right. 12NO_WCAST_ALIGN= 13 14CFLAGS+= -I${.CURDIR}/../../sys 15.PATH: ${.CURDIR}/../../sys/geom/bde \ 16 ${.CURDIR}/../../sys/crypto/rijndael \ 17 ${.CURDIR}/../../sys/crypto/sha2 18 19CLEANFILES+= template.c 20 21MAN= gbde.8 22DPADD= ${LIBMD} ${LIBUTIL} ${LIBGEOM} 23LDADD= -lmd -lutil -lgeom 24 25template.c: template.txt 26 file2c 'const char template[] = {' ',0};' \ 27 < ${.CURDIR}/template.txt > template.c 28 29test: ${PROG} 30 sh ${.CURDIR}/test.sh ${.CURDIR} 31 32.include <bsd.prog.mk> 33