Makefile.in revision 2a0b1e02f6dc3b02b9a42448f35dcf39b929e37c
341N/A
341N/ASUBDIRS = srclib os server modules support
341N/ACLEAN_SUBDIRS = test
341N/A
943N/APROGRAM_NAME = $(progname)
341N/APROGRAM_SOURCES = modules.c
341N/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
341N/AEXTRACLEAN_TARGETS = configure include/ap_config_auto.h.in generated_lists
341N/A
341N/Ainclude $(top_srcdir)/build/rules.mk
341N/Ainclude $(top_srcdir)/build/program.mk
493N/A
341N/Ainstall-conf:
341N/A @echo Installing configuration files
851N/A @test -d $(sysconfdir) || $(MKINSTALLDIRS) $(sysconfdir)
341N/A @cd docs/conf; \
911N/A for i in mime.types magic; do \
911N/A $(INSTALL_DATA) $$i $(sysconfdir); \
911N/A done; \
911N/A for i in *-std*; do \
341N/A sed -e 's#@@ServerRoot@@#$(prefix)#g' \
341N/A -e 's#@@Port@@#$(PORT)#g' \
851N/A < $$i > $(sysconfdir)/$$i; \
341N/A chmod 0644 $(sysconfdir)/$$i; \
341N/A file=`echo $$i|sed s/-std//`; \
341N/A if [ "$$file" = "httpd.conf" ]; then \
341N/A file=`echo $$file|sed s/.*.conf/$(PROGRAM_NAME).conf/`; \
341N/A fi; \
341N/A if test "$$file" != "$$i" && test ! -f $(sysconfdir)/$$file; then \
341N/A $(INSTALL_DATA) $(sysconfdir)/$$i $(sysconfdir)/$$file; \
341N/A fi; \
392N/A done
604N/A
646N/Ainstall-build:
812N/A @echo Installing build system files
688N/A @test -d $(installbuilddir) || $(MKINSTALLDIRS) $(installbuilddir)
688N/A @sed 's#LIBTOOL = \(.*\)#LIBTOOL = $(SHELL) $(installbuilddir)/libtool $(LTFLAGS)#' \
688N/A config_vars.mk > $(installbuilddir)/config_vars.mk; \
688N/A cp build/*.mk $(installbuilddir); \
688N/A cp srclib/apr/libtool $(installbuilddir); \
688N/A if test -f srclib/apr/shlibtool; then \
688N/A cp srclib/apr/shlibtool $(installbuilddir); \
688N/A fi
688N/A
688N/Ahtdocs-srcdir = docs/docroot
688N/A
688N/Adocs::
688N/A mkdir -p ./docs/api
688N/A srclib/apr/build/scandoc.pl -i./build/default.pl -p./docs/api/ ./include/*.h
688N/A
688N/Adox::
688N/A doxygen docs/doxygen.conf
688N/A
688N/Ainstall-htdocs:
688N/A @echo Installing HTML documents
688N/A @test -d $(htdocsdir) || $(MKINSTALLDIRS) $(htdocsdir)
688N/A @test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(htdocsdir))
688N/A @test -d $(prefix)/manual || $(MKINSTALLDIRS) $(prefix)/manual
688N/A @test -d docs/manual && (cd docs/manual && cp -rp * $(prefix)/manual)
688N/A @(cd $(htdocsdir) && find . -name "CVS" -print | xargs rm -rf {} \;)
688N/A
688N/Ainstall-error:
851N/A @echo Installing error documents
688N/A @test -d $(errordir) || $(MKINSTALLDIRS) $(errordir)
688N/A @(cd docs/error && cp -rp * $(errordir))
688N/A @(cd $(errordir) && find . -name "CVS" -print | xargs rm -rf {} \;)
688N/A
688N/Ainstall-icons:
688N/A @echo Installing icons
688N/A @test -d $(iconsdir) || $(MKINSTALLDIRS) $(iconsdir)
688N/A @(cd docs/icons && cp -rp * $(iconsdir))
688N/A @(cd $(iconsdir) && find . -name "CVS" -print | xargs rm -rf {} \;)
688N/A
688N/Ainstall-cgi:
688N/A @echo Installing CGIs
688N/A @test -d $(cgidir) || $(MKINSTALLDIRS) $(cgidir)
688N/A @(cd docs/cgi-examples && cp -rp * $(cgidir))
688N/A @(cd $(cgidir) && find . -name "CVS" -print | xargs rm -rf {} \;)
816N/A
875N/Ainstall-other:
875N/A @test -d $(logfiledir) || $(MKINSTALLDIRS) $(logfiledir)
341N/A @for ext in dll x; do \
341N/A file=apachecore.$$ext; \
341N/A if test -f $$file; then \
341N/A cp -p $$file $(bindir); \
341N/A fi; \
341N/A done; \
341N/A file=httpd.dll; \
493N/A if test -f $$file; then \
341N/A cp -p $$file $(bindir); \
341N/A fi;
341N/A
493N/Ainstall-include:
851N/A @echo Installing header files
341N/A @test -d $(includedir) || $(MKINSTALLDIRS) $(includedir)
341N/A @cp -p include/*.h $(srcdir)/include/*.h $(includedir)
341N/A @cp -p $(srcdir)/os/$(OS_DIR)/os.h $(includedir)
341N/A @if test -f $(srcdir)/os/$(OS_DIR)/os-inline.c; then \
341N/A cp -p $(srcdir)/os/$(OS_DIR)/os-inline.c $(includedir); \
493N/A fi;
341N/A @cp -p $(srcdir)/server/mpm/$(MPM_NAME)/*.h $(includedir)
341N/A @cp -p $(srcdir)/modules/dav/main/mod_dav.h $(includedir)
341N/A @cp -p $(srcdir)/modules/filters/mod_include.h $(includedir)
341N/A @cp -p $(srcdir)/modules/http/mod_core.h $(includedir)
493N/A @cp -p $(srcdir)/modules/ssl/*.h $(includedir)
341N/A @cp -p $(srcdir)/srclib/pcre/*.h $(includedir)
851N/A @cp -p $(srcdir)/srclib/apr/include/*.h $(includedir)
851N/A @cp -p $(srcdir)/srclib/apr-util/include/*.h $(includedir)
851N/A @cp -p $(srcdir)/os/$(OS_DIR)/*.h $(includedir)
851N/A @chmod 644 $(includedir)/*.h
851N/A
341N/Ainstall-man:
493N/A @echo Installing man pages
341N/A @test -d $(mandir) || $(MKINSTALLDIRS) $(mandir)
341N/A @test -d $(mandir)/man1 || $(MKINSTALLDIRS) $(mandir)/man1
341N/A @test -d $(mandir)/man8 || $(MKINSTALLDIRS) $(mandir)/man8
341N/A @cp -p docs/man/*.1 $(mandir)/man1
341N/A @cp -p docs/man/*.8 $(mandir)/man8
341N/A
341N/Ainstall-suexec:
493N/A @if test -f $(builddir)/support/suexec; then \
341N/A test -d $(sbindir) || $(MKINSTALLDIRS) $(sbindir); \
341N/A $(INSTALL_PROGRAM) $(srcdir)/support/suexec $(sbindir); \
341N/A chmod 4755 $(sbindir)/suexec; \
341N/A fi
341N/A
493N/Asuexec:
493N/A cd support && make suexec
493N/A
493N/Ainclude $(top_srcdir)/os/os2/core.mk
341N/A