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