summaryrefslogtreecommitdiffstats
path: root/demos/guide
diff options
context:
space:
mode:
authorNeil Horman <nhorman@openssl.org>2024-04-05 22:19:01 +0200
committerNeil Horman <nhorman@openssl.org>2024-04-12 14:02:19 +0200
commit2000281dad3111407092e8ea4b23996d65988500 (patch)
tree6ad203010665d2dfb118f77db86854fd02b30706 /demos/guide
parentossl_provider_new(): Fix memory leak on error (diff)
downloadopenssl-2000281dad3111407092e8ea4b23996d65988500.tar.xz
openssl-2000281dad3111407092e8ea4b23996d65988500.zip
Convert demos to primary build system
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Paul Dale <ppzgs1@gmail.com> Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com> (Merged from https://github.com/openssl/openssl/pull/24047)
Diffstat (limited to 'demos/guide')
-rw-r--r--demos/guide/build.info31
1 files changed, 31 insertions, 0 deletions
diff --git a/demos/guide/build.info b/demos/guide/build.info
new file mode 100644
index 0000000000..21b2e358c2
--- /dev/null
+++ b/demos/guide/build.info
@@ -0,0 +1,31 @@
+#
+# To run the demos when linked with a shared library (default) ensure that
+# libcrypto and libssl are on the library path. For example:
+#
+# LD_LIBRARY_PATH=../.. ./tls-client-block www.example.com 443
+
+PROGRAMS{noinst} = tls-client-block \
+ quic-client-block \
+ quic-multi-stream \
+ tls-client-non-block \
+ quic-client-non-block
+
+INCLUDE[tls-client-block]=../../include
+SOURCE[tls-client-block]=tls-client-block.c
+DEPEND[tls-client-block]=../../libcrypto ../../libssl
+
+INCLUDE[quic-client-block]=../../include
+SOURCE[quic-client-block]=quic-client-block.c
+DEPEND[quic-client-block]=../../libcrypto ../../libssl
+
+INCLUDE[quic-multi-stream]=../../include
+SOURCE[quic-multi-stream]=quic-multi-stream.c
+DEPEND[quic-multi-stream]=../../libcrypto ../../libssl
+
+INCLUDE[tls-client-non-block]=../../include
+SOURCE[tls-client-non-block]=tls-client-non-block.c
+DEPEND[tls-client-non-block]=../../libcrypto ../../libssl
+
+INCLUDE[quic-client-non-block]=../../include
+SOURCE[quic-client-non-block]=quic-client-non-block.c
+DEPEND[quic-client-non-block]=../../libcrypto ../../libssl