1e1051a39Sopenharmony_ci# Quick instruction: 2e1051a39Sopenharmony_ci# To build against an OpenSSL built in the source tree, do this: 3e1051a39Sopenharmony_ci# 4e1051a39Sopenharmony_ci# make OPENSSL_INCS_LOCATION=-I../../include OPENSSL_LIBS_LOCATION=-L../.. 5e1051a39Sopenharmony_ci# 6e1051a39Sopenharmony_ci# To run the demos when linked with a shared library (default): 7e1051a39Sopenharmony_ci# 8e1051a39Sopenharmony_ci# LD_LIBRARY_PATH=../.. ./server-arg 9e1051a39Sopenharmony_ci# LD_LIBRARY_PATH=../.. ./server-cmod 10e1051a39Sopenharmony_ci# LD_LIBRARY_PATH=../.. ./server-conf 11e1051a39Sopenharmony_ci# LD_LIBRARY_PATH=../.. ./client-arg 12e1051a39Sopenharmony_ci# LD_LIBRARY_PATH=../.. ./client-conf 13e1051a39Sopenharmony_ci# LD_LIBRARY_PATH=../.. ./saccept 14e1051a39Sopenharmony_ci# LD_LIBRARY_PATH=../.. ./sconnect 15e1051a39Sopenharmony_ci 16e1051a39Sopenharmony_ciCFLAGS = $(OPENSSL_INCS_LOCATION) 17e1051a39Sopenharmony_ciLDFLAGS = $(OPENSSL_LIBS_LOCATION) -lssl -lcrypto $(EX_LIBS) 18e1051a39Sopenharmony_ci 19e1051a39Sopenharmony_ciall: client-arg client-conf saccept sconnect server-arg server-cmod server-conf 20e1051a39Sopenharmony_ci 21e1051a39Sopenharmony_ciclient-arg: client-arg.o 22e1051a39Sopenharmony_ciclient-conf: client-conf.o 23e1051a39Sopenharmony_cisaccept: saccept.o 24e1051a39Sopenharmony_cisconnect: sconnect.o 25e1051a39Sopenharmony_ciserver-arg: server-arg.o 26e1051a39Sopenharmony_ciserver-cmod: server-cmod.o 27e1051a39Sopenharmony_ciserver-conf: server-conf.o 28e1051a39Sopenharmony_ci 29e1051a39Sopenharmony_ciclient-arg client-conf saccept sconnect server-arg server-cmod server-conf: 30e1051a39Sopenharmony_ci $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) 31e1051a39Sopenharmony_ci 32e1051a39Sopenharmony_ciclean: 33e1051a39Sopenharmony_ci $(RM) *.o client-arg client-conf saccept sconnect server-arg server-cmod server-conf 34