diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 156 |
1 files changed, 14 insertions, 142 deletions
diff --git a/Makefile.in b/Makefile.in index 2865d5f..4c60869 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -1,98 +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 utility |
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 | #Don't modify anything below here | 9 | #Don't modify anything below here |
81 | 10 | ||
82 | PROVIDERS_SUBDIRS = @subdirs@ | 11 | top_srcdir = @top_srcdir@ |
83 | |||
84 | srcdir = @abs_srcdir@ | 12 | srcdir = @abs_srcdir@ |
85 | builddir = @abs_builddir@ | 13 | builddir = @abs_builddir@ |
86 | 14 | ||
87 | OBJ = $(coreSOURCES:.c=.o) $(logioSOURCES:.c=.o) $(sslSOURCES:.c=.o) $(mysqlSOURCES:.c=.o) \ | ||
88 | $(dbiSOURCES:.c=.o) $(pgsqlSOURCES:.c=.o) | ||
89 | |||
90 | LO = $(coreSOURCES:.c=.lo) $(logioSOURCES:.c=.lo) $(sslSOURCES:.c=.lo) $(mysqlSOURCES:.c=.lo) \ | ||
91 | $(dbiSOURCES:.c=.lo) $(pgsqlSOURCES:.c=.lo) | ||
92 | |||
93 | SLO = $(coreSOURCES:.c=.slo) $(logioSOURCES:.c=.slo) $(sslSOURCES:.c=.slo) $(mysqlSOURCES:.c=.slo) \ | ||
94 | $(dbiSOURCES:.c=.slo) $(pgsqlSOURCES:.c=.slo) | ||
95 | |||
96 | STD_DIST = install-sh \ | 15 | STD_DIST = install-sh \ |
97 | config.sub \ | 16 | config.sub \ |
98 | config.guess \ | 17 | config.guess \ |
@@ -101,16 +20,15 @@ STD_DIST = install-sh \ | |||
101 | configure.ac \ | 20 | configure.ac \ |
102 | configure \ | 21 | configure \ |
103 | stamp-h.in \ | 22 | stamp-h.in \ |
104 | config.h.in | 23 | include/config.h.in |
105 | 24 | ||
106 | DISTFILES = $(STD_DIST) $(EXTRA_DIST) $(coreSOURCES) $(HEADERS) \ | 25 | DISTFILES = $(STD_DIST) $(EXTRA_DIST) |
107 | $(sslSOURCES) $(logioSOURCES) $(mysqlSOURCES) $(pgsqlSOURCES) $(dbiSOURCES) | ||
108 | 26 | ||
109 | all: $(TARGETS) all-subdirs | 27 | all: all-subdirs |
110 | 28 | ||
111 | all-subdirs install-subdirs activate-subdirs clean-subdirs distclean-subdirs: | 29 | all-subdirs install-subdirs activate-subdirs clean-subdirs distclean-subdirs: |
112 | @otarget=`echo $@|sed s/-subdirs//`; \ | 30 | @otarget=`echo $@|sed s/-subdirs//`; \ |
113 | list=' $(PROVIDERS_SUBDIRS) $(SUBDIRS)'; \ | 31 | list=' $(SUBDIRS)'; \ |
114 | for i in $$list; do \ | 32 | for i in $$list; do \ |
115 | if test -d "$$i"; then \ | 33 | if test -d "$$i"; then \ |
116 | target="$$otarget"; \ | 34 | target="$$otarget"; \ |
@@ -124,49 +42,9 @@ all-subdirs install-subdirs activate-subdirs clean-subdirs distclean-subdirs: | |||
124 | done; | 42 | done; |
125 | 43 | ||
126 | TODO: TODO.in | 44 | TODO: TODO.in |
127 | @./gen_todo.pl | 45 | @./m4/scripts/gen_todo.pl |
128 | 46 | ||
129 | $(coreTARGET): $(coreSOURCES) $(HEADERS) | 47 | install: install-subdirs |
130 | @@APXS_BIN@ -c -o $(coreTARGET) $(coreCFLAGS) $(CFLAGS) \ | ||
131 | @DEFS@ @AP_DEFS@ $(coreLDADD) $(coreSOURCES) | ||
132 | |||
133 | $(logioTARGET): $(logioSOURCES) $(HEADERS) | ||
134 | @@APXS_BIN@ -c -o $(logioTARGET) $(logioCFLAGS) $(CFLAGS) \ | ||
135 | @DEFS@ @AP_DEFS@ $(logioLDADD) $(logioSOURCES) | ||
136 | |||
137 | $(sslTARGET): $(sslSOURCES) $(HEADERS) | ||
138 | @@APXS_BIN@ -c -o $(sslTARGET) $(sslCFLAGS) $(CFLAGS) \ | ||
139 | @DEFS@ @AP_DEFS@ $(sslLDADD) $(sslSOURCES) | ||
140 | |||
141 | $(mysqlTARGET): $(mysqlSOURCES) $(HEADERS) | ||
142 | @@APXS_BIN@ -c -o $(mysqlTARGET) $(mysqlCFLAGS) $(CFLAGS) \ | ||
143 | @DEFS@ @AP_DEFS@ $(mysqlLDADD) $(mysqlSOURCES) | ||
144 | |||
145 | $(pgsqlTARGET): $(pgsqlSOURCES) $(HEADERS) | ||
146 | @@APXS_BIN@ -c -o $(pgsqlTARGET) $(pgsqlCFLAGS) $(CFLAGS) \ | ||
147 | @DEFS@ @AP_DEFS@ $(pgsqlLDADD) $(pgsqlSOURCES) | ||
148 | |||
149 | $(dbiTARGET): $(dbiSOURCES) $(HEADERS) | ||
150 | @@APXS_BIN@ -c -o $(dbiTARGET) $(dbiCFLAGS) $(CFLAGS) \ | ||
151 | @DEFS@ @AP_DEFS@ $(dbiLDADD) $(dbiSOURCES) | ||
152 | |||
153 | install: $(TARGETS) install-subdirs | ||
154 | @@APXS_BIN@ -n $(coreNAME) -i $(coreTARGET); \ | ||
155 | if test @WANT_MYSQL_MOD@ -eq 1; then \ | ||
156 | @APXS_BIN@ -n $(mysqlNAME) -i $(mysqlTARGET); \ | ||
157 | fi; \ | ||
158 | if test @WANT_PGSQL_MOD@ -eq 1; then \ | ||
159 | @APXS_BIN@ -n $(pgsqlNAME) -i $(pgsqlTARGET); \ | ||
160 | fi; \ | ||
161 | if test @WANT_DBI_MOD@ -eq 1; then \ | ||
162 | @APXS_BIN@ -n $(dbiNAME) -i $(dbiTARGET); \ | ||
163 | fi; \ | ||
164 | if test @WANT_SSL_MOD@ -eq 1; then \ | ||
165 | @APXS_BIN@ -n $(sslNAME) -i $(sslTARGET); \ | ||
166 | fi; \ | ||
167 | if test @WANT_LOGIO_MOD@ -eq 1; then \ | ||
168 | @APXS_BIN@ -n $(logioNAME) -i $(logioTARGET); \ | ||
169 | fi; \ | ||
170 | echo "*************************************************************************"; \ | 48 | echo "*************************************************************************"; \ |
171 | echo "*** The mod_log_sql modules have been installed."; \ | 49 | echo "*** The mod_log_sql modules have been installed."; \ |
172 | echo "*** Please edit your Apache configuration files and"; \ | 50 | echo "*** Please edit your Apache configuration files and"; \ |
@@ -183,17 +61,11 @@ install: $(TARGETS) install-subdirs | |||
183 | echo "*************************************************************************"; | 61 | echo "*************************************************************************"; |
184 | 62 | ||
185 | activate: activate-subdirs | 63 | activate: activate-subdirs |
186 | @@APXS_BIN@ -n $(coreNAME) -i -a $(coreTARGET); \ | ||
187 | if test @WANT_SSL_MOD@ -eq 1; then \ | ||
188 | @APXS_BIN@ -n $(sslNAME) -i -a $(sslTARGET); \ | ||
189 | fi | ||
190 | 64 | ||
191 | clean: clean-subdirs | 65 | clean: clean-subdirs |
192 | $(RM) $(OBJ) $(SLO) $(LO) $(TARGETS) | ||
193 | $(RM) -r .libs | ||
194 | 66 | ||
195 | distclean: clean distclean-subdirs | 67 | distclean: clean distclean-subdirs |
196 | $(RM) config.status config.log config.h config.h.in \ | 68 | $(RM) config.status config.log include/config.h include/config.h.in \ |
197 | configure stamp-h stamp-h.in Makefile aclocal.m4 | 69 | configure stamp-h stamp-h.in Makefile aclocal.m4 |
198 | $(RM) -r autom4te-2.53.cache | 70 | $(RM) -r autom4te-2.53.cache |
199 | 71 | ||
@@ -201,7 +73,7 @@ DESTDIR = @PACKAGE_NAME@-@PACKAGE_VERSION@ | |||
201 | DESTTGZ = $(DESTDIR).tar.gz | 73 | DESTTGZ = $(DESTDIR).tar.gz |
202 | dist: | 74 | dist: |
203 | @rm -rf $(DESTDIR); \ | 75 | @rm -rf $(DESTDIR); \ |
204 | list=' $(PROVIDERS_SUBDIRS) $(SUBDIRS)'; \ | 76 | list=' $(SUBDIRS)'; \ |
205 | for i in $$list; do \ | 77 | for i in $$list; do \ |
206 | if test -d "$$i"; then \ | 78 | if test -d "$$i"; then \ |
207 | target=local-dist; \ | 79 | target=local-dist; \ |
@@ -222,8 +94,8 @@ dist: | |||
222 | rm -rf $(DESTDIR); \ | 94 | rm -rf $(DESTDIR); \ |
223 | 95 | ||
224 | local-dist: $(DISTFILES) | 96 | local-dist: $(DISTFILES) |
225 | @mkdir -p $(DESTDIR); \ | 97 | mkdir -p $(DESTDIR) |
226 | cp -dp --parents $(DISTFILES) $(DESTDIR); | 98 | cp -dp --parents $(DISTFILES) $(DESTDIR) |
227 | 99 | ||
228 | .PHONY: include all-subdirs activate-subdirs install-subdirs \ | 100 | .PHONY: include all-subdirs activate-subdirs install-subdirs \ |
229 | clean-subdirs distclean-subdirs dist | 101 | clean-subdirs distclean-subdirs dist |
@@ -241,7 +113,7 @@ stamp-h: config.h.in config.status | |||
241 | ./config.status | 113 | ./config.status |
242 | 114 | ||
243 | $(srcdir)/configure: configure.ac aclocal.m4 | 115 | $(srcdir)/configure: configure.ac aclocal.m4 |
244 | cd $(srcdir) && autoconf-2.53 | 116 | cd $(srcdir) && autoconf |
245 | 117 | ||
246 | Makefile: Makefile.in config.status | 118 | Makefile: Makefile.in config.status |
247 | ./config.status | 119 | ./config.status |