# $OpenBSD: Makefile,v 1.4 2014/01/18 05:54:52 martynas Exp $ DIR=${.CURDIR}/../../../../sys PROG= key_wrap_test SRCS+= rijndael.c key_wrap.c key_wrap_test.c timingsafe_bcmp.c CDIAGFLAGS= -Wall CDIAGFLAGS+= -Werror CDIAGFLAGS+= -Wpointer-arith CDIAGFLAGS+= -Wno-uninitialized CDIAGFLAGS+= -Wstrict-prototypes CDIAGFLAGS+= -Wmissing-prototypes CDIAGFLAGS+= -Wunused CDIAGFLAGS+= -Wsign-compare #CDIAGFLAGS+= -Wshadow REGRESS_TARGETS= run-regress-${PROG} CFLAGS+= -I${DIR} .PATH: ${DIR}/crypto/ ${DIR}/lib/libkern/ run-regress-${PROG}: ${PROG} ./${PROG} | diff - ${.CURDIR}/${PROG}.txt .include