Makefile revision 319185
1# $FreeBSD: stable/11/sbin/gbde/Makefile 319185 2017-05-30 04:17:22Z ngie $ 2 3PACKAGE=runtime 4PROG= gbde 5SRCS= gbde.c template.c 6SRCS+= rijndael-alg-fst.c 7SRCS+= rijndael-api-fst.c 8SRCS+= sha512c.c 9SRCS+= g_bde_lock.c 10 11# rijndael-fst.c does evil casting things which can results in warnings, 12# the test-vectors check out however, so it works right. 13NO_WCAST_ALIGN= 14NO_WMISSING_VARIABLE_DECLARATIONS= 15 16CFLAGS+= -I${SRCTOP}/sys 17.PATH: ${SRCTOP}/sys/geom/bde \ 18 ${SRCTOP}/sys/crypto/rijndael \ 19 ${SRCTOP}/sys/crypto/sha2 20 21CLEANFILES+= template.c 22 23MAN= gbde.8 24LIBADD= md util geom 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