summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in46
1 files changed, 30 insertions, 16 deletions
diff --git a/Makefile.in b/Makefile.in
index b6391e1..07278d3 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,7 +1,7 @@
1# @configure_input@ 1# @configure_input@
2 2
3# Modify these top variables. 3# Modify these top variables.
4SUBDIRS = Documentation contrib 4SUBDIRS = docs contrib
5SOURCES = @PACKAGE_NAME@.c 5SOURCES = @PACKAGE_NAME@.c
6 6
7HEADERS = mod_log_sql.h \ 7HEADERS = mod_log_sql.h \
@@ -19,33 +19,47 @@ EXTRA_DIST = AUTHORS INSTALL TODO LICENSE CHANGELOG
19 19
20TARGET = @PACKAGE_NAME@@APXS_EXTENSION@ 20TARGET = @PACKAGE_NAME@@APXS_EXTENSION@
21 21
22TARGETS = $(TARGET)
23
22sslSOURCES = @PACKAGE_NAME@_ssl.c 24sslSOURCES = @PACKAGE_NAME@_ssl.c
23sslTARGET = @PACKAGE_NAME@_ssl@APXS_EXTENSION@ 25sslTARGET = @PACKAGE_NAME@_ssl@APXS_EXTENSION@
24sslLDADD = 26sslLDADD =
25sslCFLAGS = @MOD_SSL_CFLAGS@ 27sslCFLAGS = @MOD_SSL_CFLAGS@
26sslNAME = log_sql_ssl 28sslNAME = log_sql_ssl
27 29
30ifeq (@WANT_SSL_MOD@,1)
31TARGETS += $(sslTARGET)
32endif
33
28mysqlSOURCES = @PACKAGE_NAME@_mysql.c 34mysqlSOURCES = @PACKAGE_NAME@_mysql.c
29mysqlTARGET = @PACKAGE_NAME@_mysql@APXS_EXTENSION@ 35mysqlTARGET = @PACKAGE_NAME@_mysql@APXS_EXTENSION@
30mysqlLDADD = @MYSQL_LDFLAGS@ @MYSQL_LIBS@ 36mysqlLDADD = @MYSQL_LDFLAGS@ @MYSQL_LIBS@
31mysqlCFLAGS = @MYSQL_CFLAGS@ 37mysqlCFLAGS = @MYSQL_CFLAGS@
32mysqlNAME = log_sql_mysql 38mysqlNAME = log_sql_mysql
33 39
40ifeq (@WANT_MYSQL_MOD@,1)
41TARGETS += $(mysqlTARGET)
42endif
43
34pgsqlSOURCES = @PACKAGE_NAME@_pgsql.c 44pgsqlSOURCES = @PACKAGE_NAME@_pgsql.c
35pgsqlTARGET = @PACKAGE_NAME@_pgsql@APXS_EXTENSION@ 45pgsqlTARGET = @PACKAGE_NAME@_pgsql@APXS_EXTENSION@
36pgsqlLDADD = @PGSQL_LDFLAGS@ @PGSQL_LIBS@ 46pgsqlLDADD = @PGSQL_LDFLAGS@ @PGSQL_LIBS@
37pgsqlCFLAGS = @PGSQL_CFLAGS@ 47pgsqlCFLAGS = @PGSQL_CFLAGS@
38pgsqlNAME = log_sql_pgsql 48pgsqlNAME = log_sql_pgsql
39 49
40TARGETS = $(TARGET) 50ifeq (@WANT_PGSQL_MOD@,1)
41 51TARGETS += $(pgsqlTARGET)
42ifeq (@WANT_SSL_MOD@,1)
43TARGETS += $(sslTARGET)
44endif 52endif
45 53
46TARGETS += $(mysqlTARGET) 54dbiSOURCES = @PACKAGE_NAME@_dbi.c
55dbiTARGET = @PACKAGE_NAME@_dbi@APXS_EXTENSION@
56dbiLDADD = @DBI_LDFLAGS@ @DBI_LIBS@
57dbiCFLAGS = @DBI_CFLAGS@
58dbiNAME = log_sql_dbi
47 59
48TARGETS += $(pgsqlTARGET) 60ifeq (@WANT_DBI_MOD@,1)
61TARGETS += $(dbiTARGET)
62endif
49 63
50#Don't modify anything below here 64#Don't modify anything below here
51 65
@@ -70,8 +84,8 @@ STD_DIST = install-sh \
70 stamp-h.in \ 84 stamp-h.in \
71 config.h.in 85 config.h.in
72 86
73DISTFILES = $(STD_DIST) $(EXTRA_DIST) $(SOURCES) $(sslSOURCES) $(mysqlSOURCES) \ 87DISTFILES = $(STD_DIST) $(EXTRA_DIST) $(SOURCES) $(HEADERS) \
74 $(HEADERS) 88 $(sslSOURCES) $(mysqlSOURCES)
75 89
76all: $(TARGETS) all-subdirs 90all: $(TARGETS) all-subdirs
77 91
@@ -95,23 +109,23 @@ TODO: TODO.in
95 109
96$(TARGET): $(SOURCES) $(HEADERS) 110$(TARGET): $(SOURCES) $(HEADERS)
97 @@APXS_BIN@ -c -o $(TARGET) $(CFLAGS) \ 111 @@APXS_BIN@ -c -o $(TARGET) $(CFLAGS) \
98 @DEFS@ @APACHE_DEFS@ $(LDADD) $(SOURCES) 112 @DEFS@ @AP_DEFS@ $(LDADD) $(SOURCES)
99 113
100$(sslTARGET): $(sslSOURCES) $(HEADERS) 114$(sslTARGET): $(sslSOURCES) $(HEADERS)
101 @@APXS_BIN@ -c -o $(sslTARGET) $(sslCFLAGS) $(CFLAGS) \ 115 @@APXS_BIN@ -c -o $(sslTARGET) $(sslCFLAGS) $(CFLAGS) \
102 @DEFS@ @APACHE_DEFS@ $(sslLDADD) $(sslSOURCES) 116 @DEFS@ @AP_DEFS@ $(sslLDADD) $(sslSOURCES)
103 117
104$(mysqlTARGET): $(mysqlSOURCES) $(HEADERS) 118$(mysqlTARGET): $(mysqlSOURCES) $(HEADERS)
105 @@APXS_BIN@ -c -o $(mysqlTARGET) $(mysqlCFLAGS) $(CFLAGS) \ 119 @@APXS_BIN@ -c -o $(mysqlTARGET) $(mysqlCFLAGS) $(CFLAGS) \
106 @DEFS@ @APACHE_DEFS@ $(mysqlLDADD) $(mysqlSOURCES) 120 @DEFS@ @AP_DEFS@ $(mysqlLDADD) $(mysqlSOURCES)
107 121
108$(pgsqlTARGET): $(pgsqlSOURCES) $(HEADERS) 122$(pgsqlTARGET): $(pgsqlSOURCES) $(HEADERS)
109 @@APXS_BIN@ -c -o $(pgsqlTARGET) $(pgsqlCFLAGS) $(CFLAGS) \ 123 @@APXS_BIN@ -c -o $(pgsqlTARGET) $(pgsqlCFLAGS) $(CFLAGS) \
110 @DEFS@ @APACHE_DEFS@ $(pgsqlLDADD) $(pgsqlSOURCES) 124 @DEFS@ @AP_DEFS@ $(pgsqlLDADD) $(pgsqlSOURCES)
111 125
112include: 126$(dbiTARGET): $(dbiSOURCES) $(HEADERS)
113 rm -rf include 127 @@APXS_BIN@ -c -o $(dbiTARGET) $(dbiCFLAGS) $(CFLAGS) \
114 ln -s @APACHE_INCDIR@ include 128 @DEFS@ @AP_DEFS@ $(dbiLDADD) $(dbiSOURCES)
115 129
116install: $(TARGETS) install-subdirs 130install: $(TARGETS) install-subdirs
117 @@APXS_BIN@ -i $(TARGET); \ 131 @@APXS_BIN@ -i $(TARGET); \