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