VirtualBox

source: vbox/trunk/src/libs/openssl-3.4.1/demos/encrypt/Makefile

Last change on this file was 109052, checked in by vboxsync, 3 weeks ago

openssl-3.4.1: Applied our changes, regenerated files, added missing files and functions. This time with a three way merge. ​bugref:10890

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 539 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=../.. ./rsa_encrypt
6
7TESTS = rsa_encrypt
8
9CFLAGS = -I../../include -g -Wall
10LDFLAGS = -L../..
11LDLIBS = -lcrypto
12
13all: $(TESTS)
14
15rsa_encrypt: rsa_encrypt.o
16
17$(TESTS):
18 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDLIBS)
19
20clean:
21 $(RM) *.o $(TESTS)
22
23.PHONY: test
24test: all
25 @echo "\nEncrypt tests:"
26 @set -e; for tst in $(TESTS); do \
27 echo "\n"$$tst; \
28 LD_LIBRARY_PATH=../.. ./$$tst; \
29 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