radeon: Drop the radeon_cs_legacy code now that we rely on kernel mm.
[profile/ivi/mesa.git] / src / mesa / drivers / dri / radeon / Makefile
1 # src/mesa/drivers/dri/radeon/Makefile
2 # Note, this Makefile requires GNU make
3
4 TOP = ../../../../..
5 include $(TOP)/configs/current
6
7 LIBNAME = radeon_dri.so
8
9 include ../Makefile.defines
10
11 ifeq ($(RADEON_LDFLAGS),)
12 CS_SOURCES = radeon_cs_space_drm.c radeon_bo.c radeon_cs.c
13 endif
14
15 RADEON_COMMON_SOURCES = \
16         radeon_bo_legacy.c \
17         radeon_buffer_objects.c \
18         radeon_common_context.c \
19         radeon_common.c \
20         radeon_dma.c \
21         radeon_debug.c \
22         radeon_fbo.c \
23         radeon_mipmap_tree.c \
24         radeon_pixel_read.c \
25         radeon_queryobj.c \
26         radeon_span.c \
27         radeon_texture.c \
28         radeon_tex_copy.c \
29         radeon_tile.c
30
31 DRIVER_SOURCES = \
32         radeon_context.c \
33         radeon_ioctl.c \
34         radeon_screen.c \
35         radeon_state.c \
36         radeon_state_init.c \
37         radeon_tex.c \
38         radeon_texstate.c \
39         radeon_tcl.c \
40         radeon_swtcl.c \
41         radeon_maos.c \
42         radeon_sanity.c \
43         radeon_blit.c \
44         $(RADEON_COMMON_SOURCES)
45
46 C_SOURCES = \
47         $(COMMON_SOURCES) \
48         $(DRIVER_SOURCES) \
49         $(CS_SOURCES)
50
51 DRIVER_DEFINES = -DRADEON_R100
52
53 INCLUDES += $(RADEON_CFLAGS)
54 DRI_LIB_DEPS += $(RADEON_LDFLAGS)
55
56 X86_SOURCES = 
57
58 include ../Makefile.targets
59