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