VirtualBox

source: vbox/trunk/src/libs/openssl-3.1.2/demos/cipher/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: 710 bytes
Line 
1# Quick instruction:
2# To build against an OpenSSL built in the source tree, do this:
3#
4# make OPENSSL_INCS_LOCATION=-I../../include OPENSSL_LIBS_LOCATION=-L../..
5#
6# To run the demos when linked with a shared library (default):
7#
8# LD_LIBRARY_PATH=../.. ./aesccm
9# LD_LIBRARY_PATH=../.. ./aesgcm
10# LD_LIBRARY_PATH=../.. ./aeskeywrap
11# LD_LIBRARY_PATH=../.. ./ariacbc
12
13CFLAGS = $(OPENSSL_INCS_LOCATION)
14LDFLAGS = $(OPENSSL_LIBS_LOCATION) -lssl -lcrypto
15
16all: aesccm aesgcm aeskeywrap ariacbc
17
18aesccm: aesccm.o
19aesgcm: aesgcm.o
20aeskeywrap: aeskeywrap.o
21ariacbc: ariacbc.o
22
23aesccm aesgcm aeskeywrap ariacbc:
24 $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
25
26clean:
27 $(RM) aesccm aesgcm aeskeywrap ariacbc *.o
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