Makefile.in revision 6cb7893a671cebe32dd0455ba79781a4834e141e
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel BřezinaSUBDIRS = ap lib main modules os support
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel BřezinaPROGRAM_NAME = $(progname)
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel BřezinaPROGRAM_LDADD = $(EXTRA_LDFLAGS) $(PROGRAM_DEPENDENCIES) $(EXTRA_LIBS)
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel BřezinaPROGRAM_DEPENDENCIES = \
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina $(BUILTIN_LIBS) \
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina os/$(OS_DIR)/libos.la \
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel BřezinaPROGRAMS = $(PROGRAM_NAME)
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březinatargets = $(PROGRAMS)
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březinaphony_targets = $(srcdir)/buildmark.c
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březinainstall_targets = install-conf install-htdocs install-icons install-other \
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina install-cgi install-include install-support
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel BřezinaDISTCLEANFILES = include/config_auto.h modules.c aclocal.m4 buildmk.stamp \
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina configure generated_lists include/ap_config_auto.h \
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina include/ap_config_auto.h.in include/ap_config_path.h install-sh
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březinainclude $(top_srcdir)/build/rules.mk
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březinainclude $(top_srcdir)/build/program.mk
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina @echo Installing configuration files
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina @test -d $(sysconfdir) || $(MKINSTALLDIRS) $(sysconfdir)
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina @cd $(srcdir)/../conf; \
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina for i in mime.types magic; do \
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina $(INSTALL_DATA) $$i $(sysconfdir); \
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina for i in *-dist; do \
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina sed -e 's#@@ServerRoot@@#$(prefix)#g' \
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina -e 's#@@Port@@#$(PORT)#g' \
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina < $$i > $(sysconfdir)/$$i; \
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina chmod 0644 $(sysconfdir)/$$i; \
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina file=`echo $$i|sed s/-dist//`; \
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina if [ "$$file" = "httpd.conf" ]; then \
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina file=`echo $$file|sed s/.*.conf/$(PROGRAM_NAME).conf/`; \
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina if test "$$file" != "$$i" && test ! -f $(sysconfdir)/$$file; then \
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina $(INSTALL_DATA) $(sysconfdir)/$$i $(sysconfdir)/$$file; \
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březinahtdocs-srcdir = $(srcdir)/../htdocs
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březinadocs: include/*.h
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina lib/apr/helpers/scandoc -ihelpers/default.pl -p./docs/api/ ./include/*.h
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březinainstall-htdocs:
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina @echo Installing HTML documents
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina @test -d $(htdocsdir) || $(MKINSTALLDIRS) $(htdocsdir)
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina @test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(htdocsdir))
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březinainstall-icons:
9b74009c1260e6f3b1031a6ae110bf1d957cba81Pavel Březina @echo Installing icons
9b74009c1260e6f3b1031a6ae110bf1d957cba81Pavel Březina @test -d $(iconsdir) || $(MKINSTALLDIRS) $(iconsdir)
9b74009c1260e6f3b1031a6ae110bf1d957cba81Pavel Březina @(cd $(srcdir)/../icons && cp -rp * $(iconsdir))
9b74009c1260e6f3b1031a6ae110bf1d957cba81Pavel Březina @echo Installing CGIs
9b74009c1260e6f3b1031a6ae110bf1d957cba81Pavel Březina @test -d $(cgidir) || $(MKINSTALLDIRS) $(cgidir)
9b74009c1260e6f3b1031a6ae110bf1d957cba81Pavel Březina @(cd $(srcdir)/../cgi-bin && cp -rp * $(cgidir))
9b74009c1260e6f3b1031a6ae110bf1d957cba81Pavel Březinainstall-support:
9b74009c1260e6f3b1031a6ae110bf1d957cba81Pavel Březina @echo Installing Support Binaries
9b74009c1260e6f3b1031a6ae110bf1d957cba81Pavel Březina @test -d $(bindir) || $(MKINSTALLDIRS) $(bindir)
9b74009c1260e6f3b1031a6ae110bf1d957cba81Pavel Březina @cp -p $(srcdir)/support/httpd.exp $(bindir)
488b455f6b7881ec108a127840b1c1f1523d937fMichal Židek @cp -p $(builddir)/support/htpasswd $(bindir)
488b455f6b7881ec108a127840b1c1f1523d937fMichal Židek @cp -p $(builddir)/support/htdigest $(bindir)
488b455f6b7881ec108a127840b1c1f1523d937fMichal Židek @cp -p $(builddir)/support/rotatelogs $(bindir)
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina @cp -p $(builddir)/support/logresolve $(bindir)
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina @cp -p $(builddir)/support/ab $(bindir)
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březinainstall-other:
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina @test -d $(logdir) || $(MKINSTALLDIRS) $(logdir)
488b455f6b7881ec108a127840b1c1f1523d937fMichal Židek @for ext in dll x; do \
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina file=apachecore.$$ext; \
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina if test -f $$file; then \
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina cp -p $$file $(bindir); \
488b455f6b7881ec108a127840b1c1f1523d937fMichal Židekinstall-include:
488b455f6b7881ec108a127840b1c1f1523d937fMichal Židek @echo Installing header files
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina @test -d $(includedir) || $(MKINSTALLDIRS) $(includedir)
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina @test -d $(includedir)/xml || $(MKINSTALLDIRS) $(includedir)/xml
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina @test -d $(includedir)/apr || $(MKINSTALLDIRS) $(includedir)/apr
488b455f6b7881ec108a127840b1c1f1523d937fMichal Židek @cp -p include/*.h $(srcdir)/include/*.h $(includedir)
552390afcc81af96ca201fa6c25ddefbbecbeb4eJakub Hrozek @cp -p $(srcdir)/os/$(OS_DIR)/os.h $(includedir)
552390afcc81af96ca201fa6c25ddefbbecbeb4eJakub Hrozek @cp -p $(srcdir)/os/$(OS_DIR)/os-inline.c $(includedir)
552390afcc81af96ca201fa6c25ddefbbecbeb4eJakub Hrozek @cp -p $(srcdir)/lib/expat-lite/*.h $(includedir)/xml
488b455f6b7881ec108a127840b1c1f1523d937fMichal Židek @cp -p lib/apr/include/*.h $(srcdir)/lib/apr/include/*.h $(includedir)/apr
e157b9f6cb370e1b94bcac2044d26ad66d640fbaPavel Březina @chmod 644 $(includedir)/*.h $(includedir)/xml/*.h $(includedir)/apr/*.h