summaryrefslogtreecommitdiffstatsabout
path: root/Makefile
diff options
context:
space:
mode:
authorChristopher Powell <chris@grubbybaby.com>2002-12-18 01:06:33 (GMT)
committer Christopher Powell <chris@grubbybaby.com>2002-12-18 01:06:33 (GMT)
commit0d8d2676e9b345eb66d2d3a145fbf64d1429a9b2 (patch)
treea5a4c148a5a68969fe76e8a80c9ed01f979cb7b5 /Makefile
parenta82db79fcf12e4a414c0a0862ed38b9e3a964c70 (diff)
Delayed inserts, includes, better table creation, renamed global vars,
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile43
1 files changed, 22 insertions, 21 deletions
diff --git a/Makefile b/Makefile
index eb4ffdf..5a9c69a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,19 +1,20 @@
1# $Id: Makefile,v 1.19 2002/12/10 20:37:28 helios Exp $ 1# $Id: Makefile,v 1.20 2002/12/18 01:06:33 helios Exp $
2 2
3########################################################################### 3###########################################################################
4# Important: 4# Important:
5# Adjust these values as outlined in section "Installation" in the docs. 5# Adjust these values as outlined in section "Installation" in the docs.
6# Not all are needed at all times. 6# Not all are needed at all times.
7 7
8APACHESOURCE = /usr/local/src/apache_1.3.27-dso 8APACHESOURCE = /usr/local/src/apache_1.3.27-dso
9APACHEINST = /usr/local/Apache 9APACHEINSTALLED = /usr/local/Apache
10APXS = $(APACHEINST)/bin/apxs 10APACHEHEADERS = /usr/local/Apache/include
11APXS = $(APACHEINSTALLED)/bin/apxs
11 12
12MYSQLLIBS = /usr/lib 13MYSQLLIBRARIES = /usr/lib
13MYSQLHDRS = /usr/include/mysql 14MYSQLHEADERS = /usr/include/mysql
14 15
15MODSSLHDRS = /usr/local/src/apache_1.3.27-dso/src/modules/ssl 16#MODSSLHEADERS = /usr/local/src/apache_1.3.27-dso/src/modules/ssl
16DB1HDRS = /usr/include/db1 17#DB1HEADERS = /usr/include/db1
17 18
18########################################################################### 19###########################################################################
19# Don't uncomment this without reading the "Optimizing for a busy database" 20# Don't uncomment this without reading the "Optimizing for a busy database"
@@ -24,7 +25,7 @@ DB1HDRS = /usr/include/db1
24########################################################################### 25###########################################################################
25# Rarely if ever have to touch below here. 26# Rarely if ever have to touch below here.
26 27
27MLMVERS = 1.18pre1 28MLMVERS = 1.18
28#APXSGDB = -Wc,-g 29#APXSGDB = -Wc,-g
29APXSOPTS = -Wc,-O2 -Wc,-Wall 30APXSOPTS = -Wc,-O2 -Wc,-Wall
30STATOPTS = -fpic -O2 -Wall 31STATOPTS = -fpic -O2 -Wall
@@ -38,12 +39,12 @@ LINKS = /usr/bin/lynx
38L2H = /usr/bin/latex2html 39L2H = /usr/bin/latex2html
39WEBSERV = gw0.corp 40WEBSERV = gw0.corp
40 41
41STATFLAGS = -I$(APACHEINST)/include 42STATFLAGS = -I$(APACHEHEADERS)
42SOFLAGS = -L$(MYSQLLIBS) -lmysqlclient -lz 43SOFLAGS = -L$(MYSQLLIBRARIES) -lmysqlclient -lz
43ifdef MODSSLHDRS 44ifdef MODSSLHEADERS
44 FLAGS = -DEAPI -I$(MYSQLHDRS) $(MYSQLDELAYED) -I$(MODSSLHDRS) -I$(DB1HDRS) -DWANT_SSL_LOGGING 45 FLAGS = -DEAPI -I$(MYSQLHEADERS) $(MYSQLDELAYED) -I$(MODSSLHEADERS) -I$(DB1HEADERS) -DWANT_SSL_LOGGING
45else 46else
46 FLAGS = -DEAPI -I$(MYSQLHDRS) $(MYSQLDELAYED) 47 FLAGS = -DEAPI -I$(MYSQLHEADERS) $(MYSQLDELAYED)
47endif 48endif
48 49
49all: 50all:
@@ -80,15 +81,15 @@ clean:
80 $(RM) -f Documentation/*.txt 81 $(RM) -f Documentation/*.txt
81 82
82distro: documentation 83distro: documentation
83 @scp CHANGELOG $(WEBSERV):$(APACHEINST)/html/mod_log_sql/docs 84 @scp CHANGELOG $(WEBSERV):$(APACHEINSTALLED)/html/mod_log_sql/docs
84 @scp Documentation/*.ps $(WEBSERV):$(APACHEINST)/html/mod_log_sql/docs 85 @scp Documentation/*.ps $(WEBSERV):$(APACHEINSTALLED)/html/mod_log_sql/docs
85 @scp Documentation/HTML/*.html $(WEBSERV):$(APACHEINST)/html/mod_log_sql/docs/ 86 @scp Documentation/HTML/*.html $(WEBSERV):$(APACHEINSTALLED)/html/mod_log_sql/docs/
86 @scp Documentation/HTML/*.png $(WEBSERV):$(APACHEINST)/html/mod_log_sql/docs/ 87 @scp Documentation/HTML/*.png $(WEBSERV):$(APACHEINSTALLED)/html/mod_log_sql/docs/
87 @cd ..; tar zcf mod_log_sql-$(MLMVERS).tar.gz --exclude mod_log_sql/CVS --exclude mod_log_sql/Documentation/CVS --exclude mod_log_sql/Documentation/HTML/CVS --exclude ".directory" mod_log_sql/; scp mod_log_sql-$(MLMVERS).tar.gz $(WEBSERV):$(APACHEINST)/html/mod_log_sql/; rm -f mod_log_sql-$(MLMVERS).tar.gz 88 @cd ..; tar zcf mod_log_sql-$(MLMVERS).tar.gz --exclude mod_log_sql/CVS --exclude mod_log_sql/Documentation/CVS --exclude mod_log_sql/Documentation/HTML/CVS --exclude ".directory" mod_log_sql/; scp mod_log_sql-$(MLMVERS).tar.gz $(WEBSERV):$(APACHEINSTALLED)/html/mod_log_sql/; rm -f mod_log_sql-$(MLMVERS).tar.gz
88 @ssh $(WEBSERV) "ln -sf mod_log_sql-$(MLMVERS).tar.gz $(APACHEINST)/html/mod_log_sql/mod_log_sql.tar.gz" 89 @ssh $(WEBSERV) "ln -sf mod_log_sql-$(MLMVERS).tar.gz $(APACHEINSTALLED)/html/mod_log_sql/mod_log_sql.tar.gz"
89 90
90pre-distro: documentation 91pre-distro: documentation
91 @cd ..; tar zcf mod_log_sql-$(MLMVERS).tar.gz --exclude mod_log_sql/CVS --exclude mod_log_sql/Documentation/CVS --exclude mod_log_sql/Documentation/HTML/CVS --exclude ".directory" mod_log_sql/; scp mod_log_sql-$(MLMVERS).tar.gz $(WEBSERV):$(APACHEINST)/html/mod_log_sql/; rm -f mod_log_sql-$(MLMVERS).tar.gz 92 @cd ..; tar zcf mod_log_sql-$(MLMVERS).tar.gz --exclude mod_log_sql/CVS --exclude mod_log_sql/Documentation/CVS --exclude mod_log_sql/Documentation/HTML/CVS --exclude ".directory" mod_log_sql/; scp mod_log_sql-$(MLMVERS).tar.gz $(WEBSERV):$(APACHEINSTALLED)/html/mod_log_sql/; rm -f mod_log_sql-$(MLMVERS).tar.gz
92 93
93documentation: Documentation/documentation.lyx 94documentation: Documentation/documentation.lyx
94 @echo "Creating LaTeX docs..." 95 @echo "Creating LaTeX docs..."