summaryrefslogtreecommitdiffstats
path: root/src/glx/apple
diff options
context:
space:
mode:
authorChristopher James Halse Rogers <[email protected]>2012-07-19 12:30:06 +1000
committerMatt Turner <[email protected]>2012-08-13 12:24:04 -0700
commitb2ecaab7ad671f97840867c26869e0accf25592c (patch)
treeb1cf9836bc455fc751650c86a6221e1e7e0f5307 /src/glx/apple
parent4e087de51ad0e7ba4a7199d3664e1d096f8dc510 (diff)
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 <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Signed-off-by: Christopher James Halse Rogers <[email protected]> Signed-off-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glx/apple')
-rw-r--r--src/glx/apple/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glx/apple/Makefile b/src/glx/apple/Makefile
index 35edb09ad5b..ef12eb0e299 100644
--- a/src/glx/apple/Makefile
+++ b/src/glx/apple/Makefile
@@ -1,4 +1,8 @@
TOP = ../../..
+top_builddir = $(TOP)
+# This can be a filthy lie. But it doesn't currently build out-of-tree
+# anyway, so it's no worse than what we've got now.
+top_srcdir = $(TOP)
include $(TOP)/configs/current