VirtualBox

source: vbox/trunk/src/libs/openssl-3.1.3/demos/bio/Makefile@ 101665

Last change on this file since 101665 was 101211, checked in by vboxsync, 14 months ago

openssl-3.1.3: Applied and adjusted our OpenSSL changes to 3.1.2. bugref:10527

File size: 1.0 KB
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)
31
32clean:
33 $(RM) *.o client-arg client-conf saccept sconnect server-arg server-cmod server-conf
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