Makefile.in revision dcdc78fce34f06533df4829abbc726f7fbf207fe
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von SchroederSUBDIRS = srclib os server modules support
e9458b1a7a19a63aa4c179f9ab20f4d50681c168Jens ElknerCLEAN_SUBDIRS = test
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von SchroederPROGRAM_NAME = $(progname)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von SchroederPROGRAM_LDADD = $(HTTPD_LDFLAGS) $(PROGRAM_DEPENDENCIES) $(EXTRA_LIBS) $(AP_LIBS)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von SchroederPROGRAM_DEPENDENCIES = \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder $(BUILTIN_LIBS) \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von SchroederPROGRAMS = $(PROGRAM_NAME)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von SchroederTARGETS = $(PROGRAMS) $(shared_build) $(other_targets)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von SchroederPHONY_TARGETS = $(srcdir)/buildmark.c
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von SchroederINSTALL_TARGETS = install-conf install-htdocs install-error install-icons \
654eedbcf7478c0d24ecba13325cf57ac2858071Christian Maeder install-other install-cgi install-include install-suexec install-man \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von SchroederDISTCLEAN_TARGETS = include/ap_config_auto.h include/ap_config_layout.h \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder modules.c config.cache config.log config.status build/config_vars.mk \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder build/rules.mk docs/conf/httpd-std.conf
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von SchroederEXTRACLEAN_TARGETS = configure include/ap_config_auto.h.in generated_lists
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroederinclude $(top_builddir)/build/rules.mk
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroederinclude $(top_srcdir)/build/program.mk
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @echo Installing configuration files
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @test -d $(DESTDIR)$(sysconfdir) || $(MKINSTALLDIRS) $(DESTDIR)$(sysconfdir)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @cd $(top_srcdir)/docs/conf; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder for i in mime.types magic; do \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder $(INSTALL_DATA) $$i $(DESTDIR)$(sysconfdir); \
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder for j in $(top_srcdir)/docs/conf $(top_builddir)/docs/conf ; do \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder for i in *-std*.conf ssl.conf; do \
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder [ -f $$i ] || continue; \
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder n_lm=`awk 'BEGIN {n=0} /@@LoadModule@@/ {n+=1} END {print n}' < $$i`; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder if test $$n_lm -eq 0 -o "x$(DSO_MODULES)" = "x"; then \
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder sed -e 's#@@ServerRoot@@#$(prefix)#g' \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder -e 's#@@Port@@#$(PORT)#g' \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder -e '/@@LoadModule@@/d' \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder sed -n -e '/@@LoadModule@@/q' \
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder -e 's#@@ServerRoot@@#$(prefix)#g' \
ba06b25b69be05a4733db7197940efd73976f215Jonathan von Schroeder -e 's#@@Port@@#$(PORT)#g' \
ba06b25b69be05a4733db7197940efd73976f215Jonathan von Schroeder for j in $(DSO_MODULES) "^EOL^"; do \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder if test "x$$j" = "xssl"; then \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder echo "<IfDefine SSL>"; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder if test $$j != "^EOL^"; then \
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder echo "LoadModule $${j}_module $(rel_libexecdir)/mod_$${j}.so"; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder if test "x$$j" = "xssl"; then \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder echo "</IfDefine>"; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder sed -e '1,/@@LoadModule@@/d' \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder -e '/@@LoadModule@@/d' \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder -e 's#@@ServerRoot@@#$(prefix)#g' \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder -e 's#@@Port@@#$(PORT)#g' \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder ) > $(DESTDIR)$(sysconfdir)/$$i; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder chmod 0644 $(DESTDIR)$(sysconfdir)/$$i; \
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroeder file=`echo $$i|sed s/-std//`; \
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroeder if [ "$$file" = "httpd.conf" ]; then \
ba06b25b69be05a4733db7197940efd73976f215Jonathan von Schroeder file=`echo $$file|sed s/.*.conf/$(PROGRAM_NAME).conf/`; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder if test "$$file" != "$$i" && test ! -f $(DESTDIR)$(sysconfdir)/$$file; then \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder $(INSTALL_DATA) $(DESTDIR)$(sysconfdir)/$$i $(DESTDIR)$(sysconfdir)/$$file; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @if test -f "$(builddir)/envvars-std"; then \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder cp -p envvars-std $(DESTDIR)$(sbindir); \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder if test ! -f $(DESTDIR)$(sbindir)/envvars; then \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder cp -p envvars-std $(DESTDIR)$(sbindir)/envvars ; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @echo Installing build system files
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroeder @test -d $(DESTDIR)$(installbuilddir) || $(MKINSTALLDIRS) $(DESTDIR)$(installbuilddir)
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroeder @cp build/*.mk $(DESTDIR)$(installbuilddir); \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder sed 's#LIBTOOL = \(.*\)#LIBTOOL = $(SHELL) $(installbuilddir)/libtool $(LTFLAGS)#' \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder build/config_vars.mk > $(DESTDIR)$(installbuilddir)/config_vars.mk; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder cp $(top_srcdir)/build/instdso.sh $(DESTDIR)$(installbuilddir);
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroederhtdocs-srcdir = $(top_srcdir)/docs/docroot
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder srclib/apr/build/scandoc.pl -i./build/default.pl -p./docs/api/ ./include/*.h
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder doxygen $(top_srcdir)/docs/doxygen.conf
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @echo Installing HTML documents
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @test -d $(DESTDIR)$(htdocsdir) || $(MKINSTALLDIRS) $(DESTDIR)$(htdocsdir)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(DESTDIR)$(htdocsdir))
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @test -d $(DESTDIR)$(manualdir) || $(MKINSTALLDIRS) $(DESTDIR)$(manualdir)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @test -d $(top_srcdir)/docs/manual && (cd $(top_srcdir)/docs/manual && cp -rp * $(DESTDIR)$(manualdir))
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder - @test "x$(htdocsdir)" != "x" && cd $(DESTDIR)$(htdocsdir) && find . -name "CVS" -print | xargs rm -rf
ba06b25b69be05a4733db7197940efd73976f215Jonathan von Schroeder @echo Installing error documents
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @test -d $(DESTDIR)$(errordir) || $(MKINSTALLDIRS) $(DESTDIR)$(errordir)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @cd $(top_srcdir)/docs/error && cp -rp * $(DESTDIR)$(errordir)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder - @test "x$(errordir)" != "x" && cd $(DESTDIR)$(errordir) && find . -name "CVS" -print | xargs rm -rf
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @echo Installing icons
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @test -d $(DESTDIR)$(iconsdir) || $(MKINSTALLDIRS) $(DESTDIR)$(iconsdir)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @cd $(top_srcdir)/docs/icons && cp -rp * $(DESTDIR)$(iconsdir)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder - @test "x$(iconsdir)" != "x" && cd $(DESTDIR)$(iconsdir) && find . -name "CVS" -print | xargs rm -rf
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @echo Installing CGIs
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @test -d $(DESTDIR)$(cgidir) || $(MKINSTALLDIRS) $(DESTDIR)$(cgidir)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @cd $(top_srcdir)/docs/cgi-examples && cp -rp * $(DESTDIR)$(cgidir)
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroeder - @test "x$(cgidir)" != "x" && cd $(DESTDIR)$(cgidir) && find . -name "CVS" -print | xargs rm -rf
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @test -d $(DESTDIR)$(logfiledir) || $(MKINSTALLDIRS) $(DESTDIR)$(logfiledir)
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroeder @test -d $(DESTDIR)$(runtimedir) || $(MKINSTALLDIRS) $(DESTDIR)$(runtimedir)
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroeder @for ext in dll x; do \
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroeder file=apachecore.$$ext; \
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroeder if test -f $$file; then \
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroeder cp -p $$file $(DESTDIR)$(libdir); \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder if test -f $$file; then \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder cp -p $$file $(DESTDIR)$(bindir); \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroederinstall-include:
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @echo Installing header files
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @test -d $(DESTDIR)$(includedir) || $(MKINSTALLDIRS) $(DESTDIR)$(includedir)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @cp -p include/*.h $(srcdir)/include/*.h $(DESTDIR)$(includedir)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @cp -p $(srcdir)/os/$(OS_DIR)/os.h $(DESTDIR)$(includedir)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @if test -f $(srcdir)/os/$(OS_DIR)/os-inline.c; then \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder cp -p $(srcdir)/os/$(OS_DIR)/os-inline.c $(DESTDIR)$(includedir); \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @cp -p $(srcdir)/server/mpm/$(MPM_SUBDIR_NAME)/*.h $(DESTDIR)$(includedir)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @cp -p $(srcdir)/modules/dav/main/mod_dav.h $(DESTDIR)$(includedir)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @cp -p $(srcdir)/modules/filters/mod_include.h $(DESTDIR)$(includedir)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @cp -p $(srcdir)/modules/generators/mod_cgi.h $(DESTDIR)$(includedir)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @cp -p $(srcdir)/modules/loggers/mod_log_config.h $(DESTDIR)$(includedir)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @cp -p $(srcdir)/modules/http/mod_core.h $(DESTDIR)$(includedir)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @cp -p $(srcdir)/modules/proxy/mod_proxy.h $(DESTDIR)$(includedir)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @cp -p $(srcdir)/modules/ssl/*.h $(DESTDIR)$(includedir)
@cp -p $(srcdir)/srclib/pcre/pcre*.h $(DESTDIR)$(includedir)
@cp -p $(top_srcdir)/docs/man/*.1 $(DESTDIR)$(mandir)/man1
@cp -p $(top_srcdir)/docs/man/*.8 $(DESTDIR)$(mandir)/man8
@if test -f $(builddir)/support/suexec; then \
$(INSTALL_PROGRAM) $(top_builddir)/support/suexec $(DESTDIR)$(sbindir); \
@rm -rf autom4te.cache
include $(top_srcdir)/os/os2/core.mk