# Author: Markus Lorch #NOTES: # change the path to your OpenSSL 0.9.7 installation # if you want to compile with/without debugging output set/unset the DEBUG define OPENSSL=/usr/local/openssl-9.7 all: # gcc -g -I$(OPENSSL)/include/ -oproxy-check proxy-check.c -DDEBUG $(OPENSSL)/lib/libcrypto.a x509ac.c x509ac-supp.c gcc -g -I$(OPENSSL)/include/ -oproxy-check proxy-check.c $(OPENSSL)/lib/libcrypto.a x509ac.c x509ac-supp.c # gcc -g -I$(OPENSSL)/include/ -oac-validate ac-validate.c -DDEBUG $(OPENSSL)/lib/libcrypto.a x509ac.c x509ac-supp.c gcc -g -I$(OPENSSL)/include/ -oac-validate ac-validate.c $(OPENSSL)/lib/libcrypto.a x509ac.c x509ac-supp.c # the next target compiles Stephen Hensons x509ac lib with the included small test main function x509ac: gcc -g -Iopenssl-0.9.7a/include/ -ox509ac -DTEST x509ac.c openssl-0.9.7a/libcrypto.a clean: rm ac-validate proxy-check