radeon: Drop dri2 checks now that it's always true.
[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_cs_legacy.c \
21         radeon_dma.c \
22         radeon_debug.c \
23         radeon_fbo.c \
24         radeon_mipmap_tree.c \
25         radeon_pixel_read.c \
26         radeon_queryobj.c \
27         radeon_span.c \
28         radeon_texture.c \
29         radeon_tex_copy.c \
30         radeon_tile.c
31
32 DRIVER_SOURCES = \
33         radeon_context.c \
34         radeon_ioctl.c \
35         radeon_screen.c \
36         radeon_state.c \
37         radeon_state_init.c \
38         radeon_tex.c \
39         radeon_texstate.c \
40         radeon_tcl.c \
41         radeon_swtcl.c \
42         radeon_maos.c \
43         radeon_sanity.c \
44         radeon_blit.c \
45         $(RADEON_COMMON_SOURCES)
46
47 C_SOURCES = \
48         $(COMMON_SOURCES) \
49         $(DRIVER_SOURCES) \
50         $(CS_SOURCES)
51
52 DRIVER_DEFINES = -DRADEON_R100
53
54 INCLUDES += $(RADEON_CFLAGS)
55 DRI_LIB_DEPS += $(RADEON_LDFLAGS)
56
57 X86_SOURCES = 
58
59 include ../Makefile.targets
60