Changes with Apache 2.0.24-dev
+ *) Tweak server/Makefile so that the rules for generating exports.c
+ are compatible with make utilities which don't expand wildcards
+ in a dependency list (e.g., OS/390 make, certain levels of GNU
+ make). [Jeff Trawick]
+
*) Install the SSL headers. [John Sterling <sterling@covalent.net>]
*) Begin to sanitize the MPM configuration directives. Now, all
util_filter.c exports.c buildmark.c scoreboard.c \
error_bucket.c protocol.c core.c request.c
-TARGETS = $(LTLIBRARY_NAME) $(CORE_IMPLIB_FILE) export_vars.h httpd.exp
+TARGETS = delete-exports $(LTLIBRARY_NAME) $(CORE_IMPLIB_FILE) export_vars.h httpd.exp
include $(top_srcdir)/build/rules.mk
include $(top_srcdir)/build/library.mk
$(top_srcdir)/srclib/apr/include/*.h \
$(top_srcdir)/srclib/apr-util/include/*.h
-exports.c: $(EXPORT_FILES)
+delete-exports:
+ @if test -f exports.c; then \
+ headers="`find $(top_srcdir)/include/*.h -newer exports.c`" ; \
+ if test -n "$$headers"; then \
+ echo Found newer headers. Will rebuild exports.c. ; \
+ echo rm -f exports.c ; \
+ rm -f exports.c ; \
+ fi \
+ fi
+
+exports.c:
$(AWK) -f $(top_srcdir)/build/make_exports.awk $(EXPORT_FILES) > $@
export_vars.h: