Merge commit 'origin/7.8'
[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 ifeq ($(RADEON_LDFLAGS),)
12 CS_SOURCES = radeon_cs_space_drm.c radeon_bo.c radeon_cs.c
13 endif
14
15 RADEON_COMMON_SOURCES = \
16 radeon_bo_legacy.c \
17 radeon_common_context.c \
18 radeon_common.c \
19 radeon_cs_legacy.c \
20 radeon_dma.c \
21 radeon_debug.c \
22 radeon_fbo.c \
23 radeon_lock.c \
24 radeon_mipmap_tree.c \
25 radeon_pixel_read.c \
26 radeon_queryobj.c \
27 radeon_span.c \
28 radeon_texture.c \
29 radeon_tex_copy.c \
30 radeon_tex_getimage.c \
31 radeon_tile.c
32
33 DRIVER_SOURCES = \
34 radeon_context.c \
35 radeon_ioctl.c \
36 radeon_screen.c \
37 radeon_state.c \
38 radeon_state_init.c \
39 radeon_tex.c \
40 radeon_texstate.c \
41 radeon_tcl.c \
42 radeon_swtcl.c \
43 radeon_maos.c \
44 radeon_sanity.c \
45 radeon_blit.c \
46 $(RADEON_COMMON_SOURCES)
47
48 C_SOURCES = \
49 $(COMMON_SOURCES) \
50 $(DRIVER_SOURCES) \
51 $(CS_SOURCES)
52
53 DRIVER_DEFINES = -DRADEON_R100
54
55 DRI_LIB_DEPS += $(RADEON_LDFLAGS)
56
57 X86_SOURCES =
58
59 include ../Makefile.template
60