Makefile.in revision bae0e91df5855c99daf7e2d572c3c579e128bbfa
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26ndSUBDIRS = srclib os server modules support
fd9abdda70912b99b24e3bf1a38f26fde908a74cndCLEAN_SUBDIRS = test
fd9abdda70912b99b24e3bf1a38f26fde908a74cndPROGRAM_NAME = $(progname)
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26ndPROGRAM_SOURCES = modules.c
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26ndPROGRAM_LDADD = $(EXTRA_LDFLAGS) $(HTTPD_LDFLAGS) \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd $(PROGRAM_DEPENDENCIES) $(EXTRA_LIBS)
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26ndPROGRAM_DEPENDENCIES = \
3f08db06526d6901aa08c110b5bc7dde6bc39905nd $(BUILTIN_LIBS) \
96ad5d81ee4a2cc66a4ae19893efc8aa6d06fae7jailletc $(MPM_LIB) \
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim os/$(OS_DIR)/libos.la \
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowenPROGRAMS = $(PROGRAM_NAME)
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowenTARGETS = $(PROGRAMS) $(shared_build) $(other_targets)
7add1372edb1ee95a2c4d1314df4c7567bda7c62jimPHONY_TARGETS = $(srcdir)/buildmark.c
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26ndINSTALL_TARGETS = install-conf install-htdocs install-error install-icons \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd install-other install-cgi install-include install-suexec install-man \
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen install-build
7add1372edb1ee95a2c4d1314df4c7567bda7c62jimDISTCLEAN_TARGETS = include/ap_config_auto.h include/ap_config_path.h \
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim modules.c config.cache config.log config.status config_vars.mk
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26ndEXTRACLEAN_TARGETS = configure include/ap_config_auto.h.in generated_lists
3f08db06526d6901aa08c110b5bc7dde6bc39905ndinclude $(top_builddir)/build/rules.mk
6df89e6e4adeb986b41b7ec6b7593a887e031ce7ndinclude $(top_srcdir)/build/program.mk
ed1d958582984a7c54a6ca859e15939a414fa733ndinstall-conf:
ed1d958582984a7c54a6ca859e15939a414fa733nd @echo Installing configuration files
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim @test -d $(sysconfdir) || $(MKINSTALLDIRS) $(sysconfdir)
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim @cd $(top_srcdir)/docs/conf; \
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim for i in mime.types magic; do \
7f5b59ccc63c0c0e3e678a168f09ee6a2f51f9d0nd $(INSTALL_DATA) $$i $(sysconfdir); \
63f06dce77bb2d9b1c5aa5deeb47a1069987fd1end for i in *-std* ssl.conf; do \
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen [ -f $$i ] || continue; \
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd n_lm=`awk 'BEGIN {n=0} /@@LoadModule@@/ {n+=1} END {print n}' < $$i`; \
3f08db06526d6901aa08c110b5bc7dde6bc39905nd if test $$n_lm -eq 0 -o "x$(DSO_MODULES)" = "x"; then \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd sed -e 's#@@ServerRoot@@#$(prefix)#g' \
a29610af88e278144045bfa1bc63b4a1a4b5ff14trawick -e 's#@@Port@@#$(PORT)#g' \
52fff662005b1866a3ff09bb6c902800c5cc6dedjerenkrantz -e '/@@LoadModule@@/d' \
a12dd6260a66f51e25119982390def72e2db4be5nd sed -n -e '/@@LoadModule@@/q' \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd -e 's#@@ServerRoot@@#$(prefix)#g' \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd -e 's#@@Port@@#$(PORT)#g' \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd for j in $(DSO_MODULES) "^EOL^"; do \
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen if test $$j != "^EOL^"; then \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd echo "LoadModule $${j}_module modules/mod_$${j}.so"; \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd sed -e '1,/@@LoadModule@@/d' \
63581ee088272ef76aa8d053609dc1705c222deesf -e '/@@LoadModule@@/d' \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd -e 's#@@ServerRoot@@#$(prefix)#g' \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd -e 's#@@Port@@#$(PORT)#g' \
562b6e25d7f0ca73dca724b09b555a91399448d5rbowen ) > $(sysconfdir)/$$i; \
562b6e25d7f0ca73dca724b09b555a91399448d5rbowen chmod 0644 $(sysconfdir)/$$i; \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd file=`echo $$i|sed s/-std//`; \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd if [ "$$file" = "httpd.conf" ]; then \
4af55bbfdbff2cae0cd3195876c93ea991523d1fcolm file=`echo $$file|sed s/.*.conf/$(PROGRAM_NAME).conf/`; \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd if test "$$file" != "$$i" && test ! -f $(sysconfdir)/$$file; then \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd $(INSTALL_DATA) $(sysconfdir)/$$i $(sysconfdir)/$$file; \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26ndinstall-build:
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd @echo Installing build system files
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd @test -d $(installbuilddir) || $(MKINSTALLDIRS) $(installbuilddir)
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd @sed 's#LIBTOOL = \(.*\)#LIBTOOL = $(SHELL) $(installbuilddir)/libtool $(LTFLAGS)#' \
38819b9bf8b10d6db4842fb5a4ede7828b409819rbowen cp build/*.mk $(installbuilddir); \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd cp srclib/apr/libtool $(installbuilddir); \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd if test -f srclib/apr/shlibtool; then \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd cp srclib/apr/shlibtool $(installbuilddir); \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26ndhtdocs-srcdir = $(top_srcdir)/docs/docroot
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd srclib/apr/build/scandoc.pl -i./build/default.pl -p./docs/api/ ./include/*.h
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd doxygen $(top_srcdir)/docs/doxygen.conf
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26ndinstall-htdocs:
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd @echo Installing HTML documents
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd @test -d $(htdocsdir) || $(MKINSTALLDIRS) $(htdocsdir)
c5ac4f57bfd156a62495b9c6a049f05bbcb69acarbowen @test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(htdocsdir))
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd @test -d $(prefix)/manual || $(MKINSTALLDIRS) $(prefix)/manual
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd @test -d $(top_srcdir)/docs/manual && (cd $(top_srcdir)/docs/manual && cp -rp * $(prefix)/manual)
0f6a0052bbfc841b1067c1ce0ca37880121d4713rbowen @(cd $(htdocsdir) && find . -name "CVS" -print | xargs rm -rf {} \;)
e930328445e961ade1bd37ed7ca01c293b586400noodlinstall-error:
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd @echo Installing error documents
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd @test -d $(errordir) || $(MKINSTALLDIRS) $(errordir)
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd @(cd $(top_srcdir)/docs/error && cp -rp * $(errordir))
ed1d958582984a7c54a6ca859e15939a414fa733nd @(cd $(errordir) && find . -name "CVS" -print | xargs rm -rf {} \;)
7add1372edb1ee95a2c4d1314df4c7567bda7c62jiminstall-icons:
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim @echo Installing icons
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim @test -d $(iconsdir) || $(MKINSTALLDIRS) $(iconsdir)
7f5b59ccc63c0c0e3e678a168f09ee6a2f51f9d0nd @(cd $(top_srcdir)/docs/icons && cp -rp * $(iconsdir))
7f5b59ccc63c0c0e3e678a168f09ee6a2f51f9d0nd @(cd $(iconsdir) && find . -name "CVS" -print | xargs rm -rf {} \;)
d474d8ef01ec5c2a09341cd148851ed383c3287crboweninstall-cgi:
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen @echo Installing CGIs
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd @test -d $(cgidir) || $(MKINSTALLDIRS) $(cgidir)
205f749042ed530040a4f0080dbcb47ceae8a374rjung @(cd $(top_srcdir)/docs/cgi-examples && cp -rp * $(cgidir))
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen @(cd $(cgidir) && find . -name "CVS" -print | xargs rm -rf {} \;)
7fec19672a491661b2fe4b29f685bc7f4efa64d4ndinstall-other:
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd @test -d $(logfiledir) || $(MKINSTALLDIRS) $(logfiledir)
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd @for ext in dll x; do \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd file=apachecore.$$ext; \
file=httpd.dll; \
@cp -p $(srcdir)/os/$(OS_DIR)/os.h $(includedir)
@if test -f $(srcdir)/os/$(OS_DIR)/os-inline.c; then \
cp -p $(srcdir)/os/$(OS_DIR)/os-inline.c $(includedir); \
@cp -p $(srcdir)/server/mpm/$(MPM_NAME)/*.h $(includedir)
@cp -p $(srcdir)/modules/dav/main/mod_dav.h $(includedir)
@cp -p $(srcdir)/modules/filters/mod_include.h $(includedir)
@cp -p $(srcdir)/modules/generators/mod_cgi.h $(includedir)
@cp -p $(srcdir)/modules/http/mod_core.h $(includedir)
@cp -p $(srcdir)/modules/proxy/mod_proxy.h $(includedir)
@cp -p $(srcdir)/modules/ssl/*.h $(includedir)
@cp -p $(srcdir)/srclib/pcre/*.h $(includedir)
@cp -p $(srcdir)/srclib/apr/include/*.h $(includedir)
@cp -p $(srcdir)/srclib/apr-util/include/*.h $(includedir)
@cp -p $(top_srcdir)/docs/man/*.1 $(mandir)/man1
@cp -p $(top_srcdir)/docs/man/*.8 $(mandir)/man8
@if test -f $(builddir)/support/suexec; then \
$(INSTALL_PROGRAM) $(top_builddir)/support/suexec $(sbindir); \
include $(top_srcdir)/os/os2/core.mk