radeon: Drop dri2 checks now that it's always true.
[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_cs_legacy.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 = r200_context.c \
32                  r200_ioctl.c \
33                  r200_state.c \
34                  r200_state_init.c \
35                  r200_cmdbuf.c \
36                  r200_tex.c \
37                  r200_texstate.c \
38                  r200_tcl.c \
39                  r200_swtcl.c \
40                  r200_maos.c \
41                  r200_sanity.c \
42                  r200_fragshader.c \
43                  r200_vertprog.c \
44                  r200_blit.c \
45                  radeon_screen.c \
46                  $(EGL_SOURCES) \
47                  $(RADEON_COMMON_SOURCES) \
48                  $(CS_SOURCES)
49
50 C_SOURCES = $(COMMON_SOURCES) $(DRIVER_SOURCES)
51
52 X86_SOURCES = 
53
54 DRIVER_DEFINES = -DRADEON_R200
55
56 INCLUDES += $(RADEON_CFLAGS)
57 DRI_LIB_DEPS += $(RADEON_LDFLAGS)
58
59 ##### TARGETS #####
60
61
62 include ../Makefile.targets
63
64 #INCLUDES += -I../radeon/server
65