Makefile.in revision bae0e91df5855c99daf7e2d572c3c579e128bbfa
45632c3574ce843b9e85b9f73efe75b7b809f789slive
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26ndSUBDIRS = srclib os server modules support
fd9abdda70912b99b24e3bf1a38f26fde908a74cndCLEAN_SUBDIRS = test
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd
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 server/libmain.la \
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim os/$(OS_DIR)/libos.la \
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen $(AP_LIBS)
2e545ce2450a9953665f701bb05350f0d3f26275nd
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
3f08db06526d6901aa08c110b5bc7dde6bc39905nd
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
4b5981e276e93df97c34e4da05ca5cf8bbd937dand
3f08db06526d6901aa08c110b5bc7dde6bc39905ndinclude $(top_builddir)/build/rules.mk
6df89e6e4adeb986b41b7ec6b7593a887e031ce7ndinclude $(top_srcdir)/build/program.mk
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd
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); \
7f5b59ccc63c0c0e3e678a168f09ee6a2f51f9d0nd done; \
63f06dce77bb2d9b1c5aa5deeb47a1069987fd1end for i in *-std* ssl.conf; do \
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen [ -f $$i ] || continue; \
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen ( \
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' \
35b1112eadc3479a2d81ea1b836aa87f21505ee9jerenkrantz < $$i; \
52fff662005b1866a3ff09bb6c902800c5cc6dedjerenkrantz else \
a12dd6260a66f51e25119982390def72e2db4be5nd sed -n -e '/@@LoadModule@@/q' \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd -e 's#@@ServerRoot@@#$(prefix)#g' \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd -e 's#@@Port@@#$(PORT)#g' \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd -e 'p' \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd < $$i; \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd for j in $(DSO_MODULES) "^EOL^"; do \
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen if test $$j != "^EOL^"; then \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd echo "LoadModule $${j}_module modules/mod_$${j}.so"; \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd fi; \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd done; \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd sed -e '1,/@@LoadModule@@/d' \
63581ee088272ef76aa8d053609dc1705c222deesf -e '/@@LoadModule@@/d' \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd -e 's#@@ServerRoot@@#$(prefix)#g' \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd -e 's#@@Port@@#$(PORT)#g' \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd < $$i; \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd fi \
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 fi; \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd if test "$$file" != "$$i" && test ! -f $(sysconfdir)/$$file; then \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd $(INSTALL_DATA) $(sysconfdir)/$$i $(sysconfdir)/$$file; \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd fi; \
64f23d7fddbd8bacb8c18434baedb5f1f86b432aminfrin done
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26ndinstall-build:
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd @echo Installing build system files
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd @test -d $(installbuilddir) || $(MKINSTALLDIRS) $(installbuilddir)
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd @sed 's#LIBTOOL = \(.*\)#LIBTOOL = $(SHELL) $(installbuilddir)/libtool $(LTFLAGS)#' \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd config_vars.mk > $(installbuilddir)/config_vars.mk; \
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); \
1844bb5f7939bd31f51dffaf8d8cf1c00657a681rbowen fi
1844bb5f7939bd31f51dffaf8d8cf1c00657a681rbowen
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26ndhtdocs-srcdir = $(top_srcdir)/docs/docroot
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nddocs::
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd mkdir -p ./docs/api
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd srclib/apr/build/scandoc.pl -i./build/default.pl -p./docs/api/ ./include/*.h
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nddox::
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd doxygen $(top_srcdir)/docs/doxygen.conf
664e667e221a15fa5f456e73948c67710f43f1b4minfrin
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 {} \;)
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
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 {} \;)
ed1d958582984a7c54a6ca859e15939a414fa733nd
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 {} \;)
63f06dce77bb2d9b1c5aa5deeb47a1069987fd1end
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 {} \;)
0d0ba3a410038e179b695446bb149cce6264e0abnd
7fec19672a491661b2fe4b29f685bc7f4efa64d4ndinstall-other:
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd @test -d $(logfiledir) || $(MKINSTALLDIRS) $(logfiledir)
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd @for ext in dll x; do \
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd file=apachecore.$$ext; \
if test -f $$file; then \
cp -p $$file $(bindir); \
fi; \
done; \
file=httpd.dll; \
if test -f $$file; then \
cp -p $$file $(bindir); \
fi;
install-include:
@echo Installing header files
@test -d $(includedir) || $(MKINSTALLDIRS) $(includedir)
@cp -p include/*.h $(srcdir)/include/*.h $(includedir)
@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); \
fi;
@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 $(srcdir)/os/$(OS_DIR)/*.h $(includedir)
@chmod 644 $(includedir)/*.h
install-man:
@echo Installing man pages
@test -d $(mandir) || $(MKINSTALLDIRS) $(mandir)
@test -d $(mandir)/man1 || $(MKINSTALLDIRS) $(mandir)/man1
@test -d $(mandir)/man8 || $(MKINSTALLDIRS) $(mandir)/man8
@cp -p $(top_srcdir)/docs/man/*.1 $(mandir)/man1
@cp -p $(top_srcdir)/docs/man/*.8 $(mandir)/man8
install-suexec:
@if test -f $(builddir)/support/suexec; then \
test -d $(sbindir) || $(MKINSTALLDIRS) $(sbindir); \
$(INSTALL_PROGRAM) $(top_builddir)/support/suexec $(sbindir); \
chmod 4755 $(sbindir)/suexec; \
fi
suexec:
cd support && make suexec
include $(top_srcdir)/os/os2/core.mk