VirtualBox

source: vbox/trunk/src/libs/openssl-3.1.2/demos/pkey/Makefile@ 101021

Last change on this file since 101021 was 101021, checked in by vboxsync, 15 months ago

openssl-3.1.2: Applied and adjusted our OpenSSL changes to 3.1.0. bugref:10519

File size: 1.1 KB
Line 
1#
2# To run the demos when linked with a shared library (default):
3#
4# LD_LIBRARY_PATH=../.. ./EVP_PKEY_EC_keygen
5# LD_LIBRARY_PATH=../.. ./EVP_PKEY_RSA_keygen
6# LD_LIBRARY_PATH=../.. ./EVP_PKEY_DSA_keygen
7# LD_LIBRARY_PATH=../.. ./EVP_PKEY_DSA_paramgen
8# LD_LIBRARY_PATH=../.. ./EVP_PKEY_DSA_paramvalidate
9# LD_LIBRARY_PATH=../.. ./EVP_PKEY_DSA_paramfromdata
10
11CFLAGS = -I../../include -g -Wall
12LDFLAGS = -L../..
13LDLIBS = -lcrypto
14
15all: EVP_PKEY_EC_keygen EVP_PKEY_RSA_keygen EVP_PKEY_DSA_keygen \
16 EVP_PKEY_DSA_paramgen EVP_PKEY_DSA_paramvalidate EVP_PKEY_DSA_paramfromdata \
17
18%.o: %.c dsa.inc
19 $(CC) $(CFLAGS) -c $<
20
21EVP_PKEY_EC_keygen: EVP_PKEY_EC_keygen.o
22
23EVP_PKEY_RSA_keygen: EVP_PKEY_RSA_keygen.o
24
25EVP_PKEY_DSA_keygen: EVP_PKEY_DSA_keygen.o
26
27EVP_PKEY_DSA_paramgen: EVP_PKEY_DSA_paramgen.o
28
29EVP_PKEY_DSA_paramvalidate: EVP_PKEY_DSA_paramvalidate.o
30
31EVP_PKEY_DSA_paramfromdata: EVP_PKEY_DSA_paramfromdata.o
32
33test: ;
34
35clean:
36 $(RM) *.o EVP_PKEY_EC_keygen EVP_PKEY_RSA_keygen EVP_PKEY_DSA_keygen \
37 EVP_PKEY_DSA_paramgen EVP_PKEY_DSA_paramfromdata EVP_PKEY_DSA_paramvalidate
Note: See TracBrowser for help on using the repository browser.

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