Makefile.in revision 149a7e48b1acb4511604cbdbb2753aa9408633ea
98N/A
98N/ASUBDIRS = srclib os server modules support
98N/ACLEAN_SUBDIRS = test
98N/A
1523N/APROGRAM_NAME = $(progname)
98N/APROGRAM_SOURCES = modules.c
98N/APROGRAM_LDADD = $(EXTRA_LDFLAGS) $(HTTPD_LDFLAGS) \
919N/A $(PROGRAM_DEPENDENCIES) $(EXTRA_LIBS)
919N/APROGRAM_DEPENDENCIES = \
919N/A $(BUILTIN_LIBS) \
919N/A $(MPM_LIB) \
919N/A server/libmain.la \
919N/A os/$(OS_DIR)/libos.la \
919N/A $(AP_LIBS)
919N/A
919N/APROGRAMS = $(PROGRAM_NAME)
919N/ATARGETS = $(PROGRAMS) $(shared_build) $(other_targets)
919N/APHONY_TARGETS = $(srcdir)/buildmark.c
919N/AINSTALL_TARGETS = install-conf install-htdocs install-error install-icons \
919N/A install-other install-cgi install-include install-suexec install-man \
919N/A install-build
919N/A
919N/ADISTCLEAN_TARGETS = include/ap_config_auto.h include/ap_config_path.h \
919N/A modules.c config.cache config.log config.status config_vars.mk
98N/AEXTRACLEAN_TARGETS = configure include/ap_config_auto.h.in generated_lists
98N/A
98N/Ainclude $(top_builddir)/build/rules.mk
98N/Ainclude $(top_srcdir)/build/program.mk
98N/A
98N/Ainstall-conf:
1356N/A @echo Installing configuration files
1356N/A @test -d $(sysconfdir) || $(MKINSTALLDIRS) $(sysconfdir)
1551N/A @cd $(top_srcdir)/docs/conf; \
1551N/A for i in mime.types magic; do \
1356N/A $(INSTALL_DATA) $$i $(sysconfdir); \
1265N/A done; \
493N/A for i in *-std* ldap.conf proxy.conf ssl.conf; do \
98N/A [ -f $$i ] || continue; \
911N/A sed -e 's#@@ServerRoot@@#$(prefix)#g' \
1549N/A -e 's#@@Port@@#$(PORT)#g' \
1549N/A < $$i > $(sysconfdir)/$$i; \
1549N/A chmod 0644 $(sysconfdir)/$$i; \
911N/A file=`echo $$i|sed s/-std//`; \
98N/A if [ "$$file" = "httpd.conf" ]; then \
235N/A file=`echo $$file|sed s/.*.conf/$(PROGRAM_NAME).conf/`; \
493N/A fi; \
98N/A if test "$$file" != "$$i" && test ! -f $(sysconfdir)/$$file; then \
916N/A $(INSTALL_DATA) $(sysconfdir)/$$i $(sysconfdir)/$$file; \
916N/A fi; \
1466N/A done
1466N/A
916N/Ainstall-build:
970N/A @echo Installing build system files
970N/A @test -d $(installbuilddir) || $(MKINSTALLDIRS) $(installbuilddir)
970N/A @sed 's#LIBTOOL = \(.*\)#LIBTOOL = $(SHELL) $(installbuilddir)/libtool $(LTFLAGS)#' \
970N/A config_vars.mk > $(installbuilddir)/config_vars.mk; \
970N/A cp build/*.mk $(installbuilddir); \
970N/A cp srclib/apr/libtool $(installbuilddir); \
970N/A if test -f srclib/apr/shlibtool; then \
970N/A cp srclib/apr/shlibtool $(installbuilddir); \
970N/A fi
970N/A
970N/Ahtdocs-srcdir = $(top_srcdir)/docs/docroot
970N/A
970N/Adocs::
970N/A mkdir -p ./docs/api
970N/A srclib/apr/build/scandoc.pl -i./build/default.pl -p./docs/api/ ./include/*.h
970N/A
970N/Adox::
970N/A doxygen $(top_srcdir)/docs/doxygen.conf
970N/A
970N/Ainstall-htdocs:
970N/A @echo Installing HTML documents
970N/A @test -d $(htdocsdir) || $(MKINSTALLDIRS) $(htdocsdir)
970N/A @test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(htdocsdir))
970N/A @test -d $(prefix)/manual || $(MKINSTALLDIRS) $(prefix)/manual
970N/A @test -d $(top_srcdir)/docs/manual && (cd $(top_srcdir)/docs/manual && cp -rp * $(prefix)/manual)
1029N/A @(cd $(htdocsdir) && find . -name "CVS" -print | xargs rm -rf {} \;)
1029N/A
1124N/Ainstall-error:
1124N/A @echo Installing error documents
1124N/A @test -d $(errordir) || $(MKINSTALLDIRS) $(errordir)
1124N/A @(cd $(top_srcdir)/docs/error && cp -rp * $(errordir))
1124N/A @(cd $(errordir) && find . -name "CVS" -print | xargs rm -rf {} \;)
1124N/A
1303N/Ainstall-icons:
1303N/A @echo Installing icons
1333N/A @test -d $(iconsdir) || $(MKINSTALLDIRS) $(iconsdir)
1333N/A @(cd $(top_srcdir)/docs/icons && cp -rp * $(iconsdir))
1366N/A @(cd $(iconsdir) && find . -name "CVS" -print | xargs rm -rf {} \;)
1366N/A
1549N/Ainstall-cgi:
1549N/A @echo Installing CGIs
970N/A @test -d $(cgidir) || $(MKINSTALLDIRS) $(cgidir)
98N/A @(cd $(top_srcdir)/docs/cgi-examples && cp -rp * $(cgidir))
98N/A @(cd $(cgidir) && find . -name "CVS" -print | xargs rm -rf {} \;)
1265N/A
1451N/Ainstall-other:
1451N/A @test -d $(logfiledir) || $(MKINSTALLDIRS) $(logfiledir)
1451N/A @for ext in dll x; do \
1451N/A file=apachecore.$$ext; \
1124N/A if test -f $$file; then \
1451N/A cp -p $$file $(bindir); \
1451N/A fi; \
1124N/A done; \
1124N/A file=httpd.dll; \
1265N/A if test -f $$file; then \
1265N/A cp -p $$file $(bindir); \
1265N/A fi;
1124N/A
98N/Ainstall-include:
493N/A @echo Installing header files
98N/A @test -d $(includedir) || $(MKINSTALLDIRS) $(includedir)
970N/A @cp -p include/*.h $(srcdir)/include/*.h $(includedir)
970N/A @cp -p $(srcdir)/os/$(OS_DIR)/os.h $(includedir)
970N/A @if test -f $(srcdir)/os/$(OS_DIR)/os-inline.c; then \
1026N/A cp -p $(srcdir)/os/$(OS_DIR)/os-inline.c $(includedir); \
970N/A fi;
970N/A @cp -p $(srcdir)/server/mpm/$(MPM_NAME)/*.h $(includedir)
1026N/A @cp -p $(srcdir)/modules/dav/main/mod_dav.h $(includedir)
1124N/A @cp -p $(srcdir)/modules/filters/mod_include.h $(includedir)
1523N/A @cp -p $(srcdir)/modules/generators/mod_cgi.h $(includedir)
1523N/A @cp -p $(srcdir)/modules/http/mod_core.h $(includedir)
1451N/A @cp -p $(srcdir)/modules/ssl/*.h $(includedir)
1451N/A @cp -p $(srcdir)/srclib/pcre/*.h $(includedir)
1451N/A @cp -p $(srcdir)/srclib/apr/include/*.h $(includedir)
1003N/A @cp -p $(srcdir)/srclib/apr-util/include/*.h $(includedir)
98N/A @cp -p $(srcdir)/os/$(OS_DIR)/*.h $(includedir)
1466N/A @chmod 644 $(includedir)/*.h
98N/A
908N/Ainstall-man:
591N/A @echo Installing man pages
493N/A @test -d $(mandir) || $(MKINSTALLDIRS) $(mandir)
493N/A @test -d $(mandir)/man1 || $(MKINSTALLDIRS) $(mandir)/man1
1201N/A @test -d $(mandir)/man8 || $(MKINSTALLDIRS) $(mandir)/man8
1201N/A @cp -p $(top_srcdir)/docs/man/*.1 $(mandir)/man1
1201N/A @cp -p $(top_srcdir)/docs/man/*.8 $(mandir)/man8
1201N/A
1265N/Ainstall-suexec:
1265N/A @if test -f $(builddir)/support/suexec; then \
1201N/A test -d $(sbindir) || $(MKINSTALLDIRS) $(sbindir); \
1201N/A $(INSTALL_PROGRAM) $(top_builddir)/support/suexec $(sbindir); \
1201N/A chmod 4755 $(sbindir)/suexec; \
1201N/A fi
493N/A
493N/Asuexec:
493N/A cd support && make suexec
493N/A
493N/Ainclude $(top_srcdir)/os/os2/core.mk
493N/A