mesa: refactor MATH_SOURCES, remove Mesa x86 codegen from gallium build
authorBrian Paul <brianp@vmware.com>
Wed, 11 Feb 2009 20:59:54 +0000 (13:59 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 11 Feb 2009 21:01:29 +0000 (14:01 -0700)
Omit math/m_xform.c from gallium builds since it's not used and it's the
one place we were pulling in the Mesa x86 codegen which collides with
gallium's x86 codegen.

Can now omit ASM_C_SOURCES from gallium build too.

src/mesa/sources.mak

index dfafbc982bf76c5e404d475cb1153911d9f091af..1bd81506e0108349eaaa557cb1999ae38b54b2aa 100644 (file)
@@ -88,7 +88,10 @@ MATH_SOURCES = \
        math/m_eval.c \
        math/m_matrix.c \
        math/m_translate.c \
-       math/m_vector.c \
+       math/m_vector.c
+
+MATH_XFORM_SOURCES = \
+       $(MATH_SOURCES) \
        math/m_xform.c
 
 SWRAST_SOURCES = \
@@ -309,7 +312,7 @@ COMMON_DRIVER_SOURCES =                     \
 
 MESA_SOURCES = \
        $(MAIN_SOURCES)         \
-       $(MATH_SOURCES)         \
+       $(MATH_XFORM_SOURCES)   \
        $(VBO_SOURCES)          \
        $(TNL_SOURCES)          \
        $(SHADER_SOURCES)       \
@@ -330,7 +333,6 @@ MESA_GALLIUM_SOURCES = \
        $(VBO_SOURCES)          \
        $(STATETRACKER_SOURCES) \
        $(SHADER_SOURCES)       \
-       $(ASM_C_SOURCES)        \
        $(SLANG_SOURCES)