Makefile.in revision b04af690135a10f6a03ecdc208b0db7f106e4ca2
97a9a944b5887e91042b019776c41d5dd74557aferikabeleSUBDIRS = srclib modules os server support
8c81ebbdeed67059e7a1106d7c617543e901c3abyoshikiPROGRAM_NAME = $(progname)
8c81ebbdeed67059e7a1106d7c617543e901c3abyoshikiPROGRAM_SOURCES = modules.c
8c81ebbdeed67059e7a1106d7c617543e901c3abyoshikiPROGRAM_LDADD = $(EXTRA_LDFLAGS) $(PROGRAM_DEPENDENCIES) $(EXTRA_LIBS)
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4ndPROGRAM_DEPENDENCIES = \
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd $(BUILTIN_LIBS) \
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd $(MPM_LIB) \
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd os/$(OS_DIR)/libos.la \
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd $(AP_LIBS)
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4ndPROGRAMS = $(PROGRAM_NAME)
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4ndtargets = $(PROGRAMS) $(other_targets)
52fff662005b1866a3ff09bb6c902800c5cc6dedjerenkrantzphony_targets = $(srcdir)/buildmark.c
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4ndinstall_targets = install-conf install-htdocs install-icons install-other \
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd install-cgi install-include install-support install-suexec
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4ndDISTCLEAN_TARGETS = include/config_auto.h modules.c aclocal.m4 buildmk.stamp \
4b5981e276e93df97c34e4da05ca5cf8bbd937dand configure generated_lists include/ap_config_auto.h \
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd include/ap_config_auto.h.in include/ap_config_path.h install-sh \
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd missing mkinstalldirs
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7ndinclude $(top_srcdir)/build/rules.mk
7f5b59ccc63c0c0e3e678a168f09ee6a2f51f9d0ndinclude $(top_srcdir)/build/program.mk
e1e8390280254f7f0580d701e583f670643d4f3fnilguninstall-conf:
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd @echo Installing configuration files
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd @test -d $(sysconfdir) || $(MKINSTALLDIRS) $(sysconfdir)
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd for i in mime.types magic; do \
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd $(INSTALL_DATA) $$i $(sysconfdir); \
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd for i in *-std*; do \
8c81ebbdeed67059e7a1106d7c617543e901c3abyoshiki sed -e 's#@@ServerRoot@@#$(prefix)#g' \
8c81ebbdeed67059e7a1106d7c617543e901c3abyoshiki -e 's#@@Port@@#$(PORT)#g' \
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd < $$i > $(sysconfdir)/$$i; \
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd chmod 0644 $(sysconfdir)/$$i; \
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd file=`echo $$i|sed s/-std//`; \
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd if [ "$$file" = "httpd.conf" ]; then \
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd file=`echo $$file|sed s/.*.conf/$(PROGRAM_NAME).conf/`; \
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd if test "$$file" != "$$i" && test ! -f $(sysconfdir)/$$file; then \
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd $(INSTALL_DATA) $(sysconfdir)/$$i $(sysconfdir)/$$file; \
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4ndhtdocs-srcdir = docs/docroot
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd srclib/apr/build/scandoc -isrclib/apr/build/default.pl -p./docs/api/ ./include/*.h
f61ec47ec494705bd2d02b5b6fe021e5c193f2c8noodlinstall-htdocs:
f61ec47ec494705bd2d02b5b6fe021e5c193f2c8noodl @echo Installing HTML documents
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd @test -d $(htdocsdir) || $(MKINSTALLDIRS) $(htdocsdir)
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd @test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(htdocsdir))
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd @test -d $(htdocsdir)/manual || $(MKINSTALLDIRS) $(htdocsdir)/manual
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd @test -d docs/manual && (cd docs/manual && cp -rp * $(htdocsdir)/manual)
06ba4a61654b3763ad65f52283832ebf058fdf1cslive @(cd $(htdocsdir) && find . -name "CVS" -print | xargs rm -rf {} \;)
06ba4a61654b3763ad65f52283832ebf058fdf1csliveinstall-icons:
06ba4a61654b3763ad65f52283832ebf058fdf1cslive @echo Installing icons
06ba4a61654b3763ad65f52283832ebf058fdf1cslive @test -d $(iconsdir) || $(MKINSTALLDIRS) $(iconsdir)
06ba4a61654b3763ad65f52283832ebf058fdf1cslive @(cd docs/icons && cp -rp * $(iconsdir))
06ba4a61654b3763ad65f52283832ebf058fdf1cslive @(cd $(iconsdir) && find . -name "CVS" -print | xargs rm -rf {} \;)
06ba4a61654b3763ad65f52283832ebf058fdf1csliveinstall-cgi:
06ba4a61654b3763ad65f52283832ebf058fdf1cslive @echo Installing CGIs
06ba4a61654b3763ad65f52283832ebf058fdf1cslive @test -d $(cgidir) || $(MKINSTALLDIRS) $(cgidir)
06ba4a61654b3763ad65f52283832ebf058fdf1cslive @(cd docs/cgi-examples && cp -rp * $(cgidir))
06ba4a61654b3763ad65f52283832ebf058fdf1cslive @(cd $(cgidir) && find . -name "CVS" -print | xargs rm -rf {} \;)
06ba4a61654b3763ad65f52283832ebf058fdf1csliveinstall-support:
06ba4a61654b3763ad65f52283832ebf058fdf1cslive @echo Installing Support Binaries
06ba4a61654b3763ad65f52283832ebf058fdf1cslive @test -d $(bindir) || $(MKINSTALLDIRS) $(bindir)
06ba4a61654b3763ad65f52283832ebf058fdf1cslive @cp -p $(srcdir)/support/httpd.exp $(bindir)
06ba4a61654b3763ad65f52283832ebf058fdf1cslive @cp -p $(builddir)/support/htpasswd $(bindir)
06ba4a61654b3763ad65f52283832ebf058fdf1cslive @cp -p $(builddir)/support/htdigest $(bindir)
06ba4a61654b3763ad65f52283832ebf058fdf1cslive @cp -p $(builddir)/support/rotatelogs $(bindir)
06ba4a61654b3763ad65f52283832ebf058fdf1cslive @cp -p $(builddir)/support/logresolve $(bindir)
06ba4a61654b3763ad65f52283832ebf058fdf1cslive @cp -p $(builddir)/support/ab $(bindir)
06ba4a61654b3763ad65f52283832ebf058fdf1cslive @cp -p $(builddir)/support/apachectl $(bindir)
06ba4a61654b3763ad65f52283832ebf058fdf1cslive chmod 755 $(bindir)/apachectl
06ba4a61654b3763ad65f52283832ebf058fdf1cslive @if test -f $(builddir)/support/apxs; then \
06ba4a61654b3763ad65f52283832ebf058fdf1cslive cp -p $(builddir)/support/apxs $(bindir); \
06ba4a61654b3763ad65f52283832ebf058fdf1cslive chmod 755 $(bindir)/apxs; \
06ba4a61654b3763ad65f52283832ebf058fdf1csliveinstall-other:
06ba4a61654b3763ad65f52283832ebf058fdf1cslive @test -d $(logdir) || $(MKINSTALLDIRS) $(logdir)
82178a3043043b8813c0d7288a06ca1b7d110d4atakashi @for ext in dll x; do \
06ba4a61654b3763ad65f52283832ebf058fdf1cslive file=apachecore.$$ext; \
06ba4a61654b3763ad65f52283832ebf058fdf1cslive if test -f $$file; then \
e1e8390280254f7f0580d701e583f670643d4f3fnilgun cp -p $$file $(bindir); \
e1e8390280254f7f0580d701e583f670643d4f3fnilguninstall-include:
e1e8390280254f7f0580d701e583f670643d4f3fnilgun @echo Installing header files
e1e8390280254f7f0580d701e583f670643d4f3fnilgun @test -d $(includedir) || $(MKINSTALLDIRS) $(includedir)
e1e8390280254f7f0580d701e583f670643d4f3fnilgun @cp -p include/*.h $(srcdir)/include/*.h $(includedir)
e1e8390280254f7f0580d701e583f670643d4f3fnilgun @cp -p $(srcdir)/os/$(OS_DIR)/os.h $(includedir)
e1e8390280254f7f0580d701e583f670643d4f3fnilgun @if test -f $(srcdir)/os/$(OS_DIR)/os-inline.c; then \
e1e8390280254f7f0580d701e583f670643d4f3fnilgun cp -p $(srcdir)/os/$(OS_DIR)/os-inline.c $(includedir); \
e1e8390280254f7f0580d701e583f670643d4f3fnilgun @cp -p $(srcdir)/server/mpm/$(MPM_NAME)/*.h $(includedir)
e1e8390280254f7f0580d701e583f670643d4f3fnilgun @cp -p $(srcdir)/modules/dav/main/mod_dav.h $(includedir)
e1e8390280254f7f0580d701e583f670643d4f3fnilgun @cp -p $(srcdir)/modules/filters/mod_include.h $(includedir)
e1e8390280254f7f0580d701e583f670643d4f3fnilgun @cp -p $(srcdir)/srclib/expat-lite/*.h $(includedir)
e1e8390280254f7f0580d701e583f670643d4f3fnilgun @cp -p $(srcdir)/srclib/pcre/*.h $(includedir)
e1e8390280254f7f0580d701e583f670643d4f3fnilgun @cp -p $(srcdir)/srclib/apr/include/*.h $(includedir)
e1e8390280254f7f0580d701e583f670643d4f3fnilgun @cp -p $(srcdir)/srclib/apr-util/include/*.h $(includedir)
e1e8390280254f7f0580d701e583f670643d4f3fnilgun @cp -p $(srcdir)/os/$(OS_DIR)/*.h $(includedir)
e1e8390280254f7f0580d701e583f670643d4f3fnilgun @chmod 644 $(includedir)/*.h
e1e8390280254f7f0580d701e583f670643d4f3fnilguninstall-suexec:
e1e8390280254f7f0580d701e583f670643d4f3fnilgun @if test -f $(builddir)/support/suexec; then \
e1e8390280254f7f0580d701e583f670643d4f3fnilgun test -d $(sbindir) || $(MKINSTALLDIRS) $(sbindir); \
06ba4a61654b3763ad65f52283832ebf058fdf1cslive cp -p $(srcdir)/support/suexec $(sbindir); \
3a6531f1fd50efd78381e5800802a1449096781eslive chmod 4755 $(sbindir)/suexec; \
3a6531f1fd50efd78381e5800802a1449096781eslive cd support && make suexec