1# $OpenBSD: Makefile,v 1.3 2014/08/15 14:36:19 mikeb Exp $ 2 3DIR= ${.CURDIR}/../../../../sys 4 5CFLAGS+= -I${DIR} 6 7PROG= aestest 8SRCS= aestest.c 9CDIAGFLAGS= -Wall 10#CDIAGFLAGS+= -Werror 11CDIAGFLAGS+= -Wpointer-arith 12CDIAGFLAGS+= -Wno-uninitialized 13CDIAGFLAGS+= -Wstrict-prototypes 14CDIAGFLAGS+= -Wmissing-prototypes 15CDIAGFLAGS+= -Wunused 16CDIAGFLAGS+= -Wsign-compare 17CDIAGFLAGS+= -Wshadow 18 19REGRESS_ROOT_TARGETS= run-regress-${PROG} 20 21.PATH: ${DIR}/crypto 22SRCS+= rijndael.c 23 24run-regress-${PROG}: ${PROG} 25 ./${PROG} ${.CURDIR}/vectors/*.txt 26 27.include <bsd.regress.mk> 28