diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in index 2865d5f..2647d2e 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -77,6 +77,16 @@ ifeq (@WANT_DBI_MOD@,1) | |||
77 | TARGETS += $(dbiTARGET) | 77 | TARGETS += $(dbiTARGET) |
78 | endif | 78 | endif |
79 | 79 | ||
80 | dbdSOURCES = @PACKAGE_NAME@_dbd.c | ||
81 | dbdTARGET = @PACKAGE_NAME@_dbd@APXS_EXTENSION@ | ||
82 | dbdLDADD = | ||
83 | dbdCFLAGS = | ||
84 | dbdNAME = log_sql_dbd | ||
85 | |||
86 | ifeq (@WANT_DBD_MOD@,1) | ||
87 | TARGETS += $(dbdTARGET) | ||
88 | endif | ||
89 | |||
80 | #Don't modify anything below here | 90 | #Don't modify anything below here |
81 | 91 | ||
82 | PROVIDERS_SUBDIRS = @subdirs@ | 92 | PROVIDERS_SUBDIRS = @subdirs@ |
@@ -85,13 +95,13 @@ srcdir = @abs_srcdir@ | |||
85 | builddir = @abs_builddir@ | 95 | builddir = @abs_builddir@ |
86 | 96 | ||
87 | OBJ = $(coreSOURCES:.c=.o) $(logioSOURCES:.c=.o) $(sslSOURCES:.c=.o) $(mysqlSOURCES:.c=.o) \ | 97 | OBJ = $(coreSOURCES:.c=.o) $(logioSOURCES:.c=.o) $(sslSOURCES:.c=.o) $(mysqlSOURCES:.c=.o) \ |
88 | $(dbiSOURCES:.c=.o) $(pgsqlSOURCES:.c=.o) | 98 | $(dbiSOURCES:.c=.o) $(pgsqlSOURCES:.c=.o) $(dbdSOURCES:.c=.o) |
89 | 99 | ||
90 | LO = $(coreSOURCES:.c=.lo) $(logioSOURCES:.c=.lo) $(sslSOURCES:.c=.lo) $(mysqlSOURCES:.c=.lo) \ | 100 | LO = $(coreSOURCES:.c=.lo) $(logioSOURCES:.c=.lo) $(sslSOURCES:.c=.lo) $(mysqlSOURCES:.c=.lo) \ |
91 | $(dbiSOURCES:.c=.lo) $(pgsqlSOURCES:.c=.lo) | 101 | $(dbiSOURCES:.c=.lo) $(pgsqlSOURCES:.c=.lo) $(dbdSOURCES:.c=.lo) |
92 | 102 | ||
93 | SLO = $(coreSOURCES:.c=.slo) $(logioSOURCES:.c=.slo) $(sslSOURCES:.c=.slo) $(mysqlSOURCES:.c=.slo) \ | 103 | SLO = $(coreSOURCES:.c=.slo) $(logioSOURCES:.c=.slo) $(sslSOURCES:.c=.slo) $(mysqlSOURCES:.c=.slo) \ |
94 | $(dbiSOURCES:.c=.slo) $(pgsqlSOURCES:.c=.slo) | 104 | $(dbiSOURCES:.c=.slo) $(pgsqlSOURCES:.c=.slo) $(dbdSOURCES:.c=.slo) |
95 | 105 | ||
96 | STD_DIST = install-sh \ | 106 | STD_DIST = install-sh \ |
97 | config.sub \ | 107 | config.sub \ |
@@ -104,7 +114,7 @@ STD_DIST = install-sh \ | |||
104 | config.h.in | 114 | config.h.in |
105 | 115 | ||
106 | DISTFILES = $(STD_DIST) $(EXTRA_DIST) $(coreSOURCES) $(HEADERS) \ | 116 | DISTFILES = $(STD_DIST) $(EXTRA_DIST) $(coreSOURCES) $(HEADERS) \ |
107 | $(sslSOURCES) $(logioSOURCES) $(mysqlSOURCES) $(pgsqlSOURCES) $(dbiSOURCES) | 117 | $(sslSOURCES) $(logioSOURCES) $(mysqlSOURCES) $(pgsqlSOURCES) $(dbiSOURCES) $(dbdSOURCES) |
108 | 118 | ||
109 | all: $(TARGETS) all-subdirs | 119 | all: $(TARGETS) all-subdirs |
110 | 120 | ||
@@ -150,6 +160,11 @@ $(dbiTARGET): $(dbiSOURCES) $(HEADERS) | |||
150 | @@APXS_BIN@ -c -o $(dbiTARGET) $(dbiCFLAGS) $(CFLAGS) \ | 160 | @@APXS_BIN@ -c -o $(dbiTARGET) $(dbiCFLAGS) $(CFLAGS) \ |
151 | @DEFS@ @AP_DEFS@ $(dbiLDADD) $(dbiSOURCES) | 161 | @DEFS@ @AP_DEFS@ $(dbiLDADD) $(dbiSOURCES) |
152 | 162 | ||
163 | $(dbdTARGET): $(dbdSOURCES) $(HEADERS) | ||
164 | @@APXS_BIN@ -c -o $(dbdTARGET) $(dbdCFLAGS) $(CFLAGS) \ | ||
165 | @DEFS@ @AP_DEFS@ $(dbdLDADD) $(dbdSOURCES) | ||
166 | |||
167 | |||
153 | install: $(TARGETS) install-subdirs | 168 | install: $(TARGETS) install-subdirs |
154 | @@APXS_BIN@ -n $(coreNAME) -i $(coreTARGET); \ | 169 | @@APXS_BIN@ -n $(coreNAME) -i $(coreTARGET); \ |
155 | if test @WANT_MYSQL_MOD@ -eq 1; then \ | 170 | if test @WANT_MYSQL_MOD@ -eq 1; then \ |
@@ -161,6 +176,9 @@ install: $(TARGETS) install-subdirs | |||
161 | if test @WANT_DBI_MOD@ -eq 1; then \ | 176 | if test @WANT_DBI_MOD@ -eq 1; then \ |
162 | @APXS_BIN@ -n $(dbiNAME) -i $(dbiTARGET); \ | 177 | @APXS_BIN@ -n $(dbiNAME) -i $(dbiTARGET); \ |
163 | fi; \ | 178 | fi; \ |
179 | if test @WANT_DBD_MOD@ -eq 1; then \ | ||
180 | @APXS_BIN@ -n $(dbdNAME) -i $(dbdTARGET); \ | ||
181 | fi; \ | ||
164 | if test @WANT_SSL_MOD@ -eq 1; then \ | 182 | if test @WANT_SSL_MOD@ -eq 1; then \ |
165 | @APXS_BIN@ -n $(sslNAME) -i $(sslTARGET); \ | 183 | @APXS_BIN@ -n $(sslNAME) -i $(sslTARGET); \ |
166 | fi; \ | 184 | fi; \ |
@@ -241,7 +259,7 @@ stamp-h: config.h.in config.status | |||
241 | ./config.status | 259 | ./config.status |
242 | 260 | ||
243 | $(srcdir)/configure: configure.ac aclocal.m4 | 261 | $(srcdir)/configure: configure.ac aclocal.m4 |
244 | cd $(srcdir) && autoconf-2.53 | 262 | cd $(srcdir) && autoconf |
245 | 263 | ||
246 | Makefile: Makefile.in config.status | 264 | Makefile: Makefile.in config.status |
247 | ./config.status | 265 | ./config.status |