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. --- src/mesa/sources.mak | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak index 71f708f..6411512 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) -- 1.7.4.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev