blob: 7d715058690dc383224974ed151b64e892ac694f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
# @configure_input@
# Modify these top variables.
SUBDIRS = docs contrib src parser utility
EXTRA_DIST = AUTHORS INSTALL TODO LICENSE CHANGELOG \
build-apache13.bat build-apache2.bat \
#Don't modify anything below here
top_srcdir = @top_srcdir@
srcdir = @abs_srcdir@
builddir = @abs_builddir@
STD_DIST = install-sh \
config.sub \
config.guess \
aclocal.m4 \
Makefile.in \
configure.ac \
configure \
stamp-h.in \
include/config.h.in
DISTFILES = $(STD_DIST) $(EXTRA_DIST)
all: all-subdirs
all-subdirs install-subdirs activate-subdirs clean-subdirs distclean-subdirs:
@otarget=`echo $@|sed s/-subdirs//`; \
list=' $(SUBDIRS)'; \
for i in $$list; do \
if test -d "$$i"; then \
target="$$otarget"; \
echo "Making $$target in $$i"; \
if test "$$i" = "."; then \
made_local=yes; \
target="local-$$target"; \
fi; \
(cd $$i && $(MAKE) $$target) || exit 1; \
fi; \
done;
TODO: TODO.in
@./m4/scripts/gen_todo.pl
install: install-subdirs
echo "*************************************************************************"; \
echo "*** The mod_log_sql modules have been installed."; \
echo "*** Please edit your Apache configuration files and"; \
echo "*** add the appropriate LoadModule directives per the documentation"; \
echo "*** in docs/manual.html"; \
echo "*** If you have previously used 1.18 or lower then you must change"; \
echo "*** >LoadModule sql_log_module modules/mod_log_sql.so"; \
echo "*** to"; \
echo "*** >LoadModule log_sql_module modules/mod_log_sql.so"; \
echo "*** in your httpd.conf as the internal name of the module has changed."; \
echo "*** "; \
echo "*** Also read the documentation about using SSL support and new "; \
echo "*** configuration directives."; \
echo "*************************************************************************";
activate: activate-subdirs
clean: clean-subdirs
distclean: clean distclean-subdirs
$(RM) config.status config.log include/config.h include/config.h.in \
configure stamp-h stamp-h.in Makefile aclocal.m4
$(RM) -r autom4te-2.53.cache
DESTDIR = @PACKAGE_NAME@-@PACKAGE_VERSION@
DESTTGZ = $(DESTDIR).tar.gz
dist:
@rm -rf $(DESTDIR); \
list=' $(SUBDIRS)'; \
for i in $$list; do \
if test -d "$$i"; then \
target=local-dist; \
echo "Making $$target in $$i"; \
if test "$$i" = "."; then \
made_local=yes; \
target="local-dist"; \
fi; \
NEWDESTDIR=$(builddir)/$(DESTDIR)/$$i; \
echo $(NEWDESTDIR); \
(cd $$i && $(MAKE) DESTDIR=$(builddir)/$(DESTDIR)/$$i $$target) || exit 1; \
fi; \
done; \
if test "$$made_local" != "yes"; then \
$(MAKE) "local-dist" || exit 1; \
fi; \
tar -zcf $(DESTTGZ) $(DESTDIR); \
rm -rf $(DESTDIR); \
local-dist: $(DISTFILES)
mkdir -p $(DESTDIR)
cp -dp --parents $(DISTFILES) $(DESTDIR)
.PHONY: include all-subdirs activate-subdirs install-subdirs \
clean-subdirs distclean-subdirs dist
# Regenerate makefiles
# autoheader might not change config.h.in, so touch a stamp file.
$(srcdir)/config.h.in: stamp-h.in
$(srcdir)/stamp-h.in: configure.ac aclocal.m4
cd $(srcdir) && autoheader-2.53
echo timestamp > $(srcdir)/stamp-h.in
config.h: stamp-h
stamp-h: config.h.in config.status
./config.status
$(srcdir)/configure: configure.ac aclocal.m4
cd $(srcdir) && autoconf
Makefile: Makefile.in config.status
./config.status
config.status: configure
./config.status --recheck
|