Makefile.in revision 886cd69ebf69e990dbc365be87ff8ea7cd681904
1cc20a8827ff6056399d64e3106b44d31e8e0e53ndSUBDIRS = srclib modules os server support test
1cc20a8827ff6056399d64e3106b44d31e8e0e53ndPROGRAM_NAME = $(progname)
1cc20a8827ff6056399d64e3106b44d31e8e0e53ndPROGRAM_SOURCES = modules.c
1cc20a8827ff6056399d64e3106b44d31e8e0e53ndPROGRAM_LDADD = $(EXTRA_LDFLAGS) $(PROGRAM_DEPENDENCIES) $(EXTRA_LIBS)
1cc20a8827ff6056399d64e3106b44d31e8e0e53ndPROGRAM_DEPENDENCIES = \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd $(BUILTIN_LIBS) \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd $(MPM_LIB) \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd os/$(OS_DIR)/libos.la \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd $(AP_LIBS)
1cc20a8827ff6056399d64e3106b44d31e8e0e53ndPROGRAMS = $(PROGRAM_NAME)
1cc20a8827ff6056399d64e3106b44d31e8e0e53ndtargets = $(PROGRAMS)
1cc20a8827ff6056399d64e3106b44d31e8e0e53ndphony_targets = $(srcdir)/buildmark.c
1cc20a8827ff6056399d64e3106b44d31e8e0e53ndinstall_targets = install-conf install-htdocs install-icons install-other \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd install-cgi install-include install-support
1cc20a8827ff6056399d64e3106b44d31e8e0e53ndDISTCLEANFILES = include/config_auto.h modules.c aclocal.m4 buildmk.stamp \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd configure generated_lists include/ap_config_auto.h \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd include/ap_config_auto.h.in include/ap_config_path.h install-sh
1cc20a8827ff6056399d64e3106b44d31e8e0e53ndinclude $(top_srcdir)/build/rules.mk
1cc20a8827ff6056399d64e3106b44d31e8e0e53ndinclude $(top_srcdir)/build/program.mk
5fd10c920ec5e72d7c42b3d65d44c3d934bb10a3ndinstall-conf:
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @echo Installing configuration files
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @test -d $(sysconfdir) || $(MKINSTALLDIRS) $(sysconfdir)
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd for i in mime.types magic; do \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd $(INSTALL_DATA) $$i $(sysconfdir); \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd for i in *-std*; do \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd sed -e 's#@@ServerRoot@@#$(prefix)#g' \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd -e 's#@@Port@@#$(PORT)#g' \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd < $$i > $(sysconfdir)/$$i; \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd chmod 0644 $(sysconfdir)/$$i; \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd file=`echo $$i|sed s/-std//`; \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd if [ "$$file" = "httpd.conf" ]; then \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd file=`echo $$file|sed s/.*.conf/$(PROGRAM_NAME).conf/`; \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd if test "$$file" != "$$i" && test ! -f $(sysconfdir)/$$file; then \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd $(INSTALL_DATA) $(sysconfdir)/$$i $(sysconfdir)/$$file; \
1cc20a8827ff6056399d64e3106b44d31e8e0e53ndhtdocs-srcdir = docs/docroot
1cc20a8827ff6056399d64e3106b44d31e8e0e53nddocs: include/*.h
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd srclib/apr/helpers/scandoc -ihelpers/default.pl -p./docs/api/ ./include/*.h
1cc20a8827ff6056399d64e3106b44d31e8e0e53ndinstall-htdocs:
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @echo Installing HTML documents
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @test -d $(htdocsdir) || $(MKINSTALLDIRS) $(htdocsdir)
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(htdocsdir))
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @test -d $(htdocsdir)/manual || $(MKINSTALLDIRS) $(htdocsdir)/manual
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @test -d docs/manual && (cd docs/manual && cp -rp * $(htdocsdir)/manual)
1cc20a8827ff6056399d64e3106b44d31e8e0e53ndinstall-icons:
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @echo Installing icons
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @test -d $(iconsdir) || $(MKINSTALLDIRS) $(iconsdir)
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @(cd docs/icons && cp -rp * $(iconsdir))
1cc20a8827ff6056399d64e3106b44d31e8e0e53ndinstall-cgi:
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @echo Installing CGIs
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @test -d $(cgidir) || $(MKINSTALLDIRS) $(cgidir)
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @(cd docs/cgi-examples && cp -rp * $(cgidir))
1cc20a8827ff6056399d64e3106b44d31e8e0e53ndinstall-support:
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @echo Installing Support Binaries
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @test -d $(bindir) || $(MKINSTALLDIRS) $(bindir)
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @cp -p $(srcdir)/support/httpd.exp $(bindir)
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @cp -p $(builddir)/support/htpasswd $(bindir)
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @cp -p $(builddir)/support/htdigest $(bindir)
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @cp -p $(builddir)/support/rotatelogs $(bindir)
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @cp -p $(builddir)/support/logresolve $(bindir)
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @cp -p $(builddir)/support/ab $(bindir)
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @cp -p $(builddir)/support/apachectl $(bindir)
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd chmod 755 $(bindir)/apachectl
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @if test -f $(builddir)/support/apxs; then \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd cp -p $(builddir)/support/apxs $(bindir); \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd chmod 755 $(bindir)/apxs; \
1cc20a8827ff6056399d64e3106b44d31e8e0e53ndinstall-other:
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @test -d $(logdir) || $(MKINSTALLDIRS) $(logdir)
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @for ext in dll x; do \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd file=apachecore.$$ext; \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd if test -f $$file; then \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd cp -p $$file $(bindir); \
1cc20a8827ff6056399d64e3106b44d31e8e0e53ndinstall-include:
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @echo Installing header files
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @test -d $(includedir) || $(MKINSTALLDIRS) $(includedir)
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @test -d $(includedir)/xml || $(MKINSTALLDIRS) $(includedir)/xml
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @test -d $(includedir)/pcre || $(MKINSTALLDIRS) $(includedir)/pcre
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @test -d $(includedir)/apr || $(MKINSTALLDIRS) $(includedir)/apr
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @test -d $(includedir)/apr-util || $(MKINSTALLDIRS) $(includedir)/apr-util
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @cp -p include/*.h $(srcdir)/include/*.h $(includedir)
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @cp -p $(srcdir)/os/$(OS_DIR)/os.h $(includedir)
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @if test -f $(srcdir)/os/$(OS_DIR)/os-inline.c; then \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd cp -p $(srcdir)/os/$(OS_DIR)/os-inline.c $(includedir); \
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @cp -p $(srcdir)/modules/dav/main/mod_dav.h $(includedir)
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @cp -p $(srcdir)/modules/filters/mod_include.h $(includedir)
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @cp -p $(srcdir)/srclib/expat-lite/*.h $(includedir)/xml
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @cp -p $(srcdir)/srclib/pcre/*.h $(includedir)/pcre
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @cp -p $(srcdir)/srclib/apr/include/*.h $(includedir)/apr
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @cp -p $(srcdir)/srclib/apr-util/include/*.h $(includedir)/apr-util
1cc20a8827ff6056399d64e3106b44d31e8e0e53nd @chmod 644 $(includedir)/*.h $(includedir)/xml/*.h $(includedir)/apr/*.h