where appropriate.
OK mikeb@
-# $OpenBSD: Makefile,v 1.11 2015/11/04 12:24:31 mikeb Exp $
+# $OpenBSD: Makefile,v 1.12 2017/06/22 18:07:30 bluhm Exp $
SUBDIR+= cmac
SUBDIR+= gmac
SUBDIR+= hmac
SUBDIR+= key_wrap
-
-.if defined(REGRESS_FULL) || make(clean) || make(cleandir) || make(obj)
SUBDIR+= enc
SUBDIR+= aesctr
SUBDIR+= aesxts
SUBDIR+= aes
SUBDIR+= chachapoly
-.endif
install:
-# $OpenBSD: Makefile,v 1.4 2017/05/02 11:33:48 mikeb Exp $
+# $OpenBSD: Makefile,v 1.5 2017/06/22 18:07:30 bluhm Exp $
DIR= ${.CURDIR}/../../../../sys
CDIAGFLAGS+= -Wsign-compare
CDIAGFLAGS+= -Wshadow
-REGRESS_ROOT_TARGETS= run-regress-${PROG}
-
.PATH: ${DIR}/crypto
SRCS+= aes.c
-# $OpenBSD: Makefile,v 1.5 2017/06/22 17:48:42 mikeb Exp $
+# $OpenBSD: Makefile,v 1.6 2017/06/22 18:07:30 bluhm Exp $
DIR= ${.CURDIR}/../../../../sys
CDIAGFLAGS+= -Wsign-compare
CDIAGFLAGS+= -Wshadow
-REGRESS_ROOT_TARGETS= run-regress-${PROG}
-
.PATH: ${DIR}/crypto
SRCS+= cast.c ecb_enc.c ecb3_enc.c gmac.c aes.c rijndael.c set_key.c
SRCS+= chachapoly.c poly1305.c
SRCS+= xform.c
-run-regress-${PROG}: ${PROG}
- ./${PROG}
-
.include <bsd.regress.mk>
-# $OpenBSD: Makefile,v 1.6 2017/05/17 17:54:29 mikeb Exp $
+# $OpenBSD: Makefile,v 1.7 2017/06/22 18:07:31 bluhm Exp $
DIR= ${.CURDIR}/../../../../sys
CDIAGFLAGS+= -Wsign-compare
CDIAGFLAGS+= -Wshadow
-REGRESS_TARGETS= run-regress-${PROG}
-
.PATH: ${DIR}/crypto
SRCS+= cast.c ecb_enc.c ecb3_enc.c gmac.c aes.c set_key.c
SRCS+= rijndael.c chachapoly.c poly1305.c
SRCS+= xform.c
-run-regress-${PROG}: ${PROG}
- ./${PROG}
-
.include <bsd.regress.mk>
-# $OpenBSD: Makefile,v 1.1 2015/11/03 01:46:08 mikeb Exp $
+# $OpenBSD: Makefile,v 1.2 2017/06/22 18:07:31 bluhm Exp $
DIR=${.CURDIR}/../../../../sys
CDIAGFLAGS+= -Wsign-compare
#CDIAGFLAGS+= -Wshadow
-REGRESS_TARGETS= run-regress-${PROG}
-
CFLAGS+= -I${DIR}
.PATH: ${DIR}/crypto
-run-regress-${PROG}: ${PROG}
- ./${PROG}
-
.include <bsd.regress.mk>
-# $OpenBSD: Makefile,v 1.4 2017/05/02 17:08:30 mikeb Exp $
+# $OpenBSD: Makefile,v 1.5 2017/06/22 18:07:31 bluhm Exp $
DIR=${.CURDIR}/../../../../sys
CDIAGFLAGS+= -Wsign-compare
#CDIAGFLAGS+= -Wshadow
-REGRESS_TARGETS= run-regress-${PROG}
-
CFLAGS+= -I${DIR}
.PATH: ${DIR}/crypto/
-# $OpenBSD: Makefile,v 1.9 2017/06/22 17:48:42 mikeb Exp $
+# $OpenBSD: Makefile,v 1.10 2017/06/22 18:07:31 bluhm Exp $
DIR= ${.CURDIR}/../../../../sys
LDADD=-lcrypto
DPADD=${LIBCRYPTO}
-REGRESS_ROOT_TARGETS= run-regress-${PROG}
-
.PATH: ${DIR}/crypto
SRCS+= aes.c cast.c ecb_enc.c ecb3_enc.c gmac.c rijndael.c set_key.c
SRCS+= chachapoly.c poly1305.c
SRCS+= xform.c
-run-regress-${PROG}: ${PROG}
- ./${PROG}
-
.include <bsd.regress.mk>
-# $OpenBSD: Makefile,v 1.3 2017/05/02 11:46:00 mikeb Exp $
+# $OpenBSD: Makefile,v 1.4 2017/06/22 18:07:31 bluhm Exp $
DIR=${.CURDIR}/../../../../sys
CDIAGFLAGS+= -Wsign-compare
#CDIAGFLAGS+= -Wshadow
-REGRESS_TARGETS= run-regress-${PROG}
-
CFLAGS+= -I${DIR}
.PATH: ${DIR}/crypto
-run-regress-${PROG}: ${PROG}
- ./${PROG}
-
.include <bsd.regress.mk>
-# $OpenBSD: Makefile,v 1.3 2014/01/18 05:54:52 martynas Exp $
+# $OpenBSD: Makefile,v 1.4 2017/06/22 18:07:31 bluhm Exp $
DIR=${.CURDIR}/../../../../sys
CDIAGFLAGS+= -Wsign-compare
#CDIAGFLAGS+= -Wshadow
-REGRESS_TARGETS= run-regress-${PROG}
-
CFLAGS+= -I${DIR}
.PATH: ${DIR}/crypto/
-# $OpenBSD: Makefile,v 1.5 2017/05/02 17:08:30 mikeb Exp $
+# $OpenBSD: Makefile,v 1.6 2017/06/22 18:07:31 bluhm Exp $
DIR=${.CURDIR}/../../../../sys
CDIAGFLAGS+= -Wsign-compare
#CDIAGFLAGS+= -Wshadow
-REGRESS_TARGETS= run-regress-${PROG}
-
CFLAGS+= -I${DIR}
.PATH: ${DIR}/crypto/ ${DIR}/lib/libkern/