summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christopher Powell 2002-04-21 23:01:53 +0000
committerGravatar Christopher Powell 2002-04-21 23:01:53 +0000
commitb63c5d2438aabf0d7721c38387995cb4fb98345f (patch)
tree73f99f046bb7daae711c5a7bdfe0f89677e22bda /Makefile
parent13e1ecc20c883f71b54bf1fe09488b028e51171e (diff)
Significant bugfixes and feature additions on the way to 1.16...
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile26
1 files changed, 10 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index be6f06c..6c3c98f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
1# $Id: Makefile,v 1.8 2002/04/08 06:37:14 helios Exp $ 1# $Id: Makefile,v 1.9 2002/04/21 23:01:52 helios Exp $
2MLMVERS = 1.15 2MLMVERS = 1.16
3 3
4# Where you unpacked your Apache tarball -- the source. 4# Where you unpacked your Apache tarball -- the source.
5APACHESOURCE = /usr/local/src/apache_1.3.22 5APACHESOURCE = /usr/local/src/apache_1.3.22
@@ -7,18 +7,9 @@ APACHESOURCE = /usr/local/src/apache_1.3.22
7# Where Apache [got|will get] installed 7# Where Apache [got|will get] installed
8APACHEINST = /usr/local/Apache 8APACHEINST = /usr/local/Apache
9 9
10# Use the first DEFS line if you want mod_log_mysql to be able to log SSL 10# Set the WANT_SSL_LOGGING define in mod_log_mysql.c if you want to log SSL
11# variables like keysize or cipher. Use the second one if you don't use SSL 11# info, or #undef it if you don't. Then use the first CFLAGS if you *do*
12# or don't care to log it. 12# WANT_SSL_LOGGING, and confirm the paths.
13#
14# If your MySQL db is running on the same machine as Apache, modify the
15# MYSQLSOCKET path to point to your MySQL socket. This define has no effect
16# if your MySQL machine is a networked (TCP/IP) machine.
17
18DEFS = -DMYSQLSOCKET="\"/var/lib/mysql/mysql.sock\"" -DWANT_SSL_LOGGING
19#DEFS = -DMYSQLSOCKET="\"/var/lib/mysql/mysql.sock\""
20
21# Use the first CFLAGS if you *do* WANT_SSL_LOGGING, and confirm the paths.
22# 13#
23# Modify "/usr/local/ssl/include" to where YOUR openssl/*.h files are, 14# Modify "/usr/local/ssl/include" to where YOUR openssl/*.h files are,
24# Modify "/usr/include/db1" to where YOUR ndbm.h can be found, 15# Modify "/usr/include/db1" to where YOUR ndbm.h can be found,
@@ -53,10 +44,13 @@ INSTALL = /usr/bin/install -m 664
53all: mod_log_mysql.o 44all: mod_log_mysql.o
54 45
55mod_log_mysql.o: mod_log_mysql.c Makefile 46mod_log_mysql.o: mod_log_mysql.c Makefile
56 $(CC) ${CFLAGS} ${DEFS} -c mod_log_mysql.c 47 $(CC) ${CFLAGS} -c mod_log_mysql.c
57 48
58install: all 49install: all
59 $(INSTALL) mod_log_mysql.o ${APACHESOURCE}/src/mod_log_mysql.o 50 $(INSTALL) -d -m 755 ${APACHESOURCE}/src/modules/sql
51 $(INSTALL) mod_log_mysql.c ${APACHESOURCE}/src/modules/sql/mod_log_mysql.c
52 $(INSTALL) Makefile ${APACHESOURCE}/src/modules/sql/Makefile
53 $(INSTALL) mod_log_mysql.o ${APACHESOURCE}/src/modules/sql/mod_log_mysql.o
60 54
61distro: all 55distro: all
62 cp -f INSTALL ${APACHEINST}/html/mod_log_mysql/ 56 cp -f INSTALL ${APACHEINST}/html/mod_log_mysql/