Merge branch 'mesa_7_6_branch' into 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
31 DRIVER_SOURCES = \
32 radeon_context.c \
33 radeon_ioctl.c \
34 radeon_screen.c \
35 radeon_state.c \
36 radeon_state_init.c \
37 radeon_tex.c \
38 radeon_texstate.c \
39 radeon_tcl.c \
40 radeon_swtcl.c \
41 radeon_maos.c \
42 radeon_sanity.c \
43 $(RADEON_COMMON_SOURCES)
44
45 C_SOURCES = \
46 $(COMMON_SOURCES) \
47 $(DRIVER_SOURCES) \
48 $(CS_SOURCES)
49
50 DRIVER_DEFINES = -DRADEON_R100 -Wall
51
52 DRI_LIB_DEPS += $(RADEON_LDFLAGS)
53
54 X86_SOURCES =
55
56 include ../Makefile.template
57