diff options
author | Edward Rudd | 2004-07-16 01:33:59 +0000 |
---|---|---|
committer | Edward Rudd | 2004-07-16 01:33:59 +0000 |
commit | 197e405e8e8ae8e11bb251305043810c7fa93e4e (patch) | |
tree | c601e247a7073c6385cf739d96de7399c31b5feb /Makefile.in | |
parent | 21122f1bb734aa00fc14564d801ea9dc4804c793 (diff) |
fixed another segfault related to the mysql escaping function (forcepreserve bug)
included win32 build bat files in distribution
separated -Werror to a configure time option (--enable-maintainer)
update autogen to use autoconf 2.57, aclocal 1.7
included pgsql and dbi module source in distribution.
setup autodetection in configure script for databases.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 51 |
1 files changed, 32 insertions, 19 deletions
diff --git a/Makefile.in b/Makefile.in index 5b4f368..7e7ae94 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -2,7 +2,6 @@ | |||
2 | 2 | ||
3 | # Modify these top variables. | 3 | # Modify these top variables. |
4 | SUBDIRS = docs contrib | 4 | SUBDIRS = docs contrib |
5 | SOURCES = @PACKAGE_NAME@.c | ||
6 | 5 | ||
7 | HEADERS = mod_log_sql.h \ | 6 | HEADERS = mod_log_sql.h \ |
8 | functions.h \ | 7 | functions.h \ |
@@ -11,15 +10,21 @@ HEADERS = mod_log_sql.h \ | |||
11 | apache13.h \ | 10 | apache13.h \ |
12 | apache20.h | 11 | apache20.h |
13 | 12 | ||
14 | CFLAGS = -Wc,-Wall -Wc,-Werror -Wc,-fno-strict-aliasing | 13 | CFLAGS = -Wc,-Wall -Wc,-fno-strict-aliasing |
15 | 14 | ||
16 | LDADD = @RT_LIBS@ | 15 | ifeq (@OOO_MAINTAIN@,1) |
17 | 16 | CFLAGS += -Wc,-Werror | |
18 | EXTRA_DIST = AUTHORS INSTALL TODO LICENSE CHANGELOG | 17 | endif |
19 | 18 | ||
20 | TARGET = @PACKAGE_NAME@@APXS_EXTENSION@ | 19 | EXTRA_DIST = AUTHORS INSTALL TODO LICENSE CHANGELOG \ |
20 | build-apache13.bat build-apache2.bat | ||
21 | 21 | ||
22 | TARGETS = $(TARGET) | 22 | coreSOURCES = @PACKAGE_NAME@.c |
23 | coreTARGET = @PACKAGE_NAME@@APXS_EXTENSION@ | ||
24 | coreLDADD = @RT_LIBS@ | ||
25 | coreCFLAGS = | ||
26 | coreNAME = log_sql | ||
27 | TARGETS = $(coreTARGET) | ||
23 | 28 | ||
24 | sslSOURCES = @PACKAGE_NAME@_ssl.c | 29 | sslSOURCES = @PACKAGE_NAME@_ssl.c |
25 | sslTARGET = @PACKAGE_NAME@_ssl@APXS_EXTENSION@ | 30 | sslTARGET = @PACKAGE_NAME@_ssl@APXS_EXTENSION@ |
@@ -68,11 +73,14 @@ PROVIDERS_SUBDIRS = @subdirs@ | |||
68 | srcdir = @abs_srcdir@ | 73 | srcdir = @abs_srcdir@ |
69 | builddir = @abs_builddir@ | 74 | builddir = @abs_builddir@ |
70 | 75 | ||
71 | OBJ = $(SOURCES:.c=.o) $(sslSOURCES:.c=.o) $(mysqlSOURCES:.c=.o) | 76 | OBJ = $(SOURCES:.c=.o) $(sslSOURCES:.c=.o) $(mysqlSOURCES:.c=.o) \ |
77 | $(dbiSOURCES:.c=.o) $(pgsqlSOURCES:.c=.o) | ||
72 | 78 | ||
73 | LO = $(SOURCES:.c=.lo) $(sslSOURCES:.c=.lo) $(mysqlSOURCES:.c=.lo) | 79 | LO = $(SOURCES:.c=.lo) $(sslSOURCES:.c=.lo) $(mysqlSOURCES:.c=.lo) \ |
80 | $(dbiSOURCES:.c=.lo) $(pgsqlSOURCES:.c=.lo) | ||
74 | 81 | ||
75 | SLO = $(SOURCES:.c=.slo) $(sslSOURCES:.c=.slo) $(mysqlSOURCES:.c=.slo) | 82 | SLO = $(SOURCES:.c=.slo) $(sslSOURCES:.c=.slo) $(mysqlSOURCES:.c=.slo) \ |
83 | $(dbiSOURCES:.c=.slo) $(pgsqlSOURCES:.c=.slo) | ||
76 | 84 | ||
77 | STD_DIST = install-sh \ | 85 | STD_DIST = install-sh \ |
78 | config.sub \ | 86 | config.sub \ |
@@ -84,8 +92,8 @@ STD_DIST = install-sh \ | |||
84 | stamp-h.in \ | 92 | stamp-h.in \ |
85 | config.h.in | 93 | config.h.in |
86 | 94 | ||
87 | DISTFILES = $(STD_DIST) $(EXTRA_DIST) $(SOURCES) $(HEADERS) \ | 95 | DISTFILES = $(STD_DIST) $(EXTRA_DIST) $(coreSOURCES) $(HEADERS) \ |
88 | $(sslSOURCES) $(mysqlSOURCES) | 96 | $(sslSOURCES) $(mysqlSOURCES) $(pgsqlSOURCES) $(dbsqlSOURCES) |
89 | 97 | ||
90 | all: $(TARGETS) all-subdirs | 98 | all: $(TARGETS) all-subdirs |
91 | 99 | ||
@@ -107,9 +115,9 @@ all-subdirs install-subdirs activate-subdirs clean-subdirs distclean-subdirs: | |||
107 | TODO: TODO.in | 115 | TODO: TODO.in |
108 | @./gen_todo.pl | 116 | @./gen_todo.pl |
109 | 117 | ||
110 | $(TARGET): $(SOURCES) $(HEADERS) | 118 | $(coreTARGET): $(coreSOURCES) $(HEADERS) |
111 | @@APXS_BIN@ -c -o $(TARGET) $(CFLAGS) \ | 119 | @@APXS_BIN@ -c -o $(coreTARGET) $(coreCFLAGS) $(CFLAGS) \ |
112 | @DEFS@ @AP_DEFS@ $(LDADD) $(SOURCES) | 120 | @DEFS@ @AP_DEFS@ $(coreLDADD) $(coreSOURCES) |
113 | 121 | ||
114 | $(sslTARGET): $(sslSOURCES) $(HEADERS) | 122 | $(sslTARGET): $(sslSOURCES) $(HEADERS) |
115 | @@APXS_BIN@ -c -o $(sslTARGET) $(sslCFLAGS) $(CFLAGS) \ | 123 | @@APXS_BIN@ -c -o $(sslTARGET) $(sslCFLAGS) $(CFLAGS) \ |
@@ -128,8 +136,13 @@ $(dbiTARGET): $(dbiSOURCES) $(HEADERS) | |||
128 | @DEFS@ @AP_DEFS@ $(dbiLDADD) $(dbiSOURCES) | 136 | @DEFS@ @AP_DEFS@ $(dbiLDADD) $(dbiSOURCES) |
129 | 137 | ||
130 | install: $(TARGETS) install-subdirs | 138 | install: $(TARGETS) install-subdirs |
131 | @@APXS_BIN@ -i $(TARGET); \ | 139 | @@APXS_BIN@ -n $(coreNAME) -i $(coreTARGET); \ |
132 | @APXS_BIN@ -n $(mysqlNAME) -i $(mysqlTARGET); \ | 140 | if test @WANT_MYSQL_MOD@ -eq 1; then \ |
141 | @APXS_BIN@ -n $(mysqlNAME) -i $(mysqlTARGET); \ | ||
142 | fi; \ | ||
143 | if test @WANT_PGSQL_MOD@ -eq 1; then \ | ||
144 | @APXS_BIN@ -n $(pgsqlNAME) -i $(pgsqlTARGET); \ | ||
145 | fi; \ | ||
133 | if test @WANT_DBI_MOD@ -eq 1; then \ | 146 | if test @WANT_DBI_MOD@ -eq 1; then \ |
134 | @APXS_BIN@ -n $(dbiNAME) -i $(dbiTARGET); \ | 147 | @APXS_BIN@ -n $(dbiNAME) -i $(dbiTARGET); \ |
135 | fi; \ | 148 | fi; \ |
@@ -152,9 +165,9 @@ install: $(TARGETS) install-subdirs | |||
152 | echo "*************************************************************************"; | 165 | echo "*************************************************************************"; |
153 | 166 | ||
154 | activate: activate-subdirs | 167 | activate: activate-subdirs |
155 | @@APXS_BIN@ -i -a $(TARGET); \ | 168 | @@APXS_BIN@ -n $(coreNAME) -i -a $(coreTARGET); \ |
156 | if test @WANT_SSL_MOD@ -eq 1; then \ | 169 | if test @WANT_SSL_MOD@ -eq 1; then \ |
157 | @APXS_BIN@ -i -a $(sslTARGET); \ | 170 | @APXS_BIN@ -n $(sslNAME) -i -a $(sslTARGET); \ |
158 | fi | 171 | fi |
159 | 172 | ||
160 | clean: clean-subdirs | 173 | clean: clean-subdirs |