Makefile.in revision 156e4036ec6e4b5d858025a1af72403c0eb15d9a
06924437019f9871bc4ee49748511130548b7d35rbbSUBDIRS = ap lib main modules os support
6e24b94d1e7122e128d9c19b3dff0e49475f5d37rbbPROGRAM_NAME = $(progname)
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaPROGRAM_LDADD = $(EXTRA_LDFLAGS) $(PROGRAM_DEPENDENCIES) $(EXTRA_LIBS)
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaPROGRAM_DEPENDENCIES = \
6ca0e6973c8176100f4a426444823ae5e777e28fsascha $(BUILTIN_LIBS) \
6ca0e6973c8176100f4a426444823ae5e777e28fsascha $(MPM_LIB) \
a3658aa5c00f07bf898d46fdddae880c52424872sascha os/$(OS_DIR)/libos.la \
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaPROGRAMS = $(PROGRAM_NAME)
6ca0e6973c8176100f4a426444823ae5e777e28fsaschatargets = $(PROGRAMS)
0b483bc2a16712efe6aa95e06a57ec2c1cb956c7saschaphony_targets = $(srcdir)/buildmark.c
21609e0ec0c954bc03e15039b472c5d687c329cftrawickinstall_targets = install-conf install-htdocs install-icons install-other \
2a67190265146d3e80b1b0c9ef04f181c8db7f64rbb install-cgi install-include install-support
bc26992c7172dff00bc89fbfb5f0c6e3c4d6a261rbbDISTCLEANFILES = include/config_auto.h modules.c aclocal.m4 buildmk.stamp \
bc26992c7172dff00bc89fbfb5f0c6e3c4d6a261rbb configure generated_lists include/ap_config_auto.h \
bc26992c7172dff00bc89fbfb5f0c6e3c4d6a261rbb include/ap_config_auto.h.in include/ap_config_path.h install-sh
2795c373a9fb112dc77576c1dfc23119f02d598amanojinclude $(top_srcdir)/build/rules.mk
2795c373a9fb112dc77576c1dfc23119f02d598amanojinclude $(top_srcdir)/build/program.mk
6ca0e6973c8176100f4a426444823ae5e777e28fsaschainstall-conf:
6ca0e6973c8176100f4a426444823ae5e777e28fsascha @echo Installing configuration files
7bfe076b680e6e591add6cdc754ce9a6910682a2sascha @test -d $(sysconfdir) || $(MKINSTALLDIRS) $(sysconfdir)
6ca0e6973c8176100f4a426444823ae5e777e28fsascha @cd $(srcdir)/../conf; \
6ca0e6973c8176100f4a426444823ae5e777e28fsascha for i in mime.types magic; do \
6ca0e6973c8176100f4a426444823ae5e777e28fsascha $(INSTALL_DATA) $$i $(sysconfdir); \
6ca0e6973c8176100f4a426444823ae5e777e28fsascha for i in *-dist; do \
6ca0e6973c8176100f4a426444823ae5e777e28fsascha sed -e 's#@@ServerRoot@@#$(prefix)#g' \
6a1c919219ae7e3382fb22f1c4cf89f11b4becffcoar -e 's#@@Port@@#$(PORT)#g' \
6ca0e6973c8176100f4a426444823ae5e777e28fsascha < $$i > $(sysconfdir)/$$i; \
6ca0e6973c8176100f4a426444823ae5e777e28fsascha chmod 0644 $(sysconfdir)/$$i; \
6ca0e6973c8176100f4a426444823ae5e777e28fsascha file=`echo $$i|sed s/-dist//`; \
46a06e5f359747d9b673ea77fcef89a851192e18rbb if [ "$$file" = "httpd.conf" ]; then \
46a06e5f359747d9b673ea77fcef89a851192e18rbb file=`echo $$file|sed s/.*.conf/$(PROGRAM_NAME).conf/`; \
6ca0e6973c8176100f4a426444823ae5e777e28fsascha if test "$$file" != "$$i" && test ! -f $(sysconfdir)/$$file; then \
6ca0e6973c8176100f4a426444823ae5e777e28fsascha $(INSTALL_DATA) $(sysconfdir)/$$i $(sysconfdir)/$$file; \
02a2457c82c9f4e5e95e6e97d249e8a20c4154d6saschahtdocs-srcdir = $(srcdir)/../htdocs
26d4668b602c703d63655271b1caaa420bf7a572rbbdocs: include/*.h
26d4668b602c703d63655271b1caaa420bf7a572rbb lib/apr/helpers/scandoc -ihelpers/default.pl -p./docs/api/ ./include/*.h
6ca0e6973c8176100f4a426444823ae5e777e28fsaschainstall-htdocs:
6ca0e6973c8176100f4a426444823ae5e777e28fsascha @echo Installing HTML documents
7bfe076b680e6e591add6cdc754ce9a6910682a2sascha @test -d $(htdocsdir) || $(MKINSTALLDIRS) $(htdocsdir)
02a2457c82c9f4e5e95e6e97d249e8a20c4154d6sascha @test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(htdocsdir))
6ca0e6973c8176100f4a426444823ae5e777e28fsaschainstall-icons:
6ca0e6973c8176100f4a426444823ae5e777e28fsascha @echo Installing icons
7bfe076b680e6e591add6cdc754ce9a6910682a2sascha @test -d $(iconsdir) || $(MKINSTALLDIRS) $(iconsdir)
87193a6150fcb830b68d79fdbb3f068cb3724677sascha @(cd $(srcdir)/../icons && cp -rp * $(iconsdir))
6ca0e6973c8176100f4a426444823ae5e777e28fsaschainstall-cgi:
6ca0e6973c8176100f4a426444823ae5e777e28fsascha @echo Installing CGIs
7bfe076b680e6e591add6cdc754ce9a6910682a2sascha @test -d $(cgidir) || $(MKINSTALLDIRS) $(cgidir)
87193a6150fcb830b68d79fdbb3f068cb3724677sascha @(cd $(srcdir)/../cgi-bin && cp -rp * $(cgidir))
2a67190265146d3e80b1b0c9ef04f181c8db7f64rbbinstall-support:
2a67190265146d3e80b1b0c9ef04f181c8db7f64rbb @echo Installing Support Binaries
7bfe076b680e6e591add6cdc754ce9a6910682a2sascha @test -d $(bindir) || $(MKINSTALLDIRS) $(bindir)
87193a6150fcb830b68d79fdbb3f068cb3724677sascha @cp -p $(srcdir)/support/httpd.exp $(bindir)
87193a6150fcb830b68d79fdbb3f068cb3724677sascha @cp -p $(builddir)/support/htpasswd $(bindir)
87193a6150fcb830b68d79fdbb3f068cb3724677sascha @cp -p $(builddir)/support/htdigest $(bindir)
87193a6150fcb830b68d79fdbb3f068cb3724677sascha @cp -p $(builddir)/support/rotatelogs $(bindir)
87193a6150fcb830b68d79fdbb3f068cb3724677sascha @cp -p $(builddir)/support/logresolve $(bindir)
87193a6150fcb830b68d79fdbb3f068cb3724677sascha @cp -p $(builddir)/support/ab $(bindir)
6ca0e6973c8176100f4a426444823ae5e777e28fsaschainstall-other:
7bfe076b680e6e591add6cdc754ce9a6910682a2sascha @test -d $(logdir) || $(MKINSTALLDIRS) $(logdir)
6cb7893a671cebe32dd0455ba79781a4834e141egregames @for ext in dll x; do \
6cb7893a671cebe32dd0455ba79781a4834e141egregames file=apachecore.$$ext; \
6cb7893a671cebe32dd0455ba79781a4834e141egregames if test -f $$file; then \
6cb7893a671cebe32dd0455ba79781a4834e141egregames cp -p $$file $(bindir); \
6ca0e6973c8176100f4a426444823ae5e777e28fsaschainstall-include:
6ca0e6973c8176100f4a426444823ae5e777e28fsascha @echo Installing header files
7bfe076b680e6e591add6cdc754ce9a6910682a2sascha @test -d $(includedir) || $(MKINSTALLDIRS) $(includedir)
7bfe076b680e6e591add6cdc754ce9a6910682a2sascha @test -d $(includedir)/xml || $(MKINSTALLDIRS) $(includedir)/xml
7bfe076b680e6e591add6cdc754ce9a6910682a2sascha @test -d $(includedir)/apr || $(MKINSTALLDIRS) $(includedir)/apr
87193a6150fcb830b68d79fdbb3f068cb3724677sascha @cp -p include/*.h $(srcdir)/include/*.h $(includedir)
bbd84c2a95afbca61ef7897e2fb8e897e4682f9drbb @cp -p $(srcdir)/os/$(OS_DIR)/os.h $(includedir)
156e4036ec6e4b5d858025a1af72403c0eb15d9adreid @if test -f $(srcdir)/os/$OSDIR/os-inline.c; then \
156e4036ec6e4b5d858025a1af72403c0eb15d9adreid cp -p $(srcdir)/os/$(OS_DIR)/os-inline.c $(includedir); \
b6d830878cedf541e64b399766a38ffc5d8edf05gstein @cp -p $(srcdir)/modules/dav/main/mod_dav.h $(includedir)
87193a6150fcb830b68d79fdbb3f068cb3724677sascha @cp -p $(srcdir)/lib/expat-lite/*.h $(includedir)/xml
87193a6150fcb830b68d79fdbb3f068cb3724677sascha @cp -p lib/apr/include/*.h $(srcdir)/lib/apr/include/*.h $(includedir)/apr
6ca0e6973c8176100f4a426444823ae5e777e28fsascha @chmod 644 $(includedir)/*.h $(includedir)/xml/*.h $(includedir)/apr/*.h