mesa: move _mesa_meta_init/free() calls to core Mesa
[mesa.git] / src / mesa / drivers / dri / radeon / Makefile
index f469c6f43a149c64869a5a2d263c164c69c75a8c..b1efc72872f8f8ee03d352387d891a0fd64c4a64 100644 (file)
@@ -10,16 +10,23 @@ LIBNAME = radeon_dri.so
 
 MINIGLX_SOURCES = server/radeon_dri.c 
 
+ifeq ($(RADEON_LDFLAGS),)
+CS_SOURCES = radeon_cs_space_drm.c
+endif
+
 RADEON_COMMON_SOURCES = \
-       radeon_texture.c \
+       radeon_bo_legacy.c \
        radeon_common_context.c \
        radeon_common.c \
+       radeon_cs_legacy.c \
        radeon_dma.c \
+       radeon_debug.c \
+       radeon_fbo.c \
        radeon_lock.c \
-       radeon_bo_legacy.c \
-       radeon_cs_legacy.c \
        radeon_mipmap_tree.c \
-       radeon_span.c
+       radeon_queryobj.c \
+       radeon_span.c \
+       radeon_texture.c
 
 DRIVER_SOURCES = \
        radeon_context.c \
@@ -37,9 +44,10 @@ DRIVER_SOURCES = \
 
 C_SOURCES = \
        $(COMMON_SOURCES) \
-       $(DRIVER_SOURCES) 
+       $(DRIVER_SOURCES) \
+       $(CS_SOURCES)
 
-DRIVER_DEFINES = -DRADEON_COMMON=0
+DRIVER_DEFINES = -DRADEON_R100 -Wall
 
 DRI_LIB_DEPS += $(RADEON_LDFLAGS)