From da90c8fc271d000d6a3415fcc9da066293565b35 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Fri, 16 Sep 2011 21:51:58 +0200 Subject: [PATCH] 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. --- src/mesa/sources.mak | 5 ++--- 1 file 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) -- 2.30.2