summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in27
1 files changed, 22 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index d42c5d9..2865d5f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -18,7 +18,7 @@ CFLAGS += -Wc,-Werror
18endif 18endif
19 19
20EXTRA_DIST = AUTHORS INSTALL TODO LICENSE CHANGELOG \ 20EXTRA_DIST = AUTHORS INSTALL TODO LICENSE CHANGELOG \
21 build-apache13.bat build-apache2.bat 21 build-apache13.bat build-apache2.bat \
22 22
23coreSOURCES = @PACKAGE_NAME@.c 23coreSOURCES = @PACKAGE_NAME@.c
24coreTARGET = @PACKAGE_NAME@@APXS_EXTENSION@ 24coreTARGET = @PACKAGE_NAME@@APXS_EXTENSION@
@@ -37,6 +37,16 @@ ifeq (@WANT_SSL_MOD@,1)
37TARGETS += $(sslTARGET) 37TARGETS += $(sslTARGET)
38endif 38endif
39 39
40logioSOURCES = @PACKAGE_NAME@_logio.c
41logioTARGET = @PACKAGE_NAME@_logio@APXS_EXTENSION@
42logioLDADD =
43logioCFLAGS =
44logioNAME = log_sql_logio
45
46ifeq (@WANT_LOGIO_MOD@,1)
47TARGETS += $(logioTARGET)
48endif
49
40mysqlSOURCES = @PACKAGE_NAME@_mysql.c 50mysqlSOURCES = @PACKAGE_NAME@_mysql.c
41mysqlTARGET = @PACKAGE_NAME@_mysql@APXS_EXTENSION@ 51mysqlTARGET = @PACKAGE_NAME@_mysql@APXS_EXTENSION@
42mysqlLDADD = @MYSQL_LDFLAGS@ @MYSQL_LIBS@ 52mysqlLDADD = @MYSQL_LDFLAGS@ @MYSQL_LIBS@
@@ -74,13 +84,13 @@ PROVIDERS_SUBDIRS = @subdirs@
74srcdir = @abs_srcdir@ 84srcdir = @abs_srcdir@
75builddir = @abs_builddir@ 85builddir = @abs_builddir@
76 86
77OBJ = $(coreSOURCES:.c=.o) $(sslSOURCES:.c=.o) $(mysqlSOURCES:.c=.o) \ 87OBJ = $(coreSOURCES:.c=.o) $(logioSOURCES:.c=.o) $(sslSOURCES:.c=.o) $(mysqlSOURCES:.c=.o) \
78 $(dbiSOURCES:.c=.o) $(pgsqlSOURCES:.c=.o) 88 $(dbiSOURCES:.c=.o) $(pgsqlSOURCES:.c=.o)
79 89
80LO = $(coreSOURCES:.c=.lo) $(sslSOURCES:.c=.lo) $(mysqlSOURCES:.c=.lo) \ 90LO = $(coreSOURCES:.c=.lo) $(logioSOURCES:.c=.lo) $(sslSOURCES:.c=.lo) $(mysqlSOURCES:.c=.lo) \
81 $(dbiSOURCES:.c=.lo) $(pgsqlSOURCES:.c=.lo) 91 $(dbiSOURCES:.c=.lo) $(pgsqlSOURCES:.c=.lo)
82 92
83SLO = $(coreSOURCES:.c=.slo) $(sslSOURCES:.c=.slo) $(mysqlSOURCES:.c=.slo) \ 93SLO = $(coreSOURCES:.c=.slo) $(logioSOURCES:.c=.slo) $(sslSOURCES:.c=.slo) $(mysqlSOURCES:.c=.slo) \
84 $(dbiSOURCES:.c=.slo) $(pgsqlSOURCES:.c=.slo) 94 $(dbiSOURCES:.c=.slo) $(pgsqlSOURCES:.c=.slo)
85 95
86STD_DIST = install-sh \ 96STD_DIST = install-sh \
@@ -94,7 +104,7 @@ STD_DIST = install-sh \
94 config.h.in 104 config.h.in
95 105
96DISTFILES = $(STD_DIST) $(EXTRA_DIST) $(coreSOURCES) $(HEADERS) \ 106DISTFILES = $(STD_DIST) $(EXTRA_DIST) $(coreSOURCES) $(HEADERS) \
97 $(sslSOURCES) $(mysqlSOURCES) $(pgsqlSOURCES) $(dbiSOURCES) 107 $(sslSOURCES) $(logioSOURCES) $(mysqlSOURCES) $(pgsqlSOURCES) $(dbiSOURCES)
98 108
99all: $(TARGETS) all-subdirs 109all: $(TARGETS) all-subdirs
100 110
@@ -120,6 +130,10 @@ $(coreTARGET): $(coreSOURCES) $(HEADERS)
120 @@APXS_BIN@ -c -o $(coreTARGET) $(coreCFLAGS) $(CFLAGS) \ 130 @@APXS_BIN@ -c -o $(coreTARGET) $(coreCFLAGS) $(CFLAGS) \
121 @DEFS@ @AP_DEFS@ $(coreLDADD) $(coreSOURCES) 131 @DEFS@ @AP_DEFS@ $(coreLDADD) $(coreSOURCES)
122 132
133$(logioTARGET): $(logioSOURCES) $(HEADERS)
134 @@APXS_BIN@ -c -o $(logioTARGET) $(logioCFLAGS) $(CFLAGS) \
135 @DEFS@ @AP_DEFS@ $(logioLDADD) $(logioSOURCES)
136
123$(sslTARGET): $(sslSOURCES) $(HEADERS) 137$(sslTARGET): $(sslSOURCES) $(HEADERS)
124 @@APXS_BIN@ -c -o $(sslTARGET) $(sslCFLAGS) $(CFLAGS) \ 138 @@APXS_BIN@ -c -o $(sslTARGET) $(sslCFLAGS) $(CFLAGS) \
125 @DEFS@ @AP_DEFS@ $(sslLDADD) $(sslSOURCES) 139 @DEFS@ @AP_DEFS@ $(sslLDADD) $(sslSOURCES)
@@ -150,6 +164,9 @@ install: $(TARGETS) install-subdirs
150 if test @WANT_SSL_MOD@ -eq 1; then \ 164 if test @WANT_SSL_MOD@ -eq 1; then \
151 @APXS_BIN@ -n $(sslNAME) -i $(sslTARGET); \ 165 @APXS_BIN@ -n $(sslNAME) -i $(sslTARGET); \
152 fi; \ 166 fi; \
167 if test @WANT_LOGIO_MOD@ -eq 1; then \
168 @APXS_BIN@ -n $(logioNAME) -i $(logioTARGET); \
169 fi; \
153 echo "*************************************************************************"; \ 170 echo "*************************************************************************"; \
154 echo "*** The mod_log_sql modules have been installed."; \ 171 echo "*** The mod_log_sql modules have been installed."; \
155 echo "*** Please edit your Apache configuration files and"; \ 172 echo "*** Please edit your Apache configuration files and"; \