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 37bf0a4..3e7e527 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 46b9541..9ae0f01 100644 (file)
@@ -22,7 +22,7 @@ DRIVER_SOURCES = \
        intel_batchpool.c
 
 C_SOURCES = \
-       $(COMMON_SOURCES) \
+       $(COMMON_GALLIUM_SOURCES) \
        $(COMMON_BM_SOURCES) \
        $(DRIVER_SOURCES)