Last change
on this file since 83531 was 83531, checked in by vboxsync, 5 years ago |
setting svn:sync-process=export for openssl-1.1.1f, all files except tests
|
File size:
532 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 |
|
---|
11 | CFLAGS = $(OPENSSL_INCS_LOCATION)
|
---|
12 | LDFLAGS = $(OPENSSL_LIBS_LOCATION) -lssl -lcrypto
|
---|
13 |
|
---|
14 | all: aesccm aesgcm
|
---|
15 |
|
---|
16 | aesccm: aesccm.o
|
---|
17 | aesgcm: aesgcm.o
|
---|
18 |
|
---|
19 | aesccm aesgcm:
|
---|
20 | $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
|
---|
21 |
|
---|
22 | clean:
|
---|
23 | $(RM) aesccm aesgcm *.o
|
---|
Note:
See
TracBrowser
for help on using the repository browser.