build: fix location of generated files in src/mesa (v4)
authorChristopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Thu, 19 Jul 2012 02:30:06 +0000 (12:30 +1000)
committerMatt Turner <mattst88@gmail.com>
Mon, 13 Aug 2012 19:24:04 +0000 (12:24 -0700)
commitb2ecaab7ad671f97840867c26869e0accf25592c
treeb1cf9836bc455fc751650c86a6221e1e7e0f5307
parent4e087de51ad0e7ba4a7199d3664e1d096f8dc510
build: fix location of generated files in src/mesa (v4)

Also fix include paths for the generated headers.

v2: Switch to using self-explanatory BUILDDIR/SRCDIR defined from
    top_builddir/top_srcdir rather than the ambiguous TOP.
v3: Add both top_builddir and top_srcdir to include flags for mesa asm.
    These rely on both in-tree and build-time-generated includes.
v4: Rebased on top of 948c8f502a.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
src/glx/apple/Makefile
src/mesa/Makefile.am
src/mesa/libdricore/Makefile.am
src/mesa/sources.mak