radeon: fix scissors harder.
[mesa.git] / src / mesa / drivers / dri / radeon / Makefile
index ba409ba8130d45bddf699444616f8b85b6b5c19d..8fe9d98a0b2baffc9d58c5db40c5780196cd8bf2 100644 (file)
@@ -10,6 +10,10 @@ 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_common_context.c \
@@ -20,7 +24,8 @@ RADEON_COMMON_SOURCES = \
        radeon_cs_legacy.c \
        radeon_mipmap_tree.c \
        radeon_span.c \
-       radeon_fbo.c
+       radeon_fbo.c \
+       radeon_queryobj.c
 
 DRIVER_SOURCES = \
        radeon_context.c \
@@ -38,9 +43,11 @@ DRIVER_SOURCES = \
 
 C_SOURCES = \
        $(COMMON_SOURCES) \
-       $(DRIVER_SOURCES) 
+       $(DRIVER_SOURCES) \
+       $(CS_SOURCES)
 
-DRIVER_DEFINES = -DRADEON_COMMON=0
+DRIVER_DEFINES = -DRADEON_COMMON=0 \
+                                -Wall
 
 DRI_LIB_DEPS += $(RADEON_LDFLAGS)