Merge branch 'mesa_7_5_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
15 endif
16
17 RADEON_COMMON_SOURCES = \
18 radeon_texture.c \
19 radeon_common_context.c \
20 radeon_common.c \
21 radeon_dma.c \
22 radeon_lock.c \
23 radeon_bo_legacy.c \
24 radeon_cs_legacy.c \
25 radeon_mipmap_tree.c \
26 radeon_span.c \
27 radeon_fbo.c
28
29 DRIVER_SOURCES = \
30 radeon_context.c \
31 radeon_ioctl.c \
32 radeon_screen.c \
33 radeon_state.c \
34 radeon_state_init.c \
35 radeon_tex.c \
36 radeon_texstate.c \
37 radeon_tcl.c \
38 radeon_swtcl.c \
39 radeon_maos.c \
40 radeon_sanity.c \
41 $(RADEON_COMMON_SOURCES)
42
43 C_SOURCES = \
44 $(COMMON_SOURCES) \
45 $(DRIVER_SOURCES) \
46 $(CS_SOURCES)
47
48 DRIVER_DEFINES = -DRADEON_COMMON=0
49
50 DRI_LIB_DEPS += $(RADEON_LDFLAGS)
51
52 X86_SOURCES =
53
54 include ../Makefile.template
55
56 symlinks: