1 1.1 christos # 2 1.1 christos # To run the demos when linked with a shared library (default) ensure that 3 1.1 christos # libcrypto and libssl are on the library path. For example: 4 1.1 christos # 5 1.1 christos # LD_LIBRARY_PATH=../.. ./server-arg 6 1.1 christos 7 1.1 christos TESTS = client-arg \ 8 1.1 christos client-conf \ 9 1.1 christos saccept \ 10 1.1 christos sconnect \ 11 1.1 christos server-arg \ 12 1.1 christos server-cmod \ 13 1.1 christos server-conf 14 1.1 christos 15 1.1 christos CFLAGS = -I../../include -g -Wall 16 1.1 christos LDFLAGS = -L../.. 17 1.1 christos LDLIBS = -lssl -lcrypto 18 1.1 christos 19 1.1 christos all: $(TESTS) 20 1.1 christos 21 1.1 christos client-arg: client-arg.o 22 1.1 christos client-conf: client-conf.o 23 1.1 christos saccept: saccept.o 24 1.1 christos sconnect: sconnect.o 25 1.1 christos server-arg: server-arg.o 26 1.1 christos server-cmod: server-cmod.o 27 1.1 christos server-conf: server-conf.o 28 1.1 christos 29 1.1 christos $(TESTS): 30 1.1 christos $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDLIBS) 31 1.1 christos 32 1.1 christos clean: 33 1.1 christos $(RM) $(TESTS) *.o 34 1.1 christos 35 1.1 christos test: all 36 1.1 christos @echo "\nBIO tests:" 37 1.1 christos @echo "skipped" 38