summaryrefslogtreecommitdiff
path: root/src/glsl/tests/Makefile.am
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2012-10-25 11:55:07 -0700
committerMatt Turner <mattst88@gmail.com>2012-10-25 13:31:24 -0700
commit67f1e7bf5f5d1482cb8684dd5a405b7bab5b1f34 (patch)
treeeda0591866808574650344f25456e2838d6653dd /src/glsl/tests/Makefile.am
parentd654afd89211f15a2d7ea4c7de66b9c7f5dc8ea1 (diff)
src/glsl/tests/Makefile.am: Specify -I... in AM_CPPFLAGS
When specifying per-target CFLAGS (e.g., ralloc_test_CFLAGS) AM_CFLAGS are not used. AM_CPPFLAGS should be used for includes anyway. Fixes a build problem since 41b14d125: CC ralloc_test-ralloc.o In file included from ../../../src/glsl/ralloc.c:42:0: ../../../src/glsl/ralloc.h:57:27: fatal error: main/compiler.h: No such file or directory Acked-by: Paul Berry <stereotype441@gmail.com>
Diffstat (limited to 'src/glsl/tests/Makefile.am')
-rw-r--r--src/glsl/tests/Makefile.am5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/glsl/tests/Makefile.am b/src/glsl/tests/Makefile.am
index ee3cef63507..957bb55a7e6 100644
--- a/src/glsl/tests/Makefile.am
+++ b/src/glsl/tests/Makefile.am
@@ -1,12 +1,9 @@
-INC = \
+AM_CPPFLAGS = \
-I$(top_builddir)/src/gtest/include \
-I$(top_builddir)/src/mesa \
-I$(top_builddir)/src/mapi \
-I$(top_builddir)/src/glsl
-AM_CFLAGS = $(INC)
-AM_CXXFLAGS = $(INC)
-
TESTS_ENVIRONMENT= \
export PYTHON2=$(PYTHON2); \
export PYTHON_FLAGS=$(PYTHON_FLAGS);