blob: 35a6d908328a6a20fe8072f1c8023edcb976c1a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
*** Apache2.2/Makefile.orig Tue Jul 4 13:02:19 2006
--- Apache2.2/Makefile Mon Apr 16 09:17:08 2007
***************
*** 82,87 ****
--- 82,100 ----
endif
# End HPUX config
+ ifeq "FreeBSD" "$(OS)"
+ ifdef USE_SSL
+ # Flags for use when enabling mod_ssl support (on by default)
+ ENABLE_SSL_SUPPORT = -DAPACHE_SECURITY_ENABLED
+ # These should be set to point at the ssl include and lib directories, respectively.
+ OPENSSL_INCL_FLAGS = -I/usr/include/openssl
+ OPENSSL_LIB_FLAGS = -L/usr/lib -lcrypto -lssl
+ endif
+
+ INCLUDES += ${OPENSSL_INCL_FLAGS}
+ LDFLAGS += ${OPENSSL_LIB_FLAGS} -lm -module
+ APXSFLAGS += "-I`${APXS} -q INCLUDEDIR`"
+ endif
***************
*** 138,143 ****
--- 151,166 ----
mod_WebObjects.o : mod_WebObjects.c ${COMMON_OBJFILES}
${CC} -c ${CFLAGS} mod_WebObjects.c ${COMMON_OBJFILES}
endif
+
+ # FreeBSD Build
+ ifeq "FreeBSD" "$(OS)"
+
+ mod_WebObjects.so : mod_WebObjects.c ${COMMON_SRCFILES}
+ ${APXS} ${APXSFLAGS} mod_WebObjects.c ${COMMON_SRCFILES}
+
+ endif
+ #end FreeBSD
+
# The install target does what you'd think it would: install the module; By default, this is not called.
install: mod_WebObjects.la
|