summaryrefslogtreecommitdiffstats
path: root/src/mesa/sources.mak
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-09-16 21:51:58 +0200
committerMarek Olšák <[email protected]>2011-09-19 20:27:54 +0200
commitda90c8fc271d000d6a3415fcc9da066293565b35 (patch)
tree73d2a64baf3591f34e868cfbd6be1e8557f779a2 /src/mesa/sources.mak
parent2ce8c3553b5f7b97b110ff7d968411027c156552 (diff)
mesa: fix an autoconf build-system bug related to glsl_to_tgsi
st_glsl_to_tgsi.cpp was completely ignored by makedepend because it was not included in ALL_SOURCES, which caused that the file was not recompiled when certain header files were changed (like glsl/ir.h). The first part of this commit is just a consolidation. The second part is the fix.
Diffstat (limited to 'src/mesa/sources.mak')
-rw-r--r--src/mesa/sources.mak5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak
index 19a105f15ae..da5d90ec4db 100644
--- a/src/mesa/sources.mak
+++ b/src/mesa/sources.mak
@@ -338,14 +338,13 @@ MESA_GALLIUM_SOURCES = \
x86/common_x86.c
MESA_GALLIUM_CXX_SOURCES = \
- $(MAIN_CXX_SOURCES) \
- $(SHADER_CXX_SOURCES) \
+ $(MESA_CXX_SOURCES) \
state_tracker/st_glsl_to_tgsi.cpp
# All the core C sources, for dependency checking
ALL_SOURCES = \
$(MESA_SOURCES) \
- $(MESA_CXX_SOURCES) \
+ $(MESA_GALLIUM_CXX_SOURCES) \
$(MESA_ASM_SOURCES) \
$(STATETRACKER_SOURCES)