Set DRIVER_DEFINES instead of DEFINES to fix duplicate flags problem
[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 LIBNAME = radeon_dri.so
8
9 MINIGLX_SOURCES = server/radeon_dri.c
10
11 DRIVER_SOURCES = \
12 radeon_context.c \
13 radeon_ioctl.c \
14 radeon_lock.c \
15 radeon_screen.c \
16 radeon_state.c \
17 radeon_state_init.c \
18 radeon_tex.c \
19 radeon_texmem.c \
20 radeon_texstate.c \
21 radeon_tcl.c \
22 radeon_swtcl.c \
23 radeon_span.c \
24 radeon_maos.c \
25 radeon_sanity.c \
26 radeon_vtxfmt.c \
27 radeon_vtxfmt_c.c \
28 radeon_vtxfmt_sse.c \
29 radeon_vtxfmt_x86.c
30
31 C_SOURCES = \
32 $(COMMON_SOURCES) \
33 $(DRIVER_SOURCES)
34
35 DRIVER_DEFINES = -DRADEON_COMMON=0
36
37 X86_SOURCES = \
38 radeon_vtxtmp_x86.S
39
40 include ../Makefile.template
41
42 symlinks: