From 92d85f793b1a41bbbde1811004ae2708a47a44aa Mon Sep 17 00:00:00 2001 From: Christopher Powell Date: Wed, 28 Nov 2001 05:26:53 +0000 Subject: Initial revision --- (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..cd349d0 --- /dev/null +++ b/Makefile @@ -0,0 +1,28 @@ +# $Id: Makefile,v 1.1 2001/11/28 05:26:54 helios Exp $ + +# Verify that this points to the right place... +APACHEDIR = /usr/local/src/apache_1.3.22/src + +# Verify that this include directory is correct for you... +CFLAGS = -fpic -O2 -Wall -I/usr/local/Apache/include + +# --------------------------------------------------------- +# You shouldn't have to touch below here! + +CC = gcc +DEFS = -DSHARED_MODULE +INSTALL = /usr/bin/install -m 664 + +all: mod_log_mysql.o + +mod_log_mysql.o: mod_log_mysql.c + $(CC) ${CFLAGS} ${DEFS} -c mod_log_mysql.c + +install: all + $(INSTALL) mod_log_mysql.o ${APACHEDIR}/mod_log_mysql.o + +distro: all + 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 + +clean: + rm -f *.o *~ -- cgit v0.9.2