- use DISTCLEAN_TARGETS and CLEAN_TARGETS everywhere (to be consistent
with other macros and with APR)
- warn that aclocal.m4 is a generated file
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87597
13f79535-47bb-0310-9956-
ffa450edef68
phony_targets = $(srcdir)/buildmark.c
install_targets = install-conf install-htdocs install-icons install-other \
install-cgi install-include install-support install-suexec
-DISTCLEANFILES = include/config_auto.h modules.c aclocal.m4 buildmk.stamp \
+DISTCLEAN_TARGETS = include/config_auto.h modules.c aclocal.m4 buildmk.stamp \
configure generated_lists include/ap_config_auto.h \
- include/ap_config_auto.h.in include/ap_config_path.h install-sh
+ include/ap_config_auto.h.in include/ap_config_path.h install-sh \
+ missing mkinstalldirs
include $(top_srcdir)/build/rules.mk
include $(top_srcdir)/build/program.mk
])dnl
dnl
AC_DEFUN(APACHE_MODPATH_FINISH,[
+ echo "DISTCLEAN_TARGETS = modules.mk" >> $modpath_current/modules.mk
echo "static = $modpath_static" >> $modpath_current/modules.mk
echo "shared = $modpath_shared" >> $modpath_current/modules.mk
if test ! -z "$modpath_static" -o ! -z "$modpath_shared"; then
aclocal.m4: acinclude.m4 srclib/apr/apr_common.m4 srclib/apr/hints.m4 $(libtool_m4)
@echo rebuilding $@
- @cat acinclude.m4 $(libtool_m4) > $@
+ @echo "dnl THIS FILE IS AUTOMATICALLY GENERATED BY buildconf" >$@
+ @echo "dnl edits here will be lost" >>$@
+ @cat acinclude.m4 $(libtool_m4) >> $@
$(LT_TARGETS):
libtoolize $(AMFLAGS) --force
clean: clean-recursive clean-x
clean-x:
- rm -f $(targets) *.slo *.lo *.la *.o $(CLEANFILES)
+ rm -f $(targets) *.slo *.lo *.la *.o $(CLEAN_TARGETS)
rm -rf .libs
distclean: distclean-recursive clean-x
rm -f config.cache config.log config.status config_vars.mk libtool \
- stamp-h Makefile shlibtool .deps $(DISTCLEANFILES)
+ stamp-h Makefile shlibtool .deps $(DISTCLEAN_TARGETS)
include $(builddir)/.deps
TARGET_EXPORTS = apache.exports
-CLEANFILES = gen_test_char gen_uri_delims test_char.h uri_delims.h \
+CLEAN_TARGETS = gen_test_char gen_uri_delims test_char.h uri_delims.h \
$(TARGET_EXPORTS)
SUBDIRS = mpm
LTLIBRARY_NAME = libpcre.la
LTLIBRARY_SOURCES = maketables.c get.c study.c pcre.c pcreposix.c
-CLEANFILES = dftables chartables.c
-DISTCLEANFILES = config.h $(CLEANFILES)
+CLEAN_TARGETS = dftables chartables.c
+DISTCLEAN_TARGETS = pcre.h pcre-config config.h $(CLEAN_TARGETS)
include $(top_srcdir)/build/ltlib.mk
+DISTCLEAN_TARGETS = apxs apachectl
PROGRAMS = htpasswd htdigest rotatelogs logresolve ab
targets = $(PROGRAMS)