Handle negative reply for NNTP STARTTLS in s_client
[openssl.git] / demos / bio / Makefile
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
16 CFLAGS = $(OPENSSL_INCS_LOCATION)
17 LDFLAGS = $(OPENSSL_LIBS_LOCATION) -lssl -lcrypto $(EX_LIBS)
18
19 all: client-arg client-conf saccept sconnect server-arg server-cmod server-conf
20
21 client-arg: client-arg.o
22 client-conf: client-conf.o
23 saccept: saccept.o
24 sconnect: sconnect.o
25 server-arg: server-arg.o
26 server-cmod: server-cmod.o
27 server-conf: server-conf.o
28
29 client-arg client-conf saccept sconnect server-arg server-cmod server-conf:
30         $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<