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 |
|
---|
13 | CFLAGS = $(OPENSSL_INCS_LOCATION)
|
---|
14 | LDFLAGS = $(OPENSSL_LIBS_LOCATION) -lssl -lcrypto
|
---|
15 |
|
---|
16 | all: aesccm aesgcm aeskeywrap ariacbc
|
---|
17 |
|
---|
18 | aesccm: aesccm.o
|
---|
19 | aesgcm: aesgcm.o
|
---|
20 | aeskeywrap: aeskeywrap.o
|
---|
21 | ariacbc: ariacbc.o
|
---|
22 |
|
---|
23 | aesccm aesgcm aeskeywrap ariacbc:
|
---|
24 | $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
|
---|
25 |
|
---|
26 | clean:
|
---|
27 | $(RM) aesccm aesgcm aeskeywrap ariacbc *.o
|
---|
Note:
See
TracBrowser
for help on using the repository browser.