Home | History | Annotate | Line # | Download | only in bio
      1  1.1.1.2  christos # Quick instruction:
      2  1.1.1.2  christos # To build against an OpenSSL built in the source tree, do this:
      3  1.1.1.2  christos #
      4  1.1.1.2  christos #    make OPENSSL_INCS_LOCATION=-I../../include OPENSSL_LIBS_LOCATION=-L../..
      5  1.1.1.2  christos #
      6  1.1.1.2  christos # To run the demos when linked with a shared library (default):
      7  1.1.1.2  christos #
      8  1.1.1.2  christos #    LD_LIBRARY_PATH=../.. ./server-arg
      9  1.1.1.2  christos #    LD_LIBRARY_PATH=../.. ./server-cmod
     10  1.1.1.2  christos #    LD_LIBRARY_PATH=../.. ./server-conf
     11  1.1.1.2  christos #    LD_LIBRARY_PATH=../.. ./client-arg
     12  1.1.1.2  christos #    LD_LIBRARY_PATH=../.. ./client-conf
     13  1.1.1.2  christos #    LD_LIBRARY_PATH=../.. ./saccept
     14  1.1.1.2  christos #    LD_LIBRARY_PATH=../.. ./sconnect
     15      1.1  christos 
     16  1.1.1.2  christos CFLAGS = $(OPENSSL_INCS_LOCATION)
     17  1.1.1.2  christos LDFLAGS = $(OPENSSL_LIBS_LOCATION) -lssl -lcrypto $(EX_LIBS)
     18      1.1  christos 
     19  1.1.1.2  christos all: client-arg client-conf saccept sconnect server-arg server-cmod server-conf
     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.1.2  christos saccept: saccept.o
     24  1.1.1.2  christos sconnect: sconnect.o
     25  1.1.1.2  christos server-arg: server-arg.o
     26  1.1.1.2  christos server-cmod: server-cmod.o
     27  1.1.1.2  christos server-conf: server-conf.o
     28      1.1  christos 
     29  1.1.1.2  christos client-arg client-conf saccept sconnect server-arg server-cmod server-conf:
     30  1.1.1.2  christos 	$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
     31