diff options
author | Edward Rudd | 2006-11-07 02:30:59 +0000 |
---|---|---|
committer | Edward Rudd | 2006-11-07 02:30:59 +0000 |
commit | ae136219f628f697e5c31f0d51375e69e95d986f (patch) | |
tree | 80155d3d0f4d09cdf792a6f80266dff768677ec0 /Makefile.in | |
parent | 570b73fa8b3823280ffd740a8a9d71f1d69c7e08 (diff) |
add logio support
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 27 |
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 | |||
18 | endif | 18 | endif |
19 | 19 | ||
20 | EXTRA_DIST = AUTHORS INSTALL TODO LICENSE CHANGELOG \ | 20 | EXTRA_DIST = AUTHORS INSTALL TODO LICENSE CHANGELOG \ |
21 | build-apache13.bat build-apache2.bat | 21 | build-apache13.bat build-apache2.bat \ |
22 | 22 | ||
23 | coreSOURCES = @PACKAGE_NAME@.c | 23 | coreSOURCES = @PACKAGE_NAME@.c |
24 | coreTARGET = @PACKAGE_NAME@@APXS_EXTENSION@ | 24 | coreTARGET = @PACKAGE_NAME@@APXS_EXTENSION@ |
@@ -37,6 +37,16 @@ ifeq (@WANT_SSL_MOD@,1) | |||
37 | TARGETS += $(sslTARGET) | 37 | TARGETS += $(sslTARGET) |
38 | endif | 38 | endif |
39 | 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 | |||
40 | mysqlSOURCES = @PACKAGE_NAME@_mysql.c | 50 | mysqlSOURCES = @PACKAGE_NAME@_mysql.c |
41 | mysqlTARGET = @PACKAGE_NAME@_mysql@APXS_EXTENSION@ | 51 | mysqlTARGET = @PACKAGE_NAME@_mysql@APXS_EXTENSION@ |
42 | mysqlLDADD = @MYSQL_LDFLAGS@ @MYSQL_LIBS@ | 52 | mysqlLDADD = @MYSQL_LDFLAGS@ @MYSQL_LIBS@ |
@@ -74,13 +84,13 @@ PROVIDERS_SUBDIRS = @subdirs@ | |||
74 | srcdir = @abs_srcdir@ | 84 | srcdir = @abs_srcdir@ |
75 | builddir = @abs_builddir@ | 85 | builddir = @abs_builddir@ |
76 | 86 | ||
77 | OBJ = $(coreSOURCES:.c=.o) $(sslSOURCES:.c=.o) $(mysqlSOURCES:.c=.o) \ | 87 | OBJ = $(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 | ||
80 | LO = $(coreSOURCES:.c=.lo) $(sslSOURCES:.c=.lo) $(mysqlSOURCES:.c=.lo) \ | 90 | LO = $(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 | ||
83 | SLO = $(coreSOURCES:.c=.slo) $(sslSOURCES:.c=.slo) $(mysqlSOURCES:.c=.slo) \ | 93 | SLO = $(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 | ||
86 | STD_DIST = install-sh \ | 96 | STD_DIST = install-sh \ |
@@ -94,7 +104,7 @@ STD_DIST = install-sh \ | |||
94 | config.h.in | 104 | config.h.in |
95 | 105 | ||
96 | DISTFILES = $(STD_DIST) $(EXTRA_DIST) $(coreSOURCES) $(HEADERS) \ | 106 | DISTFILES = $(STD_DIST) $(EXTRA_DIST) $(coreSOURCES) $(HEADERS) \ |
97 | $(sslSOURCES) $(mysqlSOURCES) $(pgsqlSOURCES) $(dbiSOURCES) | 107 | $(sslSOURCES) $(logioSOURCES) $(mysqlSOURCES) $(pgsqlSOURCES) $(dbiSOURCES) |
98 | 108 | ||
99 | all: $(TARGETS) all-subdirs | 109 | all: $(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"; \ |