summaryrefslogtreecommitdiffstats
path: root/demos/mac
diff options
context:
space:
mode:
authorNeil Horman <nhorman@openssl.org>2024-04-05 16:19:01 -0400
committerNeil Horman <nhorman@openssl.org>2024-04-12 08:02:19 -0400
commit2000281dad3111407092e8ea4b23996d65988500 (patch)
tree6ad203010665d2dfb118f77db86854fd02b30706 /demos/mac
parent875db35ac63beb0e5a3d520743fa55ad2e5ccd1d (diff)
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/mac')
-rw-r--r--demos/mac/build.info26
1 files changed, 26 insertions, 0 deletions
diff --git a/demos/mac/build.info b/demos/mac/build.info
new file mode 100644
index 0000000000..be8599dc41
--- /dev/null
+++ b/demos/mac/build.info
@@ -0,0 +1,26 @@
+#
+# To run the demos when linked with a shared library (default) ensure
+# that libcrypto is on the library path. For example:
+#
+# LD_LIBRARY_PATH=../.. ./gmac
+
+PROGRAMS{noinst} = gmac \
+ hmac-sha512 \
+ cmac-aes256 \
+ poly1305
+
+INCLUDE[gmac]=../../include
+SOURCE[gmac]=gmac.c
+DEPEND[gmac]=../../libcrypto
+
+INCLUDE[hmac-sha512]=../../include
+SOURCE[hmac-sha512]=hmac-sha512.c
+DEPEND[hmac-sha512]=../../libcrypto
+
+INCLUDE[cmac-aes256]=../../include
+SOURCE[cmac-aes256]=cmac-aes256.c
+DEPEND[cmac-aes256]=../../libcrypto
+
+INCLUDE[poly1305]=../../include
+SOURCE[poly1305]=poly1305.c
+DEPEND[poly1305]=../../libcrypto