diff options
author | tb <> | 2023-04-30 04:55:30 +0000 |
---|---|---|
committer | tb <> | 2023-04-30 04:55:30 +0000 |
commit | 268cdc6d2d09d481a0a2c3e1c62334c17b3a4179 (patch) | |
tree | 4265fe7455998b8c4fb1380774f2d2aa5a2c7a1a /src | |
parent | 754dd8cc01c6b74e180955f785d4cf88f725dfe1 (diff) | |
download | openbsd-268cdc6d2d09d481a0a2c3e1c62334c17b3a4179.tar.gz openbsd-268cdc6d2d09d481a0a2c3e1c62334c17b3a4179.tar.bz2 openbsd-268cdc6d2d09d481a0a2c3e1c62334c17b3a4179.zip |
policy test: simplify Makefile
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libcrypto/x509/policy/Makefile | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/regress/lib/libcrypto/x509/policy/Makefile b/src/regress/lib/libcrypto/x509/policy/Makefile index d760071f9f..3df3d51d92 100644 --- a/src/regress/lib/libcrypto/x509/policy/Makefile +++ b/src/regress/lib/libcrypto/x509/policy/Makefile | |||
@@ -1,22 +1,15 @@ | |||
1 | # $OpenBSD: Makefile,v 1.3 2023/04/28 16:18:17 tb Exp $ | 1 | # $OpenBSD: Makefile,v 1.4 2023/04/30 04:55:30 tb Exp $ |
2 | 2 | ||
3 | PROGS = policy | 3 | PROGS = policy |
4 | 4 | ||
5 | LDADD = -lcrypto | 5 | LDADD = ${CRYPTO_INT} |
6 | DPADD = ${LIBCRYPTO} | 6 | DPADD = ${LIBCRYPTO} |
7 | 7 | ||
8 | LDADD_policy = ${CRYPTO_INT} | ||
9 | |||
10 | WARNINGS = Yes | 8 | WARNINGS = Yes |
11 | CFLAGS += -DLIBRESSL_INTERNAL -Wall -Werror | 9 | CFLAGS += -DLIBRESSL_INTERNAL -Wall -Werror |
12 | CFLAGS += -I${.CURDIR}/../../../../../lib/libcrypto/x509 | 10 | CFLAGS += -I${.CURDIR}/../../../../../lib/libcrypto/x509 |
13 | CFLAGS += -I${.CURDIR}/../../../../../lib/libcrypto/bytestring | 11 | CFLAGS += -I${.CURDIR}/../../../../../lib/libcrypto/bytestring |
14 | CFLAGS += -DCERTSDIR=\"${.CURDIR}/../../../libcrypto/x509/policy\" | 12 | CFLAGS += -DCERTSDIR=\"${.CURDIR}/../../../libcrypto/x509/policy\" |
15 | 13 | ||
16 | REGRESS_TARGETS = policy-test | ||
17 | |||
18 | policy-test: policy | ||
19 | ./policy | ||
20 | |||
21 | .include "../../Makefile.inc" | 14 | .include "../../Makefile.inc" |
22 | .include <bsd.regress.mk> | 15 | .include <bsd.regress.mk> |