radeon/r200/r300: make legacy emit non-r300 specific
[mesa.git] / src / mesa / drivers / dri / r200 / Makefile
index e9144ac75ce117fb2b2385af12969a549bac28b8..91211e4d74d1dcdee2ce3c65e3455b850a7765ec 100644 (file)
@@ -13,7 +13,6 @@ endif
 
 DRIVER_SOURCES = r200_context.c \
                 r200_ioctl.c \
-                r200_lock.c \
                 r200_state.c \
                 r200_state_init.c \
                 r200_cmdbuf.c \
@@ -29,6 +28,10 @@ DRIVER_SOURCES = r200_context.c \
                 r200_fragshader.c \
                 r200_vertprog.c \
                 radeon_screen.c \
+                common_lock.c \
+                common_misc.c \
+                radeon_bo_legacy.c \
+                radeon_cs_legacy.c \
                 $(EGL_SOURCES)
 
 C_SOURCES = $(COMMON_SOURCES) $(DRIVER_SOURCES)
@@ -48,7 +51,19 @@ SYMLINKS = \
 COMMON_SYMLINKS = \
        radeon_chipset.h \
        radeon_screen.c \
-       radeon_screen.h
+       radeon_screen.h \
+       radeon_bo_legacy.c \
+       radeon_cs_legacy.c \
+       radeon_bo_legacy.h \
+       radeon_cs_legacy.h \
+       radeon_buffer.h \
+       common_context.h \
+       common_lock.c \
+       common_lock.h \
+       common_misc.h \
+       common_misc.c
+
+DRI_LIB_DEPS += -ldrm_radeon
 
 ##### TARGETS #####