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
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
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: