Makefile.in revision 6e24b94d1e7122e128d9c19b3dff0e49475f5d37
6ae232055d4d8a97267517c5e50074c2c819941andtop_srcdir = @top_srcdir@
6ae232055d4d8a97267517c5e50074c2c819941andsrcdir = @srcdir@
6ae232055d4d8a97267517c5e50074c2c819941andVPATH = @srcdir@
6ae232055d4d8a97267517c5e50074c2c819941andSUBDIRS = ap lib main modules os $(REGEX_DIR)
6ae232055d4d8a97267517c5e50074c2c819941andPROGRAM_NAME = $(progname)
6ae232055d4d8a97267517c5e50074c2c819941andPROGRAM_LDADD = $(EXTRA_LDFLAGS) $(PROGRAM_DEPENDENCIES) $(EXTRA_LIBS)
6ae232055d4d8a97267517c5e50074c2c819941andPROGRAM_DEPENDENCIES = \
6ae232055d4d8a97267517c5e50074c2c819941and $(BUILTIN_LIBS) \
6ae232055d4d8a97267517c5e50074c2c819941and $(MPM_LIB) \
6ae232055d4d8a97267517c5e50074c2c819941and $(OS_DIR)/libos.la \
6ae232055d4d8a97267517c5e50074c2c819941and $(REGEX_LIB)
6ae232055d4d8a97267517c5e50074c2c819941andPROGRAMS = $(PROGRAM_NAME)
6ae232055d4d8a97267517c5e50074c2c819941andtargets = $(PROGRAMS)
6ae232055d4d8a97267517c5e50074c2c819941andphony_targets = buildmark.c
6ae232055d4d8a97267517c5e50074c2c819941andinstall_targets = install-conf install-htdocs install-icons install-other \
4b3a8afbfcea8b265d179a122bf40dfedd1ce280takashi install-cgi install-include
6ae232055d4d8a97267517c5e50074c2c819941andinclude $(top_srcdir)/build/rules.mk
b03f9485e6dfcf9326e6122f91eaa1ced8939818jiminclude $(top_srcdir)/build/program.mk
6ae232055d4d8a97267517c5e50074c2c819941andinstall-conf:
6ae232055d4d8a97267517c5e50074c2c819941and @echo Installing configuration files
6ae232055d4d8a97267517c5e50074c2c819941and @test -d $(sysconfdir) || $(mkinstalldirs) $(sysconfdir)
6ae232055d4d8a97267517c5e50074c2c819941and @cd $(srcdir)/../conf; \
6ae232055d4d8a97267517c5e50074c2c819941and for i in mime.types magic; do \
6ae232055d4d8a97267517c5e50074c2c819941and $(INSTALL_DATA) $$i $(sysconfdir); \
6ae232055d4d8a97267517c5e50074c2c819941and for i in *-dist; do \
1d980e5489836e977ba59b419e27b0ec875c4bd3takashi sed -e 's#@@ServerRoot@@#$(prefix)#g' \
6ae232055d4d8a97267517c5e50074c2c819941and < $$i > $(sysconfdir)/$$i; \
6ae232055d4d8a97267517c5e50074c2c819941and chmod 0644 $(sysconfdir)/$$i; \
1d980e5489836e977ba59b419e27b0ec875c4bd3takashi file=`echo $$i|sed s/-dist//`; \
6ae232055d4d8a97267517c5e50074c2c819941and if [ "$$file" = "httpd.conf" ]; then \
6ae232055d4d8a97267517c5e50074c2c819941and file=`echo $$file|sed s/.*.conf/$(PROGRAM_NAME).conf/`; \
6ae232055d4d8a97267517c5e50074c2c819941and if test "$$file" != "$$i" && test ! -f $(sysconfdir)/$$file; then \
6ae232055d4d8a97267517c5e50074c2c819941and $(INSTALL_DATA) $(sysconfdir)/$$i $(sysconfdir)/$$file; \
6ae232055d4d8a97267517c5e50074c2c819941andinstall-htdocs:
6ae232055d4d8a97267517c5e50074c2c819941and @echo Installing HTML documents
6ae232055d4d8a97267517c5e50074c2c819941and @test -d $(htdocsdir) || $(mkinstalldirs) $(htdocsdir)
1d980e5489836e977ba59b419e27b0ec875c4bd3takashi @cp -rp $(srcdir)/../htdocs/* $(htdocsdir)
1d980e5489836e977ba59b419e27b0ec875c4bd3takashiinstall-icons:
1d980e5489836e977ba59b419e27b0ec875c4bd3takashi @echo Installing icons
6ae232055d4d8a97267517c5e50074c2c819941and @test -d $(iconsdir) || $(mkinstalldirs) $(iconsdir)
6ae232055d4d8a97267517c5e50074c2c819941and @cp -rp $(srcdir)/../icons/* $(iconsdir)
6ae232055d4d8a97267517c5e50074c2c819941andinstall-cgi:
6ae232055d4d8a97267517c5e50074c2c819941and @echo Installing CGIs
6ae232055d4d8a97267517c5e50074c2c819941and @test -d $(cgidir) || $(mkinstalldirs) $(cgidir)
6ae232055d4d8a97267517c5e50074c2c819941and @cp -rp $(srcdir)/../cgi-bin/* $(cgidir)
6ae232055d4d8a97267517c5e50074c2c819941andinstall-other:
6ae232055d4d8a97267517c5e50074c2c819941and @test -d $(logdir) || $(mkinstalldirs) $(logdir)
6ae232055d4d8a97267517c5e50074c2c819941andinstall-include:
6ae232055d4d8a97267517c5e50074c2c819941and @echo Installing header files
6ae232055d4d8a97267517c5e50074c2c819941and @test -d $(includedir) || $(mkinstalldirs) $(includedir)
6ae232055d4d8a97267517c5e50074c2c819941and @test -d $(includedir)/xml || $(mkinstalldirs) $(includedir)/xml
6ae232055d4d8a97267517c5e50074c2c819941and @test -d $(includedir)/apr || $(mkinstalldirs) $(includedir)/apr
6ae232055d4d8a97267517c5e50074c2c819941and @cp include/*.h $(srcdir)/include/*.h $(includedir)
6ae232055d4d8a97267517c5e50074c2c819941and @cp $(srcdir)/lib/expat-lite/*.h $(includedir)/xml
6ae232055d4d8a97267517c5e50074c2c819941and @cp lib/apr/include/*.h $(srcdir)/lib/apr/include/*.h $(includedir)/apr
6ae232055d4d8a97267517c5e50074c2c819941and @chmod 644 $(includedir)/*.h $(includedir)/xml/*.h $(includedir)/apr/*.h