policy test: simplify Makefile
authortb <tb@openbsd.org>
Sun, 30 Apr 2023 04:55:30 +0000 (04:55 +0000)
committertb <tb@openbsd.org>
Sun, 30 Apr 2023 04:55:30 +0000 (04:55 +0000)
regress/lib/libcrypto/x509/policy/Makefile

index d760071..3df3d51 100644 (file)
@@ -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>