Merge branch 'mesa_7_7_branch'
[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 CFLAGS += $(RADEON_CFLAGS)
8
9 LIBNAME = radeon_dri.so
10
11 MINIGLX_SOURCES = server/radeon_dri.c
12
13 ifeq ($(RADEON_LDFLAGS),)
14 CS_SOURCES = radeon_cs_space_drm.c radeon_bo.c radeon_cs.c
15 endif
16
17 RADEON_COMMON_SOURCES = \
18 radeon_bo_legacy.c \
19 radeon_common_context.c \
20 radeon_common.c \
21 radeon_cs_legacy.c \
22 radeon_dma.c \
23 radeon_debug.c \
24 radeon_fbo.c \
25 radeon_lock.c \
26 radeon_mipmap_tree.c \
27 radeon_queryobj.c \
28 radeon_span.c \
29 radeon_texture.c \
30 radeon_tex_copy.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 DRI_LIB_DEPS += $(RADEON_LDFLAGS)
55
56 X86_SOURCES =
57
58 include ../Makefile.template
59