Makefile.in revision c90cc207811f07e4d05bc638486f87353163b210
1153N/A
1153N/ASUBDIRS = srclib os server modules support
1153N/ACLEAN_SUBDIRS = test
1153N/A
1153N/APROGRAM_NAME = $(progname)
1153N/APROGRAM_SOURCES = modules.c
1153N/APROGRAM_LDADD = $(HTTPD_LDFLAGS) $(PROGRAM_DEPENDENCIES) $(EXTRA_LIBS) $(AP_LIBS)
1153N/APROGRAM_DEPENDENCIES = \
1153N/A $(BUILTIN_LIBS) \
1153N/A $(MPM_LIB) \
1153N/A server/libmain.la \
1153N/A os/$(OS_DIR)/libos.la
1153N/A
1153N/APROGRAMS = $(PROGRAM_NAME)
1153N/ATARGETS = $(PROGRAMS) $(shared_build) $(other_targets)
1153N/APHONY_TARGETS = $(srcdir)/buildmark.c
1153N/AINSTALL_TARGETS = install-conf install-htdocs install-error install-icons \
1153N/A install-other install-cgi install-include install-suexec install-man \
1153N/A install-build
1153N/A
1382N/ADISTCLEAN_TARGETS = include/ap_config_auto.h include/ap_config_layout.h \
1153N/A modules.c config.cache config.log config.status build/config_vars.mk \
1153N/A build/rules.mk docs/conf/httpd-std.conf shlibtool
1153N/AEXTRACLEAN_TARGETS = configure include/ap_config_auto.h.in generated_lists
1153N/A
1153N/Ainclude $(top_builddir)/build/rules.mk
1153N/Ainclude $(top_srcdir)/build/program.mk
1153N/A
1153N/Ainstall-conf:
1385N/A @echo Installing configuration files ; \
1153N/A if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \
1153N/A $(MKINSTALLDIRS) $(DESTDIR)$(sysconfdir) ; \
1153N/A fi ; \
1153N/A cd $(top_srcdir)/docs/conf; \
1153N/A for i in mime.types magic; do \
1153N/A if test ! -f $(DESTDIR)$(sysconfdir)/$$i; then \
1153N/A $(INSTALL_DATA) $$i $(DESTDIR)$(sysconfdir); \
1153N/A fi; \
1153N/A done; \
1385N/A for j in $(top_srcdir)/docs/conf $(top_builddir)/docs/conf ; do \
1382N/A cd $$j ; \
1153N/A for i in *-std*.conf; do \
1153N/A ( \
1153N/A n_lm=`awk 'BEGIN {n=0} /@@LoadModule@@/ {n+=1} END {print n}' < $$i`; \
1153N/A if test $$n_lm -eq 0 -o "x$(DSO_MODULES)" = "x"; then \
1153N/A sed -e 's#@@ServerRoot@@#$(prefix)#g' \
1385N/A -e 's#@@Port@@#$(PORT)#g' \
1385N/A -e '/@@LoadModule@@/d' \
1385N/A < $$i; \
1385N/A else \
1386N/A sed -n -e '/@@LoadModule@@/q' \
1386N/A -e 's#@@ServerRoot@@#$(prefix)#g' \
1386N/A -e 's#@@Port@@#$(PORT)#g' \
1385N/A -e 'p' \
1385N/A < $$i; \
1385N/A for j in $(DSO_MODULES) "^EOL^"; do \
1386N/A if test "x$$j" = "xssl"; then \
1386N/A echo "<IfDefine SSL>"; \
1386N/A fi; \
1386N/A if test $$j != "^EOL^"; then \
1386N/A echo "LoadModule $${j}_module $(rel_libexecdir)/mod_$${j}.so"; \
1386N/A fi; \
1386N/A if test "x$$j" = "xssl"; then \
1386N/A echo "</IfDefine>"; \
1386N/A fi; \
1386N/A done; \
1386N/A sed -e '1,/@@LoadModule@@/d' \
1153N/A -e '/@@LoadModule@@/d' \
1382N/A -e 's#@@ServerRoot@@#$(prefix)#g' \
1153N/A -e 's#@@Port@@#$(PORT)#g' \
1382N/A < $$i; \
1153N/A fi \
1382N/A ) > $(DESTDIR)$(sysconfdir)/$$i; \
1153N/A chmod 0644 $(DESTDIR)$(sysconfdir)/$$i; \
1153N/A file=`echo $$i|sed s/-std//`; \
1153N/A if [ "$$file" = "httpd.conf" ]; then \
1153N/A file=`echo $$file|sed s/.*.conf/$(PROGRAM_NAME).conf/`; \
1153N/A fi; \
1153N/A if test "$$file" != "$$i" && test ! -f $(DESTDIR)$(sysconfdir)/$$file; then \
1382N/A $(INSTALL_DATA) $(DESTDIR)$(sysconfdir)/$$i $(DESTDIR)$(sysconfdir)/$$file; \
1382N/A fi; \
1382N/A done ; \
1382N/A done ; \
1382N/A if test -f "$(builddir)/envvars-std"; then \
1382N/A cp -p envvars-std $(DESTDIR)$(sbindir); \
1153N/A if test ! -f $(DESTDIR)$(sbindir)/envvars; then \
1382N/A cp -p envvars-std $(DESTDIR)$(sbindir)/envvars ; \
1382N/A fi ; \
1153N/A fi
1386N/A
1386N/Ainstall-build:
1386N/A @echo Installing build system files
1388N/A @test -d $(DESTDIR)$(installbuilddir) || $(MKINSTALLDIRS) $(DESTDIR)$(installbuilddir)
1384N/A @cp $(top_srcdir)/build/*.mk $(DESTDIR)$(installbuilddir); \
1384N/A cp build/*.mk $(DESTDIR)$(installbuilddir); \
1386N/A sed 's#LIBTOOL = \(.*\)#LIBTOOL = $(SHELL) $(installbuilddir)/libtool $(LTFLAGS)#' \
1386N/A build/config_vars.mk > $(DESTDIR)$(installbuilddir)/config_vars.mk; \
1386N/A cp $(top_srcdir)/build/instdso.sh $(DESTDIR)$(installbuilddir);
1386N/A
1386N/Ahtdocs-srcdir = $(top_srcdir)/docs/docroot
1386N/A
1386N/Adocs::
1386N/A mkdir -p ./docs/api
1386N/A srclib/apr/build/scandoc.pl -i./build/default.pl -p./docs/api/ ./include/*.h
1386N/A
1386N/Adox::
1386N/A doxygen $(top_srcdir)/docs/doxygen.conf
1386N/A
1385N/Ainstall-htdocs:
1382N/A -@if [ -d $(DESTDIR)$(htdocsdir) ]; then \
1382N/A echo "[PRESERVING EXISTING HTDOCS SUBDIR: $(DESTDIR)$(htdocsdir)]"; \
1382N/A else \
1386N/A echo Installing HTML documents ; \
1388N/A $(MKINSTALLDIRS) $(DESTDIR)$(htdocsdir) ; \
1386N/A test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(DESTDIR)$(htdocsdir)) ; \
1153N/A cd $(DESTDIR)$(htdocsdir) && find . -name "CVS" -type d -print | xargs rm -rf 2>/dev/null || true; \
1153N/A fi
1382N/A
1382N/Ainstall-error:
1386N/A -@if [ -d $(DESTDIR)$(errordir) ]; then \
1386N/A echo "[PRESERVING EXISTING ERROR SUBDIR: $(DESTDIR)$(errordir)]"; \
1386N/A else \
1386N/A echo Installing error documents ; \
1386N/A $(MKINSTALLDIRS) $(DESTDIR)$(errordir) ; \
1382N/A cd $(top_srcdir)/docs/error && cp -rp * $(DESTDIR)$(errordir) ; \
1153N/A test "x$(errordir)" != "x" && cd $(DESTDIR)$(errordir) && find . -name "CVS" -type d -print | xargs rm -rf 2>/dev/null || true; \
1382N/A fi
1382N/A
1382N/Ainstall-icons:
1384N/A -@if [ -d $(DESTDIR)$(iconsdir) ]; then \
1382N/A echo "[PRESERVING EXISTING ICONS SUBDIR: $(DESTDIR)$(iconsdir)]"; \
1382N/A else \
1382N/A echo Installing icons ; \
1153N/A $(MKINSTALLDIRS) $(DESTDIR)$(iconsdir) ; \
1153N/A cd $(top_srcdir)/docs/icons && cp -rp * $(DESTDIR)$(iconsdir) ; \
1382N/A test "x$(iconsdir)" != "x" && cd $(DESTDIR)$(iconsdir) && find . -name "CVS" -type d -print | xargs rm -rf 2>/dev/null || true; \
1382N/A fi
1384N/A
1382N/Ainstall-cgi:
1382N/A -@if [ -d $(DESTDIR)$(cgidir) ];then \
1382N/A echo "[PRESERVING EXISTING CGI SUBDIR: $(DESTDIR)$(cgidir)]"; \
1382N/A else \
1382N/A echo Installing CGIs ; \
1382N/A $(MKINSTALLDIRS) $(DESTDIR)$(cgidir) ; \
1382N/A cd $(top_srcdir)/docs/cgi-examples && cp -rp * $(DESTDIR)$(cgidir) ; \
1382N/A test "x$(cgidir)" != "x" && cd $(DESTDIR)$(cgidir) && find . -name "CVS" -type d -print | xargs rm -rf 2>/dev/null || true; \
1382N/A fi
1382N/A
1382N/Ainstall-other:
1382N/A @test -d $(DESTDIR)$(logfiledir) || $(MKINSTALLDIRS) $(DESTDIR)$(logfiledir)
1382N/A @test -d $(DESTDIR)$(runtimedir) || $(MKINSTALLDIRS) $(DESTDIR)$(runtimedir)
1382N/A @for ext in dll x; do \
1382N/A file=apachecore.$$ext; \
1382N/A if test -f $$file; then \
1382N/A cp -p $$file $(DESTDIR)$(libdir); \
1382N/A fi; \
1382N/A done; \
1382N/A file=httpd.dll; \
1382N/A if test -f $$file; then \
1382N/A cp -p $$file $(DESTDIR)$(bindir); \
1382N/A fi;
1382N/A
1382N/Ainstall-include:
1382N/A @echo Installing header files
1382N/A @test -d $(DESTDIR)$(includedir) || $(MKINSTALLDIRS) $(DESTDIR)$(includedir)
1382N/A @cp -p include/*.h $(DESTDIR)$(includedir)
1382N/A @cp -p $(srcdir)/include/*.h $(DESTDIR)$(includedir)
1382N/A @cp -p $(srcdir)/os/$(OS_DIR)/os.h $(DESTDIR)$(includedir)
1382N/A @if test -f $(srcdir)/os/$(OS_DIR)/os-inline.c; then \
1382N/A cp -p $(srcdir)/os/$(OS_DIR)/os-inline.c $(DESTDIR)$(includedir); \
1382N/A fi;
1382N/A @cp -p $(srcdir)/server/mpm/$(MPM_SUBDIR_NAME)/*.h $(DESTDIR)$(includedir)
1382N/A @cp -p $(srcdir)/modules/aaa/mod_auth.h $(DESTDIR)$(includedir)
1382N/A @cp -p $(srcdir)/modules/dav/main/mod_dav.h $(DESTDIR)$(includedir)
1153N/A @cp -p $(srcdir)/modules/filters/mod_include.h $(DESTDIR)$(includedir)
1153N/A @cp -p $(srcdir)/modules/generators/mod_cgi.h $(DESTDIR)$(includedir)
1382N/A @cp -p $(srcdir)/modules/loggers/mod_log_config.h $(DESTDIR)$(includedir)
1382N/A @cp -p $(srcdir)/modules/http/mod_core.h $(DESTDIR)$(includedir)
1382N/A @cp -p $(srcdir)/modules/proxy/mod_proxy.h $(DESTDIR)$(includedir)
1382N/A @cp -p $(srcdir)/modules/ssl/*.h $(DESTDIR)$(includedir)
1382N/A @cp -p $(srcdir)/srclib/pcre/pcre*.h $(DESTDIR)$(includedir)
1382N/A @cp -p $(srcdir)/os/$(OS_DIR)/*.h $(DESTDIR)$(includedir)
1382N/A @chmod 644 $(DESTDIR)$(includedir)/*.h
1382N/A
1382N/Ainstall-man:
1382N/A @echo Installing man pages and online manual
1382N/A @test -d $(DESTDIR)$(mandir) || $(MKINSTALLDIRS) $(DESTDIR)$(mandir)
1382N/A @test -d $(DESTDIR)$(mandir)/man1 || $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man1
1382N/A @test -d $(DESTDIR)$(mandir)/man8 || $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man8
1382N/A @test -d $(DESTDIR)$(manualdir) || $(MKINSTALLDIRS) $(DESTDIR)$(manualdir)
1382N/A @cp -p $(top_srcdir)/docs/man/*.1 $(DESTDIR)$(mandir)/man1
1382N/A @cp -p $(top_srcdir)/docs/man/*.8 $(DESTDIR)$(mandir)/man8
1382N/A @(cd $(top_srcdir)/docs/manual && cp -rp * $(DESTDIR)$(manualdir))
1153N/A @(cd $(DESTDIR)$(manualdir) && find . -name "CVS" -type d -print | xargs rm -rf 2>/dev/null ) || true
1153N/A
1386N/Ainstall-suexec:
1386N/A @if test -f $(builddir)/support/suexec; then \
1386N/A test -d $(DESTDIR)$(sbindir) || $(MKINSTALLDIRS) $(DESTDIR)$(sbindir); \
1386N/A $(INSTALL_PROGRAM) $(top_builddir)/support/suexec $(DESTDIR)$(sbindir); \
1386N/A chmod 4755 $(DESTDIR)$(sbindir)/suexec; \
1386N/A fi
1386N/A
1386N/Asuexec:
1386N/A cd support && $(MAKE) suexec
1386N/A
1386N/Ax-local-distclean:
1386N/A @rm -rf autom4te.cache
1386N/A
1386N/Ainclude $(top_srcdir)/os/os2/core.mk
1386N/A