]> granicus.if.org Git - apache/commitdiff
Fix recent exports.c breakage by referencing exports.c as being in
authorJustin Erenkrantz <jerenkrantz@apache.org>
Tue, 8 Oct 2002 15:12:43 +0000 (15:12 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Tue, 8 Oct 2002 15:12:43 +0000 (15:12 +0000)
top_builddir rather than top_srcdir.

For VPATH builds, we must treat exports.c as being in the build tree rather
than in the source tree.  Otherwise, it won't be regenerated properly.

(FreeBSD's make does not require the explicit path, so I'm not sure why this
change was made at all.)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97144 13f79535-47bb-0310-9956-ffa450edef68

server/Makefile.in

index ff90fd06288693b02634307554826882532cf6d0..ab8ddd779099c8cda7c319ec9b0a58010d27847e 100644 (file)
@@ -13,8 +13,8 @@ LTLIBRARY_SOURCES = \
        util_script.c util_md5.c util_cfgtree.c util_ebcdic.c util_time.c \
        rfc1413.c connection.c listen.c \
        mpm_common.c util_charset.c util_debug.c util_xml.c \
-       util_filter.c $(top_srcdir)/server/exports.c buildmark.c scoreboard.c \
-       error_bucket.c protocol.c core.c request.c provider.c
+       util_filter.c $(top_builddir)/server/exports.c buildmark.c \
+       scoreboard.c error_bucket.c protocol.c core.c request.c provider.c
 
 TARGETS = delete-exports $(LTLIBRARY_NAME) $(CORE_IMPLIB_FILE) export_vars.h httpd.exp
 
@@ -47,7 +47,7 @@ delete-exports:
        fi
 
 # full path required to keep BSD make happy
-$(top_srcdir)/server/exports.c:
+$(top_builddir)/server/exports.c:
        $(AWK) -f $(top_srcdir)/build/make_exports.awk $(EXPORT_FILES) > $@
 
 export_vars.h: