summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-04-30 04:55:31 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-04-30 04:55:31 +0000
commit40dd28c6fa6ad6030cad08cfef752b47e79a8a8c (patch)
tree3a46951eb1e3a5d79bb1a2a609699ca6096f14a2 /regress/lib
parent5e49d16b3230df991bfe79427a6dd62c9a8dd12a (diff)
policy test: simplify Makefile
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libcrypto/x509/policy/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/regress/lib/libcrypto/x509/policy/Makefile b/regress/lib/libcrypto/x509/policy/Makefile
index d760071f9fb..3df3d51d92b 100644
--- a/regress/lib/libcrypto/x509/policy/Makefile
+++ b/regress/lib/libcrypto/x509/policy/Makefile
@@ -1,22 +1,15 @@
-# $OpenBSD: Makefile,v 1.3 2023/04/28 16:18:17 tb Exp $
+# $OpenBSD: Makefile,v 1.4 2023/04/30 04:55:30 tb Exp $
PROGS = policy
-LDADD = -lcrypto
+LDADD = ${CRYPTO_INT}
DPADD = ${LIBCRYPTO}
-LDADD_policy = ${CRYPTO_INT}
-
WARNINGS = Yes
CFLAGS += -DLIBRESSL_INTERNAL -Wall -Werror
CFLAGS += -I${.CURDIR}/../../../../../lib/libcrypto/x509
CFLAGS += -I${.CURDIR}/../../../../../lib/libcrypto/bytestring
CFLAGS += -DCERTSDIR=\"${.CURDIR}/../../../libcrypto/x509/policy\"
-REGRESS_TARGETS = policy-test
-
-policy-test: policy
- ./policy
-
.include "../../Makefile.inc"
.include <bsd.regress.mk>