diff options
Diffstat (limited to 'src/regress/lib/libcrypto/sm2/Makefile')
-rw-r--r-- | src/regress/lib/libcrypto/sm2/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/regress/lib/libcrypto/sm2/Makefile b/src/regress/lib/libcrypto/sm2/Makefile new file mode 100644 index 0000000000..8aa07f7155 --- /dev/null +++ b/src/regress/lib/libcrypto/sm2/Makefile | |||
@@ -0,0 +1,23 @@ | |||
1 | # $OpenBSD: Makefile,v 1.1.1.1 2021/08/18 16:06:56 tb Exp $ | ||
2 | |||
3 | PROGS += sm2crypttest | ||
4 | PROGS += sm2evptest | ||
5 | PROGS += sm2sigtest | ||
6 | |||
7 | LDADD = ${CRYPTO_INT} | ||
8 | DPADD = ${LIBCRYPTO} | ||
9 | WARNINGS = Yes | ||
10 | |||
11 | CFLAGS += -DLIBRESSL_INTERNAL -Wundef -Werror | ||
12 | CFLAGS += -I${BSDSRCDIR}/lib/libcrypto/sm2 | ||
13 | CFLAGS += -I${BSDSRCDIR}/regress/lib/libssl/unit | ||
14 | |||
15 | .for p in ${PROGS} | ||
16 | REGRESS_TARGETS += run-$p | ||
17 | run-$p: $p | ||
18 | @echo '\n======== $@ ========' | ||
19 | ./$p | ||
20 | .PHONY: run-$p | ||
21 | .endfor | ||
22 | |||
23 | .include <bsd.regress.mk> | ||