radeon: Drop the radeon_cs_legacy code now that we rely on kernel mm.
[profile/ivi/mesa.git] / src / mesa / drivers / dri / r200 / Makefile
1 # src/mesa/drivers/dri/r200/Makefile
2
3 TOP = ../../../../..
4 include $(TOP)/configs/current
5
6 LIBNAME = r200_dri.so
7
8 include ../Makefile.defines
9
10 ifeq ($(RADEON_LDFLAGS),)
11 CS_SOURCES = radeon_cs_space_drm.c radeon_bo.c radeon_cs.c
12 endif
13
14 RADEON_COMMON_SOURCES = \
15         radeon_bo_legacy.c \
16         radeon_buffer_objects.c \
17         radeon_common_context.c \
18         radeon_common.c \
19         radeon_dma.c \
20         radeon_debug.c \
21         radeon_fbo.c \
22         radeon_mipmap_tree.c \
23         radeon_pixel_read.c \
24         radeon_queryobj.c \
25         radeon_span.c \
26         radeon_texture.c \
27         radeon_tex_copy.c \
28         radeon_tile.c
29
30 DRIVER_SOURCES = r200_context.c \
31                  r200_ioctl.c \
32                  r200_state.c \
33                  r200_state_init.c \
34                  r200_cmdbuf.c \
35                  r200_tex.c \
36                  r200_texstate.c \
37                  r200_tcl.c \
38                  r200_swtcl.c \
39                  r200_maos.c \
40                  r200_sanity.c \
41                  r200_fragshader.c \
42                  r200_vertprog.c \
43                  r200_blit.c \
44                  radeon_screen.c \
45                  $(EGL_SOURCES) \
46                  $(RADEON_COMMON_SOURCES) \
47                  $(CS_SOURCES)
48
49 C_SOURCES = $(COMMON_SOURCES) $(DRIVER_SOURCES)
50
51 X86_SOURCES = 
52
53 DRIVER_DEFINES = -DRADEON_R200
54
55 INCLUDES += $(RADEON_CFLAGS)
56 DRI_LIB_DEPS += $(RADEON_LDFLAGS)
57
58 ##### TARGETS #####
59
60
61 include ../Makefile.targets
62
63 #INCLUDES += -I../radeon/server
64