Commit c29069e4 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

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).


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90167 13f79535-47bb-0310-9956-ffa450edef68
parent ea1d79bc
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
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
+12 −2
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ LTLIBRARY_SOURCES = \
        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
@@ -36,7 +36,17 @@ EXPORT_FILES = $(top_srcdir)/include/*.h \
       $(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: