5ee8022b8dcb3c0ac785091043b1a1380a5f0de9
[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_lock.c \
25         radeon_mipmap_tree.c \
26         radeon_pixel_read.c \
27         radeon_queryobj.c \
28         radeon_span.c \
29         radeon_texture.c \
30         radeon_tex_copy.c \
31         radeon_tile.c
32
33 DRIVER_SOURCES = \
34         radeon_context.c \
35         radeon_ioctl.c \
36         radeon_screen.c \
37         radeon_state.c \
38         radeon_state_init.c \
39         radeon_tex.c \
40         radeon_texstate.c \
41         radeon_tcl.c \
42         radeon_swtcl.c \
43         radeon_maos.c \
44         radeon_sanity.c \
45         radeon_blit.c \
46         $(RADEON_COMMON_SOURCES)
47
48 C_SOURCES = \
49         $(COMMON_SOURCES) \
50         $(DRIVER_SOURCES) \
51         $(CS_SOURCES)
52
53 DRIVER_DEFINES = -DRADEON_R100
54
55 INCLUDES += $(RADEON_CFLAGS)
56 DRI_LIB_DEPS += $(RADEON_LDFLAGS)
57
58 X86_SOURCES = 
59
60 include ../Makefile.targets
61