summaryrefslogtreecommitdiffstats
path: root/src/mesa/sources.mak
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-03-01 15:22:43 -0800
committerIan Romanick <[email protected]>2011-03-01 15:22:43 -0800
commit3158cc7df85a8c5bcdb90a7d9ebb62c72b5f052a (patch)
tree57ef3663096b61c8c3e1c5ec9d3d90853404531f /src/mesa/sources.mak
parent6b369c4c7cd8a52f99bbff2a57fb316b33a87495 (diff)
mesa: Fix build breakage caused by c73e6ce
Diffstat (limited to 'src/mesa/sources.mak')
-rw-r--r--src/mesa/sources.mak14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak
index a8c0bbd2b9a..35eaeb74f14 100644
--- a/src/mesa/sources.mak
+++ b/src/mesa/sources.mak
@@ -234,11 +234,9 @@ STATETRACKER_SOURCES = \
PROGRAM_SOURCES = \
program/arbprogparse.c \
program/hash_table.c \
- program/lex.yy.c \
program/nvfragparse.c \
program/nvvertparse.c \
program/program.c \
- program/program_parse.tab.c \
program/program_parse_extra.c \
program/prog_cache.c \
program/prog_execute.c \
@@ -254,6 +252,10 @@ PROGRAM_SOURCES = \
program/register_allocate.c \
program/symbol_table.c
+PROGRAM_GENERATED_SOURCES = \
+ program/lex.yy.c \
+ program/program_parse.tab.c
+
SHADER_CXX_SOURCES = \
program/ir_to_mesa.cpp \
program/sampler.cpp
@@ -301,7 +303,7 @@ COMMON_DRIVER_SOURCES = \
# Sources for building non-Gallium drivers
-MESA_SOURCES = \
+MESA_SOURCES_FOR_DEPEND = \
$(MAIN_SOURCES) \
$(MATH_SOURCES) \
$(MATH_XFORM_SOURCES) \
@@ -313,6 +315,10 @@ MESA_SOURCES = \
$(COMMON_DRIVER_SOURCES)\
$(ASM_C_SOURCES)
+MESA_SOURCES = \
+ $(MESA_SOURCES_FOR_DEPEND) \
+ $(PROGRAM_GENERATED_SOURCES)
+
MESA_CXX_SOURCES = \
$(SHADER_CXX_SOURCES)
@@ -331,7 +337,7 @@ MESA_GALLIUM_CXX_SOURCES = \
# All the core C sources, for dependency checking
ALL_SOURCES = \
- $(MESA_SOURCES) \
+ $(MESA_SOURCES_FOR_DEPEND) \
$(MESA_CXX_SOURCES) \
$(MESA_ASM_SOURCES) \
$(STATETRACKER_SOURCES)