radeon/r200: Add -Wall to default build flags like it is in r300/r600
[mesa.git] / src / mesa / drivers / dri / r200 / Makefile
1 # src/mesa/drivers/dri/r200/Makefile
2
3 TOP = ../../../../..
4 include $(TOP)/configs/current
5
6 CFLAGS += $(RADEON_CFLAGS)
7
8 LIBNAME = r200_dri.so
9
10 MINIGLX_SOURCES = server/radeon_dri.c
11
12 ifeq ($(USING_EGL), 1)
13 EGL_SOURCES = server/radeon_egl.c
14 endif
15
16 ifeq ($(RADEON_LDFLAGS),)
17 CS_SOURCES = radeon_cs_space_drm.c
18 endif
19
20 RADEON_COMMON_SOURCES = \
21 radeon_texture.c \
22 radeon_common_context.c \
23 radeon_common.c \
24 radeon_dma.c \
25 radeon_lock.c \
26 radeon_bo_legacy.c \
27 radeon_cs_legacy.c \
28 radeon_mipmap_tree.c \
29 radeon_span.c \
30 radeon_fbo.c \
31 radeon_queryobj.c
32
33
34 DRIVER_SOURCES = r200_context.c \
35 r200_ioctl.c \
36 r200_state.c \
37 r200_state_init.c \
38 r200_cmdbuf.c \
39 r200_pixel.c \
40 r200_tex.c \
41 r200_texstate.c \
42 r200_tcl.c \
43 r200_swtcl.c \
44 r200_maos.c \
45 r200_sanity.c \
46 r200_fragshader.c \
47 r200_vertprog.c \
48 radeon_screen.c \
49 $(EGL_SOURCES) \
50 $(RADEON_COMMON_SOURCES) \
51 $(CS_SOURCES)
52
53 C_SOURCES = $(COMMON_SOURCES) $(DRIVER_SOURCES)
54
55 X86_SOURCES =
56
57 DRIVER_DEFINES = -DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R200 \
58 -Wall
59
60 DRI_LIB_DEPS += $(RADEON_LDFLAGS)
61
62 ##### TARGETS #####
63
64
65 include ../Makefile.template
66
67 #INCLUDES += -I../radeon/server
68
69 symlinks: