Makefile.in revision cdb58be93a9cbeaba1ebc759b48aa8ed519675a9
3980N/A
6006N/ASUBDIRS = srclib os server modules support
4490N/A
4490N/APROGRAM_NAME = $(progname)
4490N/APROGRAM_SOURCES = modules.c
4490N/APROGRAM_LDADD = $(EXTRA_LDFLAGS) $(HTTPD_LDFLAGS) \
4490N/A $(PROGRAM_DEPENDENCIES) $(EXTRA_LIBS)
4490N/APROGRAM_DEPENDENCIES = \
4490N/A $(BUILTIN_LIBS) \
4490N/A $(MPM_LIB) \
4490N/A server/libmain.la \
4490N/A os/$(OS_DIR)/libos.la \
4490N/A $(AP_LIBS)
5223N/A
5223N/APROGRAMS = $(PROGRAM_NAME)
5223N/Atargets = $(PROGRAMS) $(shared_build) $(other_targets)
5223N/Aphony_targets = $(srcdir)/buildmark.c
5223N/Ainstall_targets = install-conf install-htdocs install-icons install-other \
5223N/A install-cgi install-include install-suexec
4490N/ADISTCLEAN_TARGETS = include/ap_config_auto.h include/ap_config_path.h \
4490N/A modules.c libtool
4490N/AEXTRACLEAN_TARGETS = configure include/ap_config_auto.h.in \
4490N/A generated_lists
4490N/A
4490N/Ainclude $(top_srcdir)/build/rules.mk
4490N/Ainclude $(top_srcdir)/build/program.mk
4490N/A
4490N/Ainstall-conf:
4490N/A @echo Installing configuration files
4490N/A @test -d $(sysconfdir) || $(MKINSTALLDIRS) $(sysconfdir)
4490N/A @cd docs/conf; \
4490N/A for i in mime.types magic; do \
4490N/A $(INSTALL_DATA) $$i $(sysconfdir); \
4490N/A done; \
4490N/A for i in *-std*; do \
4490N/A sed -e 's#@@ServerRoot@@#$(prefix)#g' \
4490N/A -e 's#@@Port@@#$(PORT)#g' \
4490N/A < $$i > $(sysconfdir)/$$i; \
4490N/A chmod 0644 $(sysconfdir)/$$i; \
4490N/A file=`echo $$i|sed s/-std//`; \
4490N/A if [ "$$file" = "httpd.conf" ]; then \
4490N/A file=`echo $$file|sed s/.*.conf/$(PROGRAM_NAME).conf/`; \
4490N/A fi; \
4490N/A if test "$$file" != "$$i" && test ! -f $(sysconfdir)/$$file; then \
4490N/A $(INSTALL_DATA) $(sysconfdir)/$$i $(sysconfdir)/$$file; \
4490N/A fi; \
4490N/A done
4490N/A
4490N/Ahtdocs-srcdir = docs/docroot
4490N/A
4490N/Adocs::
4490N/A mkdir -p ./docs/api
4490N/A srclib/apr/build/scandoc.pl -i./build/default.pl -p./docs/api/ ./include/*.h
4490N/A
4490N/Adox::
4490N/A $(HOME)/software/unpacked/doxygen-1.2.5/bin/doxygen docs/doxygen.conf
4490N/A
4490N/Ainstall-htdocs:
4490N/A @echo Installing HTML documents
4490N/A @test -d $(htdocsdir) || $(MKINSTALLDIRS) $(htdocsdir)
4490N/A @test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(htdocsdir))
4490N/A @test -d $(htdocsdir)/manual || $(MKINSTALLDIRS) $(htdocsdir)/manual
4490N/A @test -d docs/manual && (cd docs/manual && cp -rp * $(htdocsdir)/manual)
4490N/A @(cd $(htdocsdir) && find . -name "CVS" -print | xargs rm -rf {} \;)
4490N/A
4490N/Ainstall-icons:
4490N/A @echo Installing icons
4490N/A @test -d $(iconsdir) || $(MKINSTALLDIRS) $(iconsdir)
4490N/A @(cd docs/icons && cp -rp * $(iconsdir))
4490N/A @(cd $(iconsdir) && find . -name "CVS" -print | xargs rm -rf {} \;)
4490N/A
4490N/Ainstall-cgi:
4490N/A @echo Installing CGIs
4490N/A @test -d $(cgidir) || $(MKINSTALLDIRS) $(cgidir)
4490N/A @(cd docs/cgi-examples && cp -rp * $(cgidir))
4490N/A @(cd $(cgidir) && find . -name "CVS" -print | xargs rm -rf {} \;)
4490N/A
4490N/Ainstall-other:
4490N/A @test -d $(logfiledir) || $(MKINSTALLDIRS) $(logfiledir)
4490N/A @for ext in dll x; do \
4490N/A file=apachecore.$$ext; \
4490N/A if test -f $$file; then \
4490N/A cp -p $$file $(bindir); \
4490N/A fi; \
4490N/A done;
4490N/A file=httpd.dll; \
4490N/A if test -f $$file; then \
4490N/A cp -p $$file $(bindir); \
4490N/A fi;
4490N/A
4490N/Ainstall-include:
4490N/A @echo Installing header files
4490N/A @test -d $(includedir) || $(MKINSTALLDIRS) $(includedir)
4490N/A @cp -p include/*.h $(srcdir)/include/*.h $(includedir)
4490N/A @cp -p $(srcdir)/os/$(OS_DIR)/os.h $(includedir)
4490N/A @if test -f $(srcdir)/os/$(OS_DIR)/os-inline.c; then \
4490N/A cp -p $(srcdir)/os/$(OS_DIR)/os-inline.c $(includedir); \
4490N/A fi;
4490N/A @cp -p $(srcdir)/server/mpm/$(MPM_NAME)/*.h $(includedir)
4490N/A @cp -p $(srcdir)/modules/dav/main/mod_dav.h $(includedir)
4490N/A @cp -p $(srcdir)/modules/filters/mod_include.h $(includedir)
4490N/A @cp -p $(srcdir)/srclib/pcre/*.h $(includedir)
4490N/A @cp -p $(srcdir)/srclib/apr/include/*.h $(includedir)
4490N/A @cp -p $(srcdir)/srclib/apr-util/include/*.h $(includedir)
4490N/A @cp -p $(srcdir)/os/$(OS_DIR)/*.h $(includedir)
4490N/A @chmod 644 $(includedir)/*.h
4490N/A
4490N/Ainstall-suexec:
4490N/A @if test -f $(builddir)/support/suexec; then \
4490N/A test -d $(sbindir) || $(MKINSTALLDIRS) $(sbindir); \
4490N/A cp -p $(srcdir)/support/suexec $(sbindir); \
4490N/A chmod 4755 $(sbindir)/suexec; \
4490N/A fi
4490N/A
4490N/Asuexec:
4490N/A cd support && make suexec
4490N/A
4490N/Ainclude $(top_srcdir)/os/os2/core.mk
4490N/A