Tizen 2.0 Release
[profile/ivi/osmesa.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_tex_getimage.c \
32         radeon_tile.c
33
34 DRIVER_SOURCES = \
35         radeon_context.c \
36         radeon_ioctl.c \
37         radeon_screen.c \
38         radeon_state.c \
39         radeon_state_init.c \
40         radeon_tex.c \
41         radeon_texstate.c \
42         radeon_tcl.c \
43         radeon_swtcl.c \
44         radeon_maos.c \
45         radeon_sanity.c \
46         radeon_blit.c \
47         $(RADEON_COMMON_SOURCES)
48
49 C_SOURCES = \
50         $(COMMON_SOURCES) \
51         $(DRIVER_SOURCES) \
52         $(CS_SOURCES)
53
54 DRIVER_DEFINES = -DRADEON_R100
55
56 INCLUDES += $(RADEON_CFLAGS)
57 DRI_LIB_DEPS += $(RADEON_LDFLAGS)
58
59 X86_SOURCES = 
60
61 include ../Makefile.targets
62