Mesa (master): mesa: fix an autoconf build-system bug related to glsl_to_tgsi
Marek Olšák
mareko at kemper.freedesktop.org
Mon Sep 19 18:44:52 UTC 2011
Module: Mesa
Branch: master
Commit: da90c8fc271d000d6a3415fcc9da066293565b35
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=da90c8fc271d000d6a3415fcc9da066293565b35
Author: Marek Olšák <maraeo at gmail.com>
Date: Fri Sep 16 21:51:58 2011 +0200
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 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak
index 19a105f..da5d90e 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)
More information about the mesa-commit
mailing list