mesa: Add gallium include dirs to more parts of the tree.
authorEric Anholt <eric@anholt.net>
Wed, 11 Feb 2015 22:18:50 +0000 (14:18 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 20 Feb 2015 19:36:34 +0000 (11:36 -0800)
v2: Try to patch up the scons bits.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
12 files changed:
src/glsl/Makefile.am
src/glsl/SConscript
src/mesa/SConscript
src/mesa/drivers/dri/common/Makefile.am
src/mesa/drivers/dri/i915/Makefile.am
src/mesa/drivers/dri/i965/Makefile.am
src/mesa/drivers/dri/nouveau/Makefile.am
src/mesa/drivers/dri/r200/Makefile.am
src/mesa/drivers/dri/radeon/Makefile.am
src/mesa/drivers/dri/swrast/Makefile.am
src/util/Makefile.am
src/util/SConscript

index 5d5cacc32c0cffef600e09a433e9b0ed76f6d224..5a0a643daf2ab3905b17fc3536e75535be5f1b16 100644 (file)
@@ -26,6 +26,8 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src \
        -I$(top_srcdir)/src/mapi \
        -I$(top_srcdir)/src/mesa/ \
+       -I$(top_srcdir)/src/gallium/include \
+       -I$(top_srcdir)/src/gallium/auxiliary \
        -I$(top_srcdir)/src/glsl/glcpp \
        -I$(top_srcdir)/src/glsl/nir \
        -I$(top_srcdir)/src/gtest/include \
index 847e962468541f54961377c4abb8eaaee9659b4f..21c8266a636230b614193aeaf911b7a2d62eb0a8 100644 (file)
@@ -11,6 +11,8 @@ env.Prepend(CPPPATH = [
     '#src',
     '#src/mapi',
     '#src/mesa',
+    '#src/gallium/include',
+    '#src/gallium/auxiliary',
     '#src/glsl',
     '#src/glsl/glcpp',
 ])
index 1ad5f26d8bb970ea2fc90c0b6cfb9d37a353f774..62e81ced1849a0b81905fed38f7954ca5c2e757c 100644 (file)
@@ -15,6 +15,8 @@ env.Append(CPPPATH = [
     '#/src/mapi',
     '#/src/glsl',
     '#/src/mesa',
+    '#/src/gallium/include',
+    '#/src/gallium/auxiliary',
     Dir('../mapi'), # src/mapi build path
     Dir('.'), # src/mesa build path
 ])
index af6f742a001d32d4036d6c2aecaf2a480ab11c17..da8f97a980e21a9dddca8f2d596b35ee0ec2f37d 100644 (file)
@@ -30,6 +30,8 @@ AM_CFLAGS = \
        -I$(top_srcdir)/src/ \
        -I$(top_srcdir)/src/mapi \
        -I$(top_srcdir)/src/mesa/ \
+       -I$(top_srcdir)/src/gallium/include \
+       -I$(top_srcdir)/src/gallium/auxiliary \
        $(DEFINES) \
        $(EXPAT_CFLAGS) \
        $(VISIBILITY_CFLAGS)
index ac49360a9cdc903e7c393dea1a364a80aed64fa4..822f74c2306fd68a9db0ac4fa94c75218a5aef3c 100644 (file)
@@ -28,6 +28,8 @@ AM_CFLAGS = \
        -I$(top_srcdir)/src/ \
        -I$(top_srcdir)/src/mapi \
        -I$(top_srcdir)/src/mesa/ \
+       -I$(top_srcdir)/src/gallium/include \
+       -I$(top_srcdir)/src/gallium/auxiliary \
        -I$(top_srcdir)/src/mesa/drivers/dri/common \
        -I$(top_srcdir)/src/mesa/drivers/dri/intel/server \
        -I$(top_builddir)/src/mesa/drivers/dri/common \
index 53e91fe541273fd3e75a5fb73f784d0bf35ce50b..9230a49308bd68c2464b1686c84d677c8218e1c8 100644 (file)
@@ -28,6 +28,8 @@ AM_CFLAGS = \
        -I$(top_srcdir)/src/ \
        -I$(top_srcdir)/src/mapi \
        -I$(top_srcdir)/src/mesa/ \
+       -I$(top_srcdir)/src/gallium/include \
+       -I$(top_srcdir)/src/gallium/auxiliary \
        -I$(top_srcdir)/src/mesa/drivers/dri/common \
        -I$(top_srcdir)/src/mesa/drivers/dri/intel/server \
        -I$(top_srcdir)/src/gtest/include \
index f302864de90e87fd8ed5f8f2011f5f5580482d0b..61af95a7dbcb911772ab646b334862fb48331a30 100644 (file)
@@ -33,6 +33,8 @@ AM_CFLAGS = \
        -I$(top_srcdir)/src/ \
        -I$(top_srcdir)/src/mapi \
        -I$(top_srcdir)/src/mesa/ \
+       -I$(top_srcdir)/src/gallium/include \
+       -I$(top_srcdir)/src/gallium/auxiliary \
        -I$(top_srcdir)/src/mesa/drivers/dri/common \
        $(DEFINES) \
        $(VISIBILITY_CFLAGS) \
index a156728dde9333c7ce14513d15b8a32ae2b3aade..137d3c85a6f8778b03b1b4113140bb262ca683ec 100644 (file)
@@ -32,6 +32,8 @@ AM_CFLAGS = \
        -I$(top_srcdir)/src/ \
        -I$(top_srcdir)/src/mapi \
        -I$(top_srcdir)/src/mesa/ \
+       -I$(top_srcdir)/src/gallium/include \
+       -I$(top_srcdir)/src/gallium/auxiliary \
        -I$(top_srcdir)/src/mesa/drivers/dri/common \
        -I$(top_srcdir)/src/mesa/drivers/dri/r200/server \
        -I$(top_builddir)/src/mesa/drivers/dri/common \
index 25c48847ed46eeb855d40bf7f5b1d95cc72a62e3..b236aa6b5eef14744ba1ad77aabaef2bfbe9541b 100644 (file)
@@ -33,6 +33,8 @@ AM_CFLAGS = \
        -I$(top_srcdir)/src/ \
        -I$(top_srcdir)/src/mapi \
        -I$(top_srcdir)/src/mesa/ \
+       -I$(top_srcdir)/src/gallium/include \
+       -I$(top_srcdir)/src/gallium/auxiliary \
        -I$(top_srcdir)/src/mesa/drivers/dri/common \
        -I$(top_srcdir)/src/mesa/drivers/dri/radeon/server \
        -I$(top_builddir)/src/mesa/drivers/dri/common \
index 0837b4518ff02d4fd154df7a8a527c88f0d28004..bfc3c10e334e6629102f37be8331e3ae4ea9b19e 100644 (file)
@@ -29,6 +29,8 @@ AM_CFLAGS = \
        -I$(top_srcdir)/src/ \
        -I$(top_srcdir)/src/mapi \
        -I$(top_srcdir)/src/mesa/ \
+       -I$(top_srcdir)/src/gallium/include \
+       -I$(top_srcdir)/src/gallium/auxiliary \
        -I$(top_srcdir)/src/mesa/drivers/dri/common \
        -I$(top_builddir)/src/mesa/drivers/dri/common \
        $(DEFINES) \
index 7512138a892f13462e0438a19d6352520d516c62..9af233059bbcb4f8cf664f258e05486f0e22a1bc 100644 (file)
@@ -31,6 +31,8 @@ libmesautil_la_CPPFLAGS = \
        -I$(top_srcdir)/src \
        -I$(top_srcdir)/src/mapi \
        -I$(top_srcdir)/src/mesa \
+       -I$(top_srcdir)/src/gallium/include \
+       -I$(top_srcdir)/src/gallium/auxiliary \
        $(SHA1_CFLAGS) \
        $(VISIBILITY_CFLAGS)
 
index 28fedd80cdd04ecf4b4ac25c57b505facd4b3fe0..84bd7a1e1c46f2922929bc6d5212f0d8cdbb5bfb 100644 (file)
@@ -11,6 +11,8 @@ env.Prepend(CPPPATH = [
     '#src',
     '#src/mapi',
     '#src/mesa',
+    '#src/gallium/include',
+    '#src/gallium/auxiliary',
     '#src/util',
 ])