Tizen 2.0 Release
[profile/ivi/osmesa.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_lock.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_tex_getimage.c \
31         radeon_tile.c
32
33 DRIVER_SOURCES = r200_context.c \
34                  r200_ioctl.c \
35                  r200_state.c \
36                  r200_state_init.c \
37                  r200_cmdbuf.c \
38                  r200_tex.c \
39                  r200_texstate.c \
40                  r200_tcl.c \
41                  r200_swtcl.c \
42                  r200_maos.c \
43                  r200_sanity.c \
44                  r200_fragshader.c \
45                  r200_vertprog.c \
46                  r200_blit.c \
47                  radeon_screen.c \
48                  $(EGL_SOURCES) \
49                  $(RADEON_COMMON_SOURCES) \
50                  $(CS_SOURCES)
51
52 C_SOURCES = $(COMMON_SOURCES) $(DRIVER_SOURCES)
53
54 X86_SOURCES = 
55
56 DRIVER_DEFINES = -DRADEON_R200
57
58 INCLUDES += $(RADEON_CFLAGS)
59 DRI_LIB_DEPS += $(RADEON_LDFLAGS)
60
61 ##### TARGETS #####
62
63
64 include ../Makefile.targets
65
66 #INCLUDES += -I../radeon/server
67