mesa: move _mesa_meta_init/free() calls to core Mesa
[mesa.git] / src / mesa / drivers / dri / radeon / Makefile
index 16bc063bafde05d3ade24aca81e99391985d19bd..b1efc72872f8f8ee03d352387d891a0fd64c4a64 100644 (file)
@@ -4,19 +4,29 @@
 TOP = ../../../../..
 include $(TOP)/configs/current
 
+CFLAGS += $(RADEON_CFLAGS)
+
 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 \
@@ -34,11 +44,12 @@ 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 += -ldrm_radeon
+DRI_LIB_DEPS += $(RADEON_LDFLAGS)
 
 X86_SOURCES =