diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 40 |
1 files changed, 30 insertions, 10 deletions
diff --git a/Makefile.in b/Makefile.in index ce99082..1ff939c 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -18,10 +18,20 @@ INCLUDES = @MYSQL_CFLAGS@ | |||
18 | 18 | ||
19 | LDADD = @MYSQL_LDFLAGS@ @MYSQL_LIBS@ | 19 | LDADD = @MYSQL_LDFLAGS@ @MYSQL_LIBS@ |
20 | 20 | ||
21 | EXTRA_DIST = INSTALL LICENSE CHANGELOG make_combined_log.pl | 21 | EXTRA_DIST = AUTHORS INSTALL LICENSE CHANGELOG make_combined_log.pl |
22 | 22 | ||
23 | TARGET = @PACKAGE_NAME@@APXS_EXTENSION@ | 23 | TARGET = @PACKAGE_NAME@@APXS_EXTENSION@ |
24 | 24 | ||
25 | sslSOURCES = mod_log_sql_ssl.c | ||
26 | |||
27 | sslTARGET = @PACKAGE_NAME@_ssl@APXS_EXTENSION@ | ||
28 | |||
29 | ifeq (@WANT_SSL_MOD@,1) | ||
30 | TARGETS = $(TARGET) $(sslTARGET) | ||
31 | else | ||
32 | TARGETS = $(TARGET) | ||
33 | endif | ||
34 | |||
25 | #Don't modify anything below here | 35 | #Don't modify anything below here |
26 | 36 | ||
27 | PROVIDERS_SUBDIRS = @subdirs@ | 37 | PROVIDERS_SUBDIRS = @subdirs@ |
@@ -29,11 +39,11 @@ PROVIDERS_SUBDIRS = @subdirs@ | |||
29 | srcdir = @abs_srcdir@ | 39 | srcdir = @abs_srcdir@ |
30 | builddir = @abs_builddir@ | 40 | builddir = @abs_builddir@ |
31 | 41 | ||
32 | OBJ = $(SOURCES:.c=.o) | 42 | OBJ = $(SOURCES:.c=.o) $(sslSOURCES:.c=.o) |
33 | 43 | ||
34 | LO = $(SOURCES:.c=.lo) | 44 | LO = $(SOURCES:.c=.lo) $(sslSOURCES:.c=.lo) |
35 | 45 | ||
36 | SLO = $(SOURCES:.c=.slo) | 46 | SLO = $(SOURCES:.c=.slo) $(sslSOURCES:.c=.slo) |
37 | 47 | ||
38 | STD_DIST = install-sh \ | 48 | STD_DIST = install-sh \ |
39 | config.sub \ | 49 | config.sub \ |
@@ -47,7 +57,7 @@ STD_DIST = install-sh \ | |||
47 | 57 | ||
48 | DISTFILES = $(STD_DIST) $(EXTRA_DIST) $(SOURCES) $(HEADERS) | 58 | DISTFILES = $(STD_DIST) $(EXTRA_DIST) $(SOURCES) $(HEADERS) |
49 | 59 | ||
50 | all: $(TARGET) all-subdirs | 60 | all: $(TARGETS) all-subdirs |
51 | 61 | ||
52 | all-subdirs install-subdirs activate-subdirs clean-subdirs distclean-subdirs: | 62 | all-subdirs install-subdirs activate-subdirs clean-subdirs distclean-subdirs: |
53 | @otarget=`echo $@|sed s/-subdirs//`; \ | 63 | @otarget=`echo $@|sed s/-subdirs//`; \ |
@@ -65,21 +75,31 @@ all-subdirs install-subdirs activate-subdirs clean-subdirs distclean-subdirs: | |||
65 | done; | 75 | done; |
66 | 76 | ||
67 | $(TARGET): $(SOURCES) $(HEADERS) | 77 | $(TARGET): $(SOURCES) $(HEADERS) |
68 | @@APXS_BIN@ -c -o $(TARGET) $(INCLUDES) @MOD_SSL_CFLAGS@ $(CFLAGS) \ | 78 | @@APXS_BIN@ -c -o $(TARGET) $(INCLUDES) $(CFLAGS) \ |
69 | $(LDADD) @DEFS@ @APACHE_DEFS@ $(SOURCES) | 79 | $(LDADD) @DEFS@ @APACHE_DEFS@ $(SOURCES) |
70 | 80 | ||
81 | $(sslTARGET): $(sslSOURCES) $(HEADERS) | ||
82 | @@APXS_BIN@ -c -o $(sslTARGET) $(INCLUDES) @MOD_SSL_CFLAGS@ $(CFLAGS) \ | ||
83 | @DEFS@ @APACHE_DEFS@ $(sslSOURCES) | ||
84 | |||
71 | include: | 85 | include: |
72 | rm -rf include | 86 | rm -rf include |
73 | ln -s @APACHE_INCDIR@ include | 87 | ln -s @APACHE_INCDIR@ include |
74 | 88 | ||
75 | install: install-subdirs | 89 | install: $(TARGETS) install-subdirs |
76 | @@APXS_BIN@ -i $(TARGET) | 90 | @@APXS_BIN@ -i $(TARGET); \ |
91 | if test @WANT_SSL_MOD@ -eq 1; then \ | ||
92 | @APXS_BIN@ -i $(sslTARGET); \ | ||
93 | fi | ||
77 | 94 | ||
78 | activate: activate-subdirs | 95 | activate: activate-subdirs |
79 | @@APXS_BIN@ -i -a $(TARGET) | 96 | @@APXS_BIN@ -i -a $(TARGET); \ |
97 | if test @WANT_SSL_MOD@ -eq 1; then \ | ||
98 | @APXS_BIN@ -i -a $(sslTARGET); \ | ||
99 | fi | ||
80 | 100 | ||
81 | clean: clean-subdirs | 101 | clean: clean-subdirs |
82 | $(RM) $(OBJ) $(SLO) $(LO) $(TARGET) | 102 | $(RM) $(OBJ) $(SLO) $(LO) $(TARGETS) |
83 | $(RM) -r .libs | 103 | $(RM) -r .libs |
84 | 104 | ||
85 | distclean: clean distclean-subdirs | 105 | distclean: clean distclean-subdirs |