Merge branch 'radeon-texrewrite-clean' into mesa_7_7_branch
[mesa.git] / src / gallium / drivers / svga / Makefile
1 TOP = ../../../..
2 include $(TOP)/configs/current
3
4 LIBNAME = svga
5
6 C_SOURCES = \
7 svgadump/st_shader_dump.c \
8 svgadump/st_shader_op.c \
9 svgadump/svga_dump.c \
10 svga_cmd.c \
11 svga_context.c \
12 svga_draw.c \
13 svga_draw_arrays.c \
14 svga_draw_elements.c \
15 svga_pipe_blend.c \
16 svga_pipe_blit.c \
17 svga_pipe_clear.c \
18 svga_pipe_constants.c \
19 svga_pipe_depthstencil.c \
20 svga_pipe_draw.c \
21 svga_pipe_flush.c \
22 svga_pipe_fs.c \
23 svga_pipe_misc.c \
24 svga_pipe_query.c \
25 svga_pipe_rasterizer.c \
26 svga_pipe_sampler.c \
27 svga_pipe_vertex.c \
28 svga_pipe_vs.c \
29 svga_screen.c \
30 svga_screen_buffer.c \
31 svga_screen_texture.c \
32 svga_screen_cache.c \
33 svga_state.c \
34 svga_state_need_swtnl.c \
35 svga_state_constants.c \
36 svga_state_framebuffer.c \
37 svga_state_rss.c \
38 svga_state_tss.c \
39 svga_state_vdecl.c \
40 svga_state_fs.c \
41 svga_state_vs.c \
42 svga_swtnl_backend.c \
43 svga_swtnl_draw.c \
44 svga_swtnl_state.c \
45 svga_tgsi.c \
46 svga_tgsi_decl_sm20.c \
47 svga_tgsi_decl_sm30.c \
48 svga_tgsi_insn.c
49
50 LIBRARY_INCLUDES = \
51 -I$(TOP)/src/gallium/drivers/svga/include
52
53 LIBRARY_DEFINES = \
54 -DHAVE_STDINT_H -DHAVE_SYS_TYPES_H
55
56 CC = gcc -fvisibility=hidden -msse -msse2
57
58 # Set the gnu99 standard to enable anonymous structs in vmware headers.
59 #
60 CFLAGS = -Wall -Wmissing-prototypes -std=gnu99 -ffast-math \
61 $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) $(ASM_FLAGS)
62
63 include ../../Makefile.template