summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christopher Powell 2001-11-28 05:26:53 +0000
committerGravatar Christopher Powell 2001-11-28 05:26:53 +0000
commit92d85f793b1a41bbbde1811004ae2708a47a44aa (patch)
tree69ecadaf47ae83197b8c92ff3f8b7c2002b15b19 /Makefile
Initial revision1.09
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..cd349d0
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,28 @@
1# $Id: Makefile,v 1.1 2001/11/28 05:26:54 helios Exp $
2
3# Verify that this points to the right place...
4APACHEDIR = /usr/local/src/apache_1.3.22/src
5
6# Verify that this include directory is correct for you...
7CFLAGS = -fpic -O2 -Wall -I/usr/local/Apache/include
8
9# ---------------------------------------------------------
10# You shouldn't have to touch below here!
11
12CC = gcc
13DEFS = -DSHARED_MODULE
14INSTALL = /usr/bin/install -m 664
15
16all: mod_log_mysql.o
17
18mod_log_mysql.o: mod_log_mysql.c
19 $(CC) ${CFLAGS} ${DEFS} -c mod_log_mysql.c
20
21install: all
22 $(INSTALL) mod_log_mysql.o ${APACHEDIR}/mod_log_mysql.o
23
24distro: all
25 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
26
27clean:
28 rm -f *.o *~