--- Makefile.orig Thu Oct 31 15:52:05 2002 +++ Makefile Thu Oct 31 15:52:53 2002 @@ -32,6 +32,27 @@ endif +# FreeBSD +ifeq "FreeBSD" "$(OS)" + +# These are the defaults for OSX. You may have to adjust them on Solaris. +OPENSSLINCLUDEFLAGS = -I/usr/include/openssl +OPENSSLLIBFLAGS = -L/usr/lib -lcrypto -lssl +CFLAGS = -O2 -Wall -I../Adaptor $(DEBUG_FLAG) -DSINGLE_THREADED_ADAPTOR -D$(OS) -DFORKING_WEBSERVER -DAPACHE + +APXSFLAGS = -c -I../Adaptor ${OPENSSLLIBFLAGS} -D SINGLE_THREADED_ADAPTOR ${LDAPACHESSLFLAG} -S CC=$(CC) + +all: mod_WebObjects.so + +mod_WebObjects.so : mod_WebObjects.c ${COMMON_OBJFILES} + ${APXS} ${APXSFLAGS} mod_WebObjects.c ${COMMON_OBJFILES} + +clean: + rm -f mod_WebObjects.so mod_WebObjects.o *.o + +endif + + ifeq "SOLARIS" "$(OS)" # If Apache is in a nonstandard location, change this