diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 170 |
1 files changed, 12 insertions, 158 deletions
diff --git a/Makefile.in b/Makefile.in index 2647d2e..fb4ea42 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -1,108 +1,17 @@ | |||
1 | # @configure_input@ | 1 | # @configure_input@ |
2 | 2 | ||
3 | # Modify these top variables. | 3 | # Modify these top variables. |
4 | SUBDIRS = docs contrib | 4 | SUBDIRS = docs contrib src |
5 | |||
6 | HEADERS = mod_log_sql.h \ | ||
7 | functions.h \ | ||
8 | functions13.h \ | ||
9 | functions20.h \ | ||
10 | apache13.h \ | ||
11 | apache20.h \ | ||
12 | winconfig.h | ||
13 | |||
14 | CFLAGS = -Wc,-Wall -Wc,-fno-strict-aliasing | ||
15 | |||
16 | ifeq (@OOO_MAINTAIN@,1) | ||
17 | CFLAGS += -Wc,-Werror | ||
18 | endif | ||
19 | 5 | ||
20 | EXTRA_DIST = AUTHORS INSTALL TODO LICENSE CHANGELOG \ | 6 | EXTRA_DIST = AUTHORS INSTALL TODO LICENSE CHANGELOG \ |
21 | build-apache13.bat build-apache2.bat \ | 7 | build-apache13.bat build-apache2.bat \ |
22 | 8 | ||
23 | coreSOURCES = @PACKAGE_NAME@.c | ||
24 | coreTARGET = @PACKAGE_NAME@@APXS_EXTENSION@ | ||
25 | coreLDADD = @RT_LIBS@ | ||
26 | coreCFLAGS = | ||
27 | coreNAME = log_sql | ||
28 | TARGETS = $(coreTARGET) | ||
29 | |||
30 | sslSOURCES = @PACKAGE_NAME@_ssl.c | ||
31 | sslTARGET = @PACKAGE_NAME@_ssl@APXS_EXTENSION@ | ||
32 | sslLDADD = | ||
33 | sslCFLAGS = @MOD_SSL_CFLAGS@ | ||
34 | sslNAME = log_sql_ssl | ||
35 | |||
36 | ifeq (@WANT_SSL_MOD@,1) | ||
37 | TARGETS += $(sslTARGET) | ||
38 | endif | ||
39 | |||
40 | logioSOURCES = @PACKAGE_NAME@_logio.c | ||
41 | logioTARGET = @PACKAGE_NAME@_logio@APXS_EXTENSION@ | ||
42 | logioLDADD = | ||
43 | logioCFLAGS = | ||
44 | logioNAME = log_sql_logio | ||
45 | |||
46 | ifeq (@WANT_LOGIO_MOD@,1) | ||
47 | TARGETS += $(logioTARGET) | ||
48 | endif | ||
49 | |||
50 | mysqlSOURCES = @PACKAGE_NAME@_mysql.c | ||
51 | mysqlTARGET = @PACKAGE_NAME@_mysql@APXS_EXTENSION@ | ||
52 | mysqlLDADD = @MYSQL_LDFLAGS@ @MYSQL_LIBS@ | ||
53 | mysqlCFLAGS = @MYSQL_CFLAGS@ | ||
54 | mysqlNAME = log_sql_mysql | ||
55 | |||
56 | ifeq (@WANT_MYSQL_MOD@,1) | ||
57 | TARGETS += $(mysqlTARGET) | ||
58 | endif | ||
59 | |||
60 | pgsqlSOURCES = @PACKAGE_NAME@_pgsql.c | ||
61 | pgsqlTARGET = @PACKAGE_NAME@_pgsql@APXS_EXTENSION@ | ||
62 | pgsqlLDADD = @PGSQL_LDFLAGS@ @PGSQL_LIBS@ | ||
63 | pgsqlCFLAGS = @PGSQL_CFLAGS@ | ||
64 | pgsqlNAME = log_sql_pgsql | ||
65 | |||
66 | ifeq (@WANT_PGSQL_MOD@,1) | ||
67 | TARGETS += $(pgsqlTARGET) | ||
68 | endif | ||
69 | |||
70 | dbiSOURCES = @PACKAGE_NAME@_dbi.c | ||
71 | dbiTARGET = @PACKAGE_NAME@_dbi@APXS_EXTENSION@ | ||
72 | dbiLDADD = @DBI_LDFLAGS@ @DBI_LIBS@ | ||
73 | dbiCFLAGS = @DBI_CFLAGS@ | ||
74 | dbiNAME = log_sql_dbi | ||
75 | |||
76 | ifeq (@WANT_DBI_MOD@,1) | ||
77 | TARGETS += $(dbiTARGET) | ||
78 | endif | ||
79 | |||
80 | dbdSOURCES = @PACKAGE_NAME@_dbd.c | ||
81 | dbdTARGET = @PACKAGE_NAME@_dbd@APXS_EXTENSION@ | ||
82 | dbdLDADD = | ||
83 | dbdCFLAGS = | ||
84 | dbdNAME = log_sql_dbd | ||
85 | |||
86 | ifeq (@WANT_DBD_MOD@,1) | ||
87 | TARGETS += $(dbdTARGET) | ||
88 | endif | ||
89 | |||
90 | #Don't modify anything below here | 9 | #Don't modify anything below here |
91 | 10 | ||
92 | PROVIDERS_SUBDIRS = @subdirs@ | 11 | top_srcdir = @top_srcdir@ |
93 | |||
94 | srcdir = @abs_srcdir@ | 12 | srcdir = @abs_srcdir@ |
95 | builddir = @abs_builddir@ | 13 | builddir = @abs_builddir@ |
96 | 14 | ||
97 | OBJ = $(coreSOURCES:.c=.o) $(logioSOURCES:.c=.o) $(sslSOURCES:.c=.o) $(mysqlSOURCES:.c=.o) \ | ||
98 | $(dbiSOURCES:.c=.o) $(pgsqlSOURCES:.c=.o) $(dbdSOURCES:.c=.o) | ||
99 | |||
100 | LO = $(coreSOURCES:.c=.lo) $(logioSOURCES:.c=.lo) $(sslSOURCES:.c=.lo) $(mysqlSOURCES:.c=.lo) \ | ||
101 | $(dbiSOURCES:.c=.lo) $(pgsqlSOURCES:.c=.lo) $(dbdSOURCES:.c=.lo) | ||
102 | |||
103 | SLO = $(coreSOURCES:.c=.slo) $(logioSOURCES:.c=.slo) $(sslSOURCES:.c=.slo) $(mysqlSOURCES:.c=.slo) \ | ||
104 | $(dbiSOURCES:.c=.slo) $(pgsqlSOURCES:.c=.slo) $(dbdSOURCES:.c=.slo) | ||
105 | |||
106 | STD_DIST = install-sh \ | 15 | STD_DIST = install-sh \ |
107 | config.sub \ | 16 | config.sub \ |
108 | config.guess \ | 17 | config.guess \ |
@@ -111,16 +20,15 @@ STD_DIST = install-sh \ | |||
111 | configure.ac \ | 20 | configure.ac \ |
112 | configure \ | 21 | configure \ |
113 | stamp-h.in \ | 22 | stamp-h.in \ |
114 | config.h.in | 23 | include/config.h.in |
115 | 24 | ||
116 | DISTFILES = $(STD_DIST) $(EXTRA_DIST) $(coreSOURCES) $(HEADERS) \ | 25 | DISTFILES = $(STD_DIST) $(EXTRA_DIST) |
117 | $(sslSOURCES) $(logioSOURCES) $(mysqlSOURCES) $(pgsqlSOURCES) $(dbiSOURCES) $(dbdSOURCES) | ||
118 | 26 | ||
119 | all: $(TARGETS) all-subdirs | 27 | all: all-subdirs |
120 | 28 | ||
121 | all-subdirs install-subdirs activate-subdirs clean-subdirs distclean-subdirs: | 29 | all-subdirs install-subdirs activate-subdirs clean-subdirs distclean-subdirs: |
122 | @otarget=`echo $@|sed s/-subdirs//`; \ | 30 | @otarget=`echo $@|sed s/-subdirs//`; \ |
123 | list=' $(PROVIDERS_SUBDIRS) $(SUBDIRS)'; \ | 31 | list=' $(SUBDIRS)'; \ |
124 | for i in $$list; do \ | 32 | for i in $$list; do \ |
125 | if test -d "$$i"; then \ | 33 | if test -d "$$i"; then \ |
126 | target="$$otarget"; \ | 34 | target="$$otarget"; \ |
@@ -134,57 +42,9 @@ all-subdirs install-subdirs activate-subdirs clean-subdirs distclean-subdirs: | |||
134 | done; | 42 | done; |
135 | 43 | ||
136 | TODO: TODO.in | 44 | TODO: TODO.in |
137 | @./gen_todo.pl | 45 | @./m4/scripts/gen_todo.pl |
138 | |||
139 | $(coreTARGET): $(coreSOURCES) $(HEADERS) | ||
140 | @@APXS_BIN@ -c -o $(coreTARGET) $(coreCFLAGS) $(CFLAGS) \ | ||
141 | @DEFS@ @AP_DEFS@ $(coreLDADD) $(coreSOURCES) | ||
142 | |||
143 | $(logioTARGET): $(logioSOURCES) $(HEADERS) | ||
144 | @@APXS_BIN@ -c -o $(logioTARGET) $(logioCFLAGS) $(CFLAGS) \ | ||
145 | @DEFS@ @AP_DEFS@ $(logioLDADD) $(logioSOURCES) | ||
146 | 46 | ||
147 | $(sslTARGET): $(sslSOURCES) $(HEADERS) | 47 | install: install-subdirs |
148 | @@APXS_BIN@ -c -o $(sslTARGET) $(sslCFLAGS) $(CFLAGS) \ | ||
149 | @DEFS@ @AP_DEFS@ $(sslLDADD) $(sslSOURCES) | ||
150 | |||
151 | $(mysqlTARGET): $(mysqlSOURCES) $(HEADERS) | ||
152 | @@APXS_BIN@ -c -o $(mysqlTARGET) $(mysqlCFLAGS) $(CFLAGS) \ | ||
153 | @DEFS@ @AP_DEFS@ $(mysqlLDADD) $(mysqlSOURCES) | ||
154 | |||
155 | $(pgsqlTARGET): $(pgsqlSOURCES) $(HEADERS) | ||
156 | @@APXS_BIN@ -c -o $(pgsqlTARGET) $(pgsqlCFLAGS) $(CFLAGS) \ | ||
157 | @DEFS@ @AP_DEFS@ $(pgsqlLDADD) $(pgsqlSOURCES) | ||
158 | |||
159 | $(dbiTARGET): $(dbiSOURCES) $(HEADERS) | ||
160 | @@APXS_BIN@ -c -o $(dbiTARGET) $(dbiCFLAGS) $(CFLAGS) \ | ||
161 | @DEFS@ @AP_DEFS@ $(dbiLDADD) $(dbiSOURCES) | ||
162 | |||
163 | $(dbdTARGET): $(dbdSOURCES) $(HEADERS) | ||
164 | @@APXS_BIN@ -c -o $(dbdTARGET) $(dbdCFLAGS) $(CFLAGS) \ | ||
165 | @DEFS@ @AP_DEFS@ $(dbdLDADD) $(dbdSOURCES) | ||
166 | |||
167 | |||
168 | install: $(TARGETS) install-subdirs | ||
169 | @@APXS_BIN@ -n $(coreNAME) -i $(coreTARGET); \ | ||
170 | if test @WANT_MYSQL_MOD@ -eq 1; then \ | ||
171 | @APXS_BIN@ -n $(mysqlNAME) -i $(mysqlTARGET); \ | ||
172 | fi; \ | ||
173 | if test @WANT_PGSQL_MOD@ -eq 1; then \ | ||
174 | @APXS_BIN@ -n $(pgsqlNAME) -i $(pgsqlTARGET); \ | ||
175 | fi; \ | ||
176 | if test @WANT_DBI_MOD@ -eq 1; then \ | ||
177 | @APXS_BIN@ -n $(dbiNAME) -i $(dbiTARGET); \ | ||
178 | fi; \ | ||
179 | if test @WANT_DBD_MOD@ -eq 1; then \ | ||
180 | @APXS_BIN@ -n $(dbdNAME) -i $(dbdTARGET); \ | ||
181 | fi; \ | ||
182 | if test @WANT_SSL_MOD@ -eq 1; then \ | ||
183 | @APXS_BIN@ -n $(sslNAME) -i $(sslTARGET); \ | ||
184 | fi; \ | ||
185 | if test @WANT_LOGIO_MOD@ -eq 1; then \ | ||
186 | @APXS_BIN@ -n $(logioNAME) -i $(logioTARGET); \ | ||
187 | fi; \ | ||
188 | echo "*************************************************************************"; \ | 48 | echo "*************************************************************************"; \ |
189 | echo "*** The mod_log_sql modules have been installed."; \ | 49 | echo "*** The mod_log_sql modules have been installed."; \ |
190 | echo "*** Please edit your Apache configuration files and"; \ | 50 | echo "*** Please edit your Apache configuration files and"; \ |
@@ -201,17 +61,11 @@ install: $(TARGETS) install-subdirs | |||
201 | echo "*************************************************************************"; | 61 | echo "*************************************************************************"; |
202 | 62 | ||
203 | activate: activate-subdirs | 63 | activate: activate-subdirs |
204 | @@APXS_BIN@ -n $(coreNAME) -i -a $(coreTARGET); \ | ||
205 | if test @WANT_SSL_MOD@ -eq 1; then \ | ||
206 | @APXS_BIN@ -n $(sslNAME) -i -a $(sslTARGET); \ | ||
207 | fi | ||
208 | 64 | ||
209 | clean: clean-subdirs | 65 | clean: clean-subdirs |
210 | $(RM) $(OBJ) $(SLO) $(LO) $(TARGETS) | ||
211 | $(RM) -r .libs | ||
212 | 66 | ||
213 | distclean: clean distclean-subdirs | 67 | distclean: clean distclean-subdirs |
214 | $(RM) config.status config.log config.h config.h.in \ | 68 | $(RM) config.status config.log include/config.h include/config.h.in \ |
215 | configure stamp-h stamp-h.in Makefile aclocal.m4 | 69 | configure stamp-h stamp-h.in Makefile aclocal.m4 |
216 | $(RM) -r autom4te-2.53.cache | 70 | $(RM) -r autom4te-2.53.cache |
217 | 71 | ||
@@ -219,7 +73,7 @@ DESTDIR = @PACKAGE_NAME@-@PACKAGE_VERSION@ | |||
219 | DESTTGZ = $(DESTDIR).tar.gz | 73 | DESTTGZ = $(DESTDIR).tar.gz |
220 | dist: | 74 | dist: |
221 | @rm -rf $(DESTDIR); \ | 75 | @rm -rf $(DESTDIR); \ |
222 | list=' $(PROVIDERS_SUBDIRS) $(SUBDIRS)'; \ | 76 | list=' $(SUBDIRS)'; \ |
223 | for i in $$list; do \ | 77 | for i in $$list; do \ |
224 | if test -d "$$i"; then \ | 78 | if test -d "$$i"; then \ |
225 | target=local-dist; \ | 79 | target=local-dist; \ |
@@ -240,8 +94,8 @@ dist: | |||
240 | rm -rf $(DESTDIR); \ | 94 | rm -rf $(DESTDIR); \ |
241 | 95 | ||
242 | local-dist: $(DISTFILES) | 96 | local-dist: $(DISTFILES) |
243 | @mkdir -p $(DESTDIR); \ | 97 | mkdir -p $(DESTDIR) |
244 | cp -dp --parents $(DISTFILES) $(DESTDIR); | 98 | cp -dp --parents $(DISTFILES) $(DESTDIR) |
245 | 99 | ||
246 | .PHONY: include all-subdirs activate-subdirs install-subdirs \ | 100 | .PHONY: include all-subdirs activate-subdirs install-subdirs \ |
247 | clean-subdirs distclean-subdirs dist | 101 | clean-subdirs distclean-subdirs dist |