Link fewer common objects into Gallium winsys layers.
authorMichel Dänzer <michel@tungstengraphics.com>
Mon, 10 Dec 2007 15:34:25 +0000 (16:34 +0100)
committerMichel Dänzer <michel@tungstengraphics.com>
Mon, 10 Dec 2007 16:36:59 +0000 (17:36 +0100)
These are useless or even harmful due to referencing symbols no longer
available in the Gallium build.

src/mesa/drivers/dri/Makefile.template
src/mesa/drivers/dri/intel_winsys/Makefile

index 37bf0a49772efd25f99e1ad2ec4a751ab6a1eb39..3e7e527a9829a38404befb0a787301474b071b8c 100644 (file)
@@ -2,14 +2,16 @@
 
 MESA_MODULES = $(TOP)/src/mesa/libmesa.a
 
-COMMON_SOURCES = \
-        ../../common/driverfuncs.c \
+COMMON_GALLIUM_SOURCES = \
         ../common/utils.c \
-        ../common/texmem.c \
         ../common/vblank.c \
         ../common/dri_util.c \
-        ../common/xmlconfig.c \
-        ../common/drirenderbuffer.c 
+        ../common/xmlconfig.c
+
+COMMON_SOURCES = $(COMMON_GALLIUM_SOURCES) \
+        ../../common/driverfuncs.c \
+        ../common/texmem.c \
+        ../common/drirenderbuffer.c
 
 COMMON_BM_SOURCES = \
        ../common/dri_bufmgr.c \
index 46b9541d7d477d7e4d71b05162e890e8be5fe944..9ae0f013256bede341b94df3c6e2cc80b82013d7 100644 (file)
@@ -22,7 +22,7 @@ DRIVER_SOURCES = \
        intel_batchpool.c
 
 C_SOURCES = \
-       $(COMMON_SOURCES) \
+       $(COMMON_GALLIUM_SOURCES) \
        $(COMMON_BM_SOURCES) \
        $(DRIVER_SOURCES)