[Mesa-dev] [PATCH] glsl/builtin_compiler/Makefile.am: Make sure GLSL_SRCDIR is defined before AM_CFLAGS.

Johannes Obermayr johannesobermayr at gmx.de
Fri Nov 2 12:33:09 PDT 2012


Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56685
---
 src/glsl/builtin_compiler/Makefile.am |    4 ++--
 1 Datei geändert, 2 Zeilen hinzugefügt(+), 2 Zeilen entfernt(-)

diff --git a/src/glsl/builtin_compiler/Makefile.am b/src/glsl/builtin_compiler/Makefile.am
index 72032b5..22ccf60 100644
--- a/src/glsl/builtin_compiler/Makefile.am
+++ b/src/glsl/builtin_compiler/Makefile.am
@@ -29,6 +29,8 @@ CXXFLAGS = @CXXFLAGS_FOR_BUILD@
 LD = @LD_FOR_BUILD@
 LDFLAGS = @LDFLAGS_FOR_BUILD@
 
+include ../Makefile.sources
+
 AM_CFLAGS = \
 	-I $(top_srcdir)/include \
 	-I $(top_srcdir)/src/mapi \
@@ -42,8 +44,6 @@ AM_CXXFLAGS = $(AM_CFLAGS)
 AM_YFLAGS = -v -d -p "glcpp_parser_"
 AM_LFLAGS = --nounistd -o$(LEX_OUTPUT_ROOT).c
 
-include ../Makefile.sources
-
 noinst_PROGRAMS = builtin_compiler
 
 builtin_compiler_SOURCES = \
-- 
1.7.10.4



More information about the mesa-dev mailing list