summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in51
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.
4SUBDIRS = docs contrib 4SUBDIRS = docs contrib
5SOURCES = @PACKAGE_NAME@.c
6 5
7HEADERS = mod_log_sql.h \ 6HEADERS = 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
14CFLAGS = -Wc,-Wall -Wc,-Werror -Wc,-fno-strict-aliasing 13CFLAGS = -Wc,-Wall -Wc,-fno-strict-aliasing
15 14
16LDADD = @RT_LIBS@ 15ifeq (@OOO_MAINTAIN@,1)
17 16CFLAGS += -Wc,-Werror
18EXTRA_DIST = AUTHORS INSTALL TODO LICENSE CHANGELOG 17endif
19 18
20TARGET = @PACKAGE_NAME@@APXS_EXTENSION@ 19EXTRA_DIST = AUTHORS INSTALL TODO LICENSE CHANGELOG \
20 build-apache13.bat build-apache2.bat
21 21
22TARGETS = $(TARGET) 22coreSOURCES = @PACKAGE_NAME@.c
23coreTARGET = @PACKAGE_NAME@@APXS_EXTENSION@
24coreLDADD = @RT_LIBS@
25coreCFLAGS =
26coreNAME = log_sql
27TARGETS = $(coreTARGET)
23 28
24sslSOURCES = @PACKAGE_NAME@_ssl.c 29sslSOURCES = @PACKAGE_NAME@_ssl.c
25sslTARGET = @PACKAGE_NAME@_ssl@APXS_EXTENSION@ 30sslTARGET = @PACKAGE_NAME@_ssl@APXS_EXTENSION@
@@ -68,11 +73,14 @@ PROVIDERS_SUBDIRS = @subdirs@
68srcdir = @abs_srcdir@ 73srcdir = @abs_srcdir@
69builddir = @abs_builddir@ 74builddir = @abs_builddir@
70 75
71OBJ = $(SOURCES:.c=.o) $(sslSOURCES:.c=.o) $(mysqlSOURCES:.c=.o) 76OBJ = $(SOURCES:.c=.o) $(sslSOURCES:.c=.o) $(mysqlSOURCES:.c=.o) \
77 $(dbiSOURCES:.c=.o) $(pgsqlSOURCES:.c=.o)
72 78
73LO = $(SOURCES:.c=.lo) $(sslSOURCES:.c=.lo) $(mysqlSOURCES:.c=.lo) 79LO = $(SOURCES:.c=.lo) $(sslSOURCES:.c=.lo) $(mysqlSOURCES:.c=.lo) \
80 $(dbiSOURCES:.c=.lo) $(pgsqlSOURCES:.c=.lo)
74 81
75SLO = $(SOURCES:.c=.slo) $(sslSOURCES:.c=.slo) $(mysqlSOURCES:.c=.slo) 82SLO = $(SOURCES:.c=.slo) $(sslSOURCES:.c=.slo) $(mysqlSOURCES:.c=.slo) \
83 $(dbiSOURCES:.c=.slo) $(pgsqlSOURCES:.c=.slo)
76 84
77STD_DIST = install-sh \ 85STD_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
87DISTFILES = $(STD_DIST) $(EXTRA_DIST) $(SOURCES) $(HEADERS) \ 95DISTFILES = $(STD_DIST) $(EXTRA_DIST) $(coreSOURCES) $(HEADERS) \
88 $(sslSOURCES) $(mysqlSOURCES) 96 $(sslSOURCES) $(mysqlSOURCES) $(pgsqlSOURCES) $(dbsqlSOURCES)
89 97
90all: $(TARGETS) all-subdirs 98all: $(TARGETS) all-subdirs
91 99
@@ -107,9 +115,9 @@ all-subdirs install-subdirs activate-subdirs clean-subdirs distclean-subdirs:
107TODO: TODO.in 115TODO: 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
130install: $(TARGETS) install-subdirs 138install: $(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
154activate: activate-subdirs 167activate: 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
160clean: clean-subdirs 173clean: clean-subdirs