radeon: remove debugging
[mesa.git] / src / mesa / drivers / dri / radeon / Makefile
index 191ac8c46d47bc35313713f5fe3285eb7a91596d..f469c6f43a149c64869a5a2d263c164c69c75a8c 100644 (file)
@@ -4,46 +4,46 @@
 TOP = ../../../../..
 include $(TOP)/configs/current
 
+CFLAGS += $(RADEON_CFLAGS)
+
 LIBNAME = radeon_dri.so
 
 MINIGLX_SOURCES = server/radeon_dri.c 
 
-COMMON_SOURCES = \
-       ../../common/driverfuncs.c \
-       ../common/mm.c \
-       ../common/utils.c \
-       ../common/texmem.c \
-       ../common/vblank.c \
-       ../common/xmlconfig.c
+RADEON_COMMON_SOURCES = \
+       radeon_texture.c \
+       radeon_common_context.c \
+       radeon_common.c \
+       radeon_dma.c \
+       radeon_lock.c \
+       radeon_bo_legacy.c \
+       radeon_cs_legacy.c \
+       radeon_mipmap_tree.c \
+       radeon_span.c
 
 DRIVER_SOURCES = \
        radeon_context.c \
        radeon_ioctl.c \
-       radeon_lock.c \
        radeon_screen.c \
        radeon_state.c \
        radeon_state_init.c \
        radeon_tex.c \
-       radeon_texmem.c \
        radeon_texstate.c \
        radeon_tcl.c \
        radeon_swtcl.c \
-       radeon_span.c \
        radeon_maos.c \
        radeon_sanity.c \
-       radeon_compat.c \
-       radeon_vtxfmt.c \
-       radeon_vtxfmt_c.c \
-       radeon_vtxfmt_sse.c \
-       radeon_vtxfmt_x86.c 
+       $(RADEON_COMMON_SOURCES)
 
 C_SOURCES = \
        $(COMMON_SOURCES) \
        $(DRIVER_SOURCES) 
 
+DRIVER_DEFINES = -DRADEON_COMMON=0
+
+DRI_LIB_DEPS += $(RADEON_LDFLAGS)
 
-X86_SOURCES = \
-       radeon_vtxtmp_x86.S 
+X86_SOURCES = 
 
 include ../Makefile.template