[Mesa-dev] [PATCH 3/5] build: fix location of generated files in src/mesa

Christopher James Halse Rogers christopher.halse.rogers at canonical.com
Sun Jul 8 16:14:44 PDT 2012


Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>
---
 src/mesa/sources.mak |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak
index 16b1c39..87191fd 100644
--- a/src/mesa/sources.mak
+++ b/src/mesa/sources.mak
@@ -4,8 +4,8 @@ SRCDIR ?= .
 
 # this is part of MAIN_FILES
 MAIN_ES_FILES = \
-	$(SRCDIR)/main/api_exec_es1.c \
-	$(SRCDIR)/main/api_exec_es2.c
+	$(TOP)/src/mesa/main/api_exec_es1.c \
+	$(TOP)/src/mesa/main/api_exec_es2.c
 
 MAIN_FILES = \
 	$(SRCDIR)/main/api_arrayelt.c \
@@ -249,11 +249,11 @@ STATETRACKER_FILES = \
 PROGRAM_FILES = \
 	$(SRCDIR)/program/arbprogparse.c \
 	$(SRCDIR)/program/hash_table.c \
-	$(SRCDIR)/program/lex.yy.c \
+	$(TOP)/src/mesa/program/lex.yy.c \
 	$(SRCDIR)/program/nvfragparse.c \
 	$(SRCDIR)/program/nvvertparse.c \
 	$(SRCDIR)/program/program.c \
-	$(SRCDIR)/program/program_parse.tab.c \
+	$(TOP)/src/mesa/program/program_parse.tab.c \
 	$(SRCDIR)/program/program_parse_extra.c \
 	$(SRCDIR)/program/prog_cache.c \
 	$(SRCDIR)/program/prog_execute.c \
@@ -382,6 +382,7 @@ INCLUDE_DIRS = \
 	-I$(TOP)/include \
 	-I$(TOP)/src/glsl \
 	-I$(TOP)/src/mesa \
+	-I$(TOP)/src/mesa/main \
 	-I$(TOP)/src/mapi \
 	-I$(TOP)/src/gallium/include \
 	-I$(TOP)/src/gallium/auxiliary
-- 
1.7.10.4



More information about the mesa-dev mailing list