diff options
Diffstat (limited to 'src/regress/lib/libssl/symbols/Makefile')
-rw-r--r-- | src/regress/lib/libssl/symbols/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/regress/lib/libssl/symbols/Makefile b/src/regress/lib/libssl/symbols/Makefile new file mode 100644 index 0000000000..cc7f1d251c --- /dev/null +++ b/src/regress/lib/libssl/symbols/Makefile | |||
@@ -0,0 +1,22 @@ | |||
1 | # $OpenBSD: Makefile,v 1.1.1.1 2023/07/15 19:29:44 tb Exp $ | ||
2 | |||
3 | PROG = symbols | ||
4 | |||
5 | #include <bsd.own.mk> | ||
6 | |||
7 | DPADD= ${LIBCRYPTO} ${LIBSSL} | ||
8 | LDFLAGS+= -lcrypto -lssl | ||
9 | LDFLAGS+= -Wl,--no-allow-shlib-undefined | ||
10 | CFLAGS+= -Wno-deprecated-declarations | ||
11 | |||
12 | CLEANFILES+= symbols.c symbols.c.tmp | ||
13 | |||
14 | symbols.c: symbols.awk ../../../../lib/libssl/Symbols.list | ||
15 | awk -f ${.CURDIR}/symbols.awk \ | ||
16 | < ${BSDSRCDIR}/lib/libssl/Symbols.list > $@.tmp && \ | ||
17 | mv -f $@.tmp $@ | ||
18 | |||
19 | run-regress-symbols: symbols | ||
20 | ./symbols 2>/dev/null | ||
21 | |||
22 | .include <bsd.regress.mk> | ||