summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/symbols/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libssl/symbols/Makefile')
-rw-r--r--src/regress/lib/libssl/symbols/Makefile22
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
3PROG = symbols
4
5#include <bsd.own.mk>
6
7DPADD= ${LIBCRYPTO} ${LIBSSL}
8LDFLAGS+= -lcrypto -lssl
9LDFLAGS+= -Wl,--no-allow-shlib-undefined
10CFLAGS+= -Wno-deprecated-declarations
11
12CLEANFILES+= symbols.c symbols.c.tmp
13
14symbols.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
19run-regress-symbols: symbols
20 ./symbols 2>/dev/null
21
22.include <bsd.regress.mk>