--- Makefile.orig Thu Oct 30 22:53:07 2003 +++ Makefile Thu Oct 30 23:03:24 2003 @@ -14,17 +14,18 @@ # http://www.openssl.org/ Make sure the SSL_TREE definition points to the # tree with your OpenSSL installation - depending on how you installed it, # it may be in /usr/local instead of /usr/local/ssl. +.ifndef NO_OPENSSL #SSL_TREE = /usr/local/ssl -#SSL_DEFS = -DUSE_SSL +SSL_DEFS = -DUSE_SSL #SSL_INC = -I${SSL_TREE}/include -#SSL_LIBS = -L${SSL_TREE}/lib -lssl -lcrypto - +SSL_LIBS = -lssl -lcrypto +.endif BINDIR = /usr/local/sbin MANDIR = /usr/local/man -CC = gcc +#CC = gcc CDEFS = ${SSL_DEFS} ${SSL_INC} -CFLAGS = -O ${CDEFS} +CFLAGS += ${CDEFS} #CFLAGS = -g ${CDEFS} LDFLAGS = -s #LDFLAGS = -g @@ -76,9 +77,7 @@ -mkdir -p ${BINDIR} cp mini_httpd htpasswd ${BINDIR} rm -f ${MANDIR}/man8/mini_httpd.8 ${MANDIR}/man1/htpasswd.1 - -mkdir -p ${MANDIR}/man8 cp mini_httpd.8 ${MANDIR}/man8 - -mkdir -p ${MANDIR}/man1 cp htpasswd.1 ${MANDIR}/man1 clean: