VirtualBox

source: vbox/trunk/src/libs/openssl-3.3.2/demos/keyexch/Makefile

Last change on this file was 108206, checked in by vboxsync, 3 months ago

openssl-3.3.2: Exported all files to OSE and removed .scm-settings ​bugref:10757

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 541 bytes
Line 
1#
2# To run the demos when linked with a shared library (default) ensure
3# that libcrypto is on the library path. For example:
4#
5# LD_LIBRARY_PATH=../.. ./x25519
6
7TESTS = x25519 ecdh
8
9CFLAGS = -I../../include -g -Wall
10LDFLAGS = -L../..
11LDLIBS = -lcrypto
12
13all: $(TESTS)
14
15x25519: x25519.o
16ecdh: ecdh.o
17
18$(TESTS):
19 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDLIBS)
20
21clean:
22 $(RM) *.o $(TESTS)
23
24.PHONY: test
25test: all
26 @echo "\nKeyExchange tests:"
27 @set -e; for tst in $(TESTS); do \
28 echo "\n"$$tst; \
29 LD_LIBRARY_PATH=../.. ./$$tst; \
30 done
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette