summaryrefslogtreecommitdiffstatsabout
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in40
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
19LDADD = @MYSQL_LDFLAGS@ @MYSQL_LIBS@ 19LDADD = @MYSQL_LDFLAGS@ @MYSQL_LIBS@
20 20
21EXTRA_DIST = INSTALL LICENSE CHANGELOG make_combined_log.pl 21EXTRA_DIST = AUTHORS INSTALL LICENSE CHANGELOG make_combined_log.pl
22 22
23TARGET = @PACKAGE_NAME@@APXS_EXTENSION@ 23TARGET = @PACKAGE_NAME@@APXS_EXTENSION@
24 24
25sslSOURCES = mod_log_sql_ssl.c
26
27sslTARGET = @PACKAGE_NAME@_ssl@APXS_EXTENSION@
28
29ifeq (@WANT_SSL_MOD@,1)
30TARGETS = $(TARGET) $(sslTARGET)
31else
32TARGETS = $(TARGET)
33endif
34
25#Don't modify anything below here 35#Don't modify anything below here
26 36
27PROVIDERS_SUBDIRS = @subdirs@ 37PROVIDERS_SUBDIRS = @subdirs@
@@ -29,11 +39,11 @@ PROVIDERS_SUBDIRS = @subdirs@
29srcdir = @abs_srcdir@ 39srcdir = @abs_srcdir@
30builddir = @abs_builddir@ 40builddir = @abs_builddir@
31 41
32OBJ = $(SOURCES:.c=.o) 42OBJ = $(SOURCES:.c=.o) $(sslSOURCES:.c=.o)
33 43
34LO = $(SOURCES:.c=.lo) 44LO = $(SOURCES:.c=.lo) $(sslSOURCES:.c=.lo)
35 45
36SLO = $(SOURCES:.c=.slo) 46SLO = $(SOURCES:.c=.slo) $(sslSOURCES:.c=.slo)
37 47
38STD_DIST = install-sh \ 48STD_DIST = install-sh \
39 config.sub \ 49 config.sub \
@@ -47,7 +57,7 @@ STD_DIST = install-sh \
47 57
48DISTFILES = $(STD_DIST) $(EXTRA_DIST) $(SOURCES) $(HEADERS) 58DISTFILES = $(STD_DIST) $(EXTRA_DIST) $(SOURCES) $(HEADERS)
49 59
50all: $(TARGET) all-subdirs 60all: $(TARGETS) all-subdirs
51 61
52all-subdirs install-subdirs activate-subdirs clean-subdirs distclean-subdirs: 62all-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
71include: 85include:
72 rm -rf include 86 rm -rf include
73 ln -s @APACHE_INCDIR@ include 87 ln -s @APACHE_INCDIR@ include
74 88
75install: install-subdirs 89install: $(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
78activate: activate-subdirs 95activate: 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
81clean: clean-subdirs 101clean: clean-subdirs
82 $(RM) $(OBJ) $(SLO) $(LO) $(TARGET) 102 $(RM) $(OBJ) $(SLO) $(LO) $(TARGETS)
83 $(RM) -r .libs 103 $(RM) -r .libs
84 104
85distclean: clean distclean-subdirs 105distclean: clean distclean-subdirs