diff options
| author | 2001-11-28 05:26:53 +0000 | |
|---|---|---|
| committer | 2001-11-28 05:26:53 +0000 | |
| commit | 92d85f793b1a41bbbde1811004ae2708a47a44aa (patch) | |
| tree | 69ecadaf47ae83197b8c92ff3f8b7c2002b15b19 /Makefile | |
Initial revision1.09
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 28 |
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... | ||
| 4 | APACHEDIR = /usr/local/src/apache_1.3.22/src | ||
| 5 | |||
| 6 | # Verify that this include directory is correct for you... | ||
| 7 | CFLAGS = -fpic -O2 -Wall -I/usr/local/Apache/include | ||
| 8 | |||
| 9 | # --------------------------------------------------------- | ||
| 10 | # You shouldn't have to touch below here! | ||
| 11 | |||
| 12 | CC = gcc | ||
| 13 | DEFS = -DSHARED_MODULE | ||
| 14 | INSTALL = /usr/bin/install -m 664 | ||
| 15 | |||
| 16 | all: mod_log_mysql.o | ||
| 17 | |||
| 18 | mod_log_mysql.o: mod_log_mysql.c | ||
| 19 | $(CC) ${CFLAGS} ${DEFS} -c mod_log_mysql.c | ||
| 20 | |||
| 21 | install: all | ||
| 22 | $(INSTALL) mod_log_mysql.o ${APACHEDIR}/mod_log_mysql.o | ||
| 23 | |||
| 24 | distro: 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 | |||
| 27 | clean: | ||
| 28 | rm -f *.o *~ | ||
