summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/interop/libressl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libssl/interop/libressl/Makefile')
-rw-r--r--src/regress/lib/libssl/interop/libressl/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/regress/lib/libssl/interop/libressl/Makefile b/src/regress/lib/libssl/interop/libressl/Makefile
new file mode 100644
index 0000000000..2d8ef78922
--- /dev/null
+++ b/src/regress/lib/libssl/interop/libressl/Makefile
@@ -0,0 +1,20 @@
1# $OpenBSD: Makefile,v 1.1.1.1 2018/11/07 01:08:49 bluhm Exp $
2
3PROGS = client server
4CPPFLAGS =
5LDFLAGS =
6LDADD = -lssl -lcrypto
7DPADD = ${LIBSSL} ${LIBCRYPTO}
8LD_LIBRARY_PATH =
9
10.for p in ${PROGS}
11run-ldd-$p: ldd-$p.out
12 @echo '\n======== $@ ========'
13 # check that $p is linked with LibreSSL
14 grep -q /usr/lib/libcrypto.so ldd-$p.out
15 grep -q /usr/lib/libssl.so ldd-$p.out
16 # check that $p is not linked with OpenSSL
17 ! grep /usr/local/lib/ ldd-$p.out
18.endfor
19
20.include <bsd.regress.mk>