diff options
author | Christopher Powell | 2003-07-22 04:17:59 +0000 |
---|---|---|
committer | Christopher Powell | 2003-07-22 04:17:59 +0000 |
commit | 6cefab259d0b783b85df4518d0d48dab0e11389b (patch) | |
tree | 74343578540827eef162a20462a8cc0c3e9e0e38 /Makefile.in | |
parent | 27c519a31da825ca27aa48e1a2d3dc7b45921852 (diff) |
Changes on the way to 1.19. This is probably going to be 1.19b1. Detail:1.19b1
* Hostnames are now converted to lowercase in the mass-virtual naming section.
The loop that converts dots to underscores has been optimized as well.
* Migration to autoconf
* New directive LogSQLTableType allows one to specify the kind of table that
the module makes during table creation (e.g. InnoDB, MyISAM). Thanks to Jim
Turner for the suggestion and patch. If your MySQL server does not support
the specified type, it will create a MyISAM table instead.
* Directives can now be placed in the 'main' server config and will be
inherited by the virtual hosts. This means a LOT less repetition: you only
specify the item once to have it inherited, but it can still be overridden
on a virtualhost level.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in new file mode 100644 index 0000000..5a365bc --- /dev/null +++ b/Makefile.in | |||
@@ -0,0 +1,99 @@ | |||
1 | # $Id: Makefile.in,v 1.1 2003/07/22 04:17:53 helios Exp $ | ||
2 | |||
3 | ########################################################################### | ||
4 | # Don't uncomment this without reading the "Optimizing for a busy database" | ||
5 | # section in the documentation (under "Advanced logging scenarios"). | ||
6 | |||
7 | #@DEFS@ | ||
8 | |||
9 | #MYSQLDELAYED = -DWANT_DELAYED_MYSQL_INSERT | ||
10 | |||
11 | ########################################################################### | ||
12 | # Rarely if ever have to touch below here. | ||
13 | |||
14 | MLMVERS = 1.18 | ||
15 | #APXSGDB = -Wc,-g | ||
16 | APXSOPTS = -Wc,-O2 -Wc,-Wall | ||
17 | STATOPTS = -fpic -O2 -Wall | ||
18 | CC = @CC@ | ||
19 | INSTALL = @INSTALL@ -m 664 | ||
20 | RM = @RM@ | ||
21 | LYX = @LYX@ | ||
22 | LATEX = @LATEX@ | ||
23 | DVIPS = @DVIPS@ | ||
24 | LINKS = @LINKS@ | ||
25 | L2H = @L2H@ | ||
26 | WEBSERV = gw0.corp | ||
27 | |||
28 | ifeq (@HAVE_MODSSL@, 1) | ||
29 | FLAGS = -DEAPI -I@MYSQLHDRDIR@ $(MYSQLDELAYED) -I@APSRCDIR@/src/modules/ssl -DWANT_SSL_LOGGING | ||
30 | else | ||
31 | FLAGS = -DEAPI -I@MYSQLHDRDIR@ $(MYSQLDELAYED) | ||
32 | endif | ||
33 | |||
34 | all: | ||
35 | @echo "You can choose to make mod_log_sql as a static or dynamic module." | ||
36 | @echo "Either 'make dso' or 'make static'." | ||
37 | @echo | ||
38 | @echo "Please first read the documentation carefully!" | ||
39 | |||
40 | dso: mod_log_sql.so | ||
41 | |||
42 | static: mod_log_sql.o | ||
43 | |||
44 | mod_log_sql.so: mod_log_sql.c Makefile | ||
45 | @APXSDIR@/apxs -c $(APXSGDB) $(APXSOPTS) $(FLAGS) -L@MYSQLLIBDIR@ @LIBS@ mod_log_sql.c | ||
46 | |||
47 | mod_log_sql.o: mod_log_sql.c Makefile | ||
48 | $(CC) $(STATOPTS) $(FLAGS) -I@APHDRDIR@ -c mod_log_sql.c | ||
49 | |||
50 | dsoinstall: dso | ||
51 | @APXSDIR@/apxs -i mod_log_sql.so | ||
52 | |||
53 | statinstall: static | ||
54 | $(INSTALL) -d -m 755 @APSRCDIR@/src/modules/sql | ||
55 | $(INSTALL) mod_log_sql.c @APSRCDIR@/src/modules/sql/mod_log_sql.c | ||
56 | $(INSTALL) Makefile @APSRCDIR@/src/modules/sql/Makefile | ||
57 | $(INSTALL) mod_log_sql.o @APSRCDIR@/src/modules/sql/mod_log_sql.o | ||
58 | |||
59 | clean: | ||
60 | $(RM) -rf *.o *.so | ||
61 | $(RM) -f Documentation/HTML/*.html Documentation/HTML/*.css Documentation/HTML/*.png | ||
62 | $(RM) -f Documentation/*.tex | ||
63 | $(RM) -f Documentation/*.dvi | ||
64 | $(RM) -f Documentation/*.ps | ||
65 | $(RM) -f Documentation/*.txt | ||
66 | |||
67 | distclean: clean | ||
68 | $(RM) -f config.log config.status config.cache config.guess confdefs.h Makefile config.h | ||
69 | |||
70 | distro: documentation | ||
71 | @scp CHANGELOG $(WEBSERV):@APDSTDIR@/html/mod_log_sql/docs | ||
72 | @scp Documentation/*.ps $(WEBSERV):@APDSTDIR@/html/mod_log_sql/docs | ||
73 | @scp Documentation/HTML/*.html $(WEBSERV):@APDSTDIR@/html/mod_log_sql/docs/ | ||
74 | @scp Documentation/HTML/*.png $(WEBSERV):@APDSTDIR@/html/mod_log_sql/docs/ | ||
75 | @cd ..; tar jcf mod_log_sql-$(MLMVERS).tar.bz2 --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.bz2 $(WEBSERV):@APDSTDIR@/html/mod_log_sql/; rm -f mod_log_sql-$(MLMVERS).tar.bz2 | ||
76 | @ssh $(WEBSERV) "ln -sf mod_log_sql-$(MLMVERS).tar.bz2 @APDSTDIR@/html/mod_log_sql/mod_log_sql.tar.bz2" | ||
77 | |||
78 | pre-distro: documentation | ||
79 | @cd ..; tar jcf mod_log_sql-$(MLMVERS).tar.bz2 --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.bz2 $(WEBSERV):@APDSTDIR@/html/mod_log_sql/; rm -f mod_log_sql-$(MLMVERS).tar.bz2 | ||
80 | |||
81 | documentation: Documentation/documentation.lyx | ||
82 | @echo "Creating LaTeX docs..." | ||
83 | @$(LYX) --export latex Documentation/documentation.lyx 2>/dev/null | ||
84 | @echo "Creating cross-references...run 1" | ||
85 | @cd Documentation ; $(LATEX) documentation.tex >/dev/null 2>&1 | ||
86 | @echo "Creating cross-references...run 2" | ||
87 | @cd Documentation ; $(LATEX) documentation.tex >/dev/null 2>&1 | ||
88 | @echo "Creating cross-references...run 3" | ||
89 | @cd Documentation ; $(LATEX) documentation.tex >/dev/null 2>&1 | ||
90 | @echo "Creating PostScript docs..." | ||
91 | @$(DVIPS) Documentation/documentation.dvi -o Documentation/documentation.ps 2>/dev/null | ||
92 | @echo "Creating HTML docs..." | ||
93 | @$(L2H) -local_icons -show_section_numbers -split 4 -navigation -noindex_in_navigation -contents_in_navigation -dir Documentation/HTML Documentation/documentation.tex >/dev/null 2>&1 | ||
94 | @echo "Creating plain text docs..." | ||
95 | @$(L2H) -show_section_numbers -split 0 -dir Documentation/ Documentation/documentation.tex >/dev/null 2>&1 | ||
96 | @$(LINKS) -dump -nolist -width=120 -dump Documentation/documentation.html > Documentation/documentation.txt 2>/dev/null | ||
97 | @echo "Cleaning up..." | ||
98 | @$(RM) -f Documentation/*.html Documentation/WARNINGS Documentation/*.pl Documentation/*.aux Documentation/*.css Documentation/*.toc Documentation/*.log Documentation/*.old Documentation/*.png Documentation/images.tex | ||
99 | @$(RM) -f Documentation/HTML/WARNINGS Documentation/HTML/*.pl Documentation/HTML/*.log Documentation/HTML/*.aux Documentation/HTML/*.tex Documentation/HTML/*.old Documentation/HTML/index.html | ||