VirtualBox

source: vbox/trunk/src/libs/openssl-1.1.1g/demos/bio/Makefile@ 86622

Last change on this file since 86622 was 83916, checked in by vboxsync, 5 years ago

openssl-1.1.1g: Applied and adjusted our OpenSSL changes to 1.1.1g. bugref:9719

File size: 975 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=../.. ./server-arg
9# LD_LIBRARY_PATH=../.. ./server-cmod
10# LD_LIBRARY_PATH=../.. ./server-conf
11# LD_LIBRARY_PATH=../.. ./client-arg
12# LD_LIBRARY_PATH=../.. ./client-conf
13# LD_LIBRARY_PATH=../.. ./saccept
14# LD_LIBRARY_PATH=../.. ./sconnect
15
16CFLAGS = $(OPENSSL_INCS_LOCATION)
17LDFLAGS = $(OPENSSL_LIBS_LOCATION) -lssl -lcrypto $(EX_LIBS)
18
19all: client-arg client-conf saccept sconnect server-arg server-cmod server-conf
20
21client-arg: client-arg.o
22client-conf: client-conf.o
23saccept: saccept.o
24sconnect: sconnect.o
25server-arg: server-arg.o
26server-cmod: server-cmod.o
27server-conf: server-conf.o
28
29client-arg client-conf saccept sconnect server-arg server-cmod server-conf:
30 $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
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