summaryrefslogtreecommitdiffstatsabout
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 12 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index c1966b2..5744be4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
1# $Id: Makefile,v 1.3 2001/12/03 19:56:58 helios Exp $ 1# $Id: Makefile,v 1.4 2001/12/07 03:52:56 helios Exp $
2 2
3# Verify that this points to the right place... 3# Verify that this points to the right place...
4APACHEDIR = /usr/local/src/apache_1.3.22 4APACHEDIR = /usr/local/src/apache_1.3.22
@@ -9,9 +9,10 @@ APACHEDIR = /usr/local/src/apache_1.3.22
9DEFS = -DWANT_SSL_LOGGING 9DEFS = -DWANT_SSL_LOGGING
10#DEFS = 10#DEFS =
11 11
12# Use this one if you do WANT_SSL_LOGGING, and confirm the last two paths. 12# Use this one if you do WANT_SSL_LOGGING, and confirm the last three paths.
13# Make "/usr/local/ssl/include" point to where your openssl/*.h files are, 13# Point "/usr/local/ssl/include" to where your openssl/*.h files are,
14# and make "/usr/include/db1" point to where ndbm.h can be found. 14# Point "/usr/include/db1" to where ndbm.h can be found,
15# Point "/usr/local/src/apache_1.3.22/src/modules/ssl" to where mod_ssl.h can be found.
15# 16#
16# How to find your directories: 17# How to find your directories:
17# 18#
@@ -23,11 +24,13 @@ DEFS = -DWANT_SSL_LOGGING
23# 24#
24# $ locate ndbm.h 25# $ locate ndbm.h
25# /usr/include/db1/ndbm.h 26# /usr/include/db1/ndbm.h
27#
28# $ locate mod_ssl.h
29# /usr/local/src/apache_1.3.22/src/modules/ssl/mod_ssl.h
26 30
27CFLAGS = -fpic -O2 -Wall -I/usr/local/Apache/include -I/usr/local/ssl/include -I/usr/include/db1 31CFLAGS = -fpic -O2 -Wall -I/usr/local/Apache/include -I/usr/local/ssl/include -I/usr/include/db1 -I/usr/local/src/apache_1.3.22/src/modules/ssl
28 32
29# Use this one if you don't WANT_SSL_LOGGING: 33# Use this one if you don't WANT_SSL_LOGGING:
30
31#CFLAGS = -fpic -O2 -Wall -I/usr/local/Apache/include 34#CFLAGS = -fpic -O2 -Wall -I/usr/local/Apache/include
32 35
33 36
@@ -40,8 +43,8 @@ INSTALL = /usr/bin/install -m 664
40all: mod_log_mysql.o 43all: mod_log_mysql.o
41 44
42mod_log_mysql.o: mod_log_mysql.c Makefile 45mod_log_mysql.o: mod_log_mysql.c Makefile
43 $(CC) ${CFLAGS} ${DEFS} -c mod_log_mysql.c 46 $(CC) ${CFLAGS} ${DEFS} -c mod_log_mysql.c
44 47
45install: all 48install: all
46 $(INSTALL) mod_log_mysql.o ${APACHEDIR}/src/mod_log_mysql.o 49 $(INSTALL) mod_log_mysql.o ${APACHEDIR}/src/mod_log_mysql.o
47 50
@@ -49,7 +52,7 @@ distro: all
49 cp -f INSTALL /usr/local/Apache/html/mod_log_mysql/ 52 cp -f INSTALL /usr/local/Apache/html/mod_log_mysql/
50 cp -f README /usr/local/Apache/html/mod_log_mysql/ 53 cp -f README /usr/local/Apache/html/mod_log_mysql/
51 cp -f CHANGELOG /usr/local/Apache/html/mod_log_mysql/ 54 cp -f CHANGELOG /usr/local/Apache/html/mod_log_mysql/
52 cd ..; tar zcf mod_log_mysql.tar.gz mod_log_mysql/; $(INSTALL) mod_log_mysql.tar.gz /usr/local/Apache/html/mod_log_mysql/; rm -f mod_log_mysql.tar.gz 55 cd ..; tar zcf mod_log_mysql.tar.gz --exclude mod_log_mysql/CVS mod_log_mysql/; $(INSTALL) mod_log_mysql.tar.gz /usr/local/Apache/html/mod_log_mysql/; rm -f mod_log_mysql.tar.gz
53 56
54clean: 57clean:
55 rm -f *.o *~ 58 rm -f *.o *~