Makefile revision 249657
1# $FreeBSD: head/sbin/gbde/Makefile 249657 2013-04-19 19:45:00Z ed $ 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= 13NO_WMISSING_VARIABLE_DECLARATIONS= 14 15CFLAGS+= -I${.CURDIR}/../../sys 16.PATH: ${.CURDIR}/../../sys/geom/bde \ 17 ${.CURDIR}/../../sys/crypto/rijndael \ 18 ${.CURDIR}/../../sys/crypto/sha2 19 20CLEANFILES+= template.c 21 22MAN= gbde.8 23DPADD= ${LIBMD} ${LIBUTIL} ${LIBGEOM} 24LDADD= -lmd -lutil -lgeom 25 26template.c: template.txt 27 file2c 'const char template[] = {' ',0};' \ 28 < ${.CURDIR}/template.txt > template.c 29 30test: ${PROG} 31 sh ${.CURDIR}/test.sh ${.CURDIR} 32 33.include <bsd.prog.mk> 34