Merge branch 'mesa_7_7_branch'
[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 CFLAGS += $(RADEON_CFLAGS)
7
8 LIBNAME = r200_dri.so
9
10 MINIGLX_SOURCES = server/radeon_dri.c
11
12 ifeq ($(RADEON_LDFLAGS),)
13 CS_SOURCES = radeon_cs_space_drm.c radeon_bo.c radeon_cs.c
14 endif
15
16 RADEON_COMMON_SOURCES = \
17 radeon_bo_legacy.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_queryobj.c \
27 radeon_span.c \
28 radeon_texture.c \
29 radeon_tex_copy.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_pixel.c \
37 r200_tex.c \
38 r200_texstate.c \
39 r200_tcl.c \
40 r200_swtcl.c \
41 r200_maos.c \
42 r200_sanity.c \
43 r200_fragshader.c \
44 r200_vertprog.c \
45 r200_blit.c \
46 radeon_screen.c \
47 $(EGL_SOURCES) \
48 $(RADEON_COMMON_SOURCES) \
49 $(CS_SOURCES)
50
51 C_SOURCES = $(COMMON_SOURCES) $(DRIVER_SOURCES)
52
53 X86_SOURCES =
54
55 DRIVER_DEFINES = -DRADEON_R200
56
57 DRI_LIB_DEPS += $(RADEON_LDFLAGS)
58
59 ##### TARGETS #####
60
61
62 include ../Makefile.template
63
64 #INCLUDES += -I../radeon/server
65