Merge remote branch 'main/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
24 DRIVER_SOURCES = \
25 radeon_context.c \
26 radeon_ioctl.c \
27 radeon_screen.c \
28 radeon_state.c \
29 radeon_state_init.c \
30 radeon_tex.c \
31 radeon_texstate.c \
32 radeon_tcl.c \
33 radeon_swtcl.c \
34 radeon_maos.c \
35 radeon_sanity.c \
36 $(RADEON_COMMON_SOURCES)
37
38 C_SOURCES = \
39 $(COMMON_SOURCES) \
40 $(DRIVER_SOURCES)
41
42 DRIVER_DEFINES = -DRADEON_COMMON=0
43
44 DRI_LIB_DEPS += $(RADEON_LDFLAGS)
45
46 X86_SOURCES =
47
48 include ../Makefile.template
49
50 symlinks: