Merge branch 'mesa_7_7_branch'
[mesa.git] / src / gallium / drivers / r300 / Makefile
1 TOP = ../../../..
2 include $(TOP)/configs/current
3
4 LIBNAME = r300
5
6 C_SOURCES = \
7 r300_blit.c \
8 r300_chipset.c \
9 r300_context.c \
10 r300_debug.c \
11 r300_emit.c \
12 r300_flush.c \
13 r300_fs.c \
14 r300_query.c \
15 r300_render.c \
16 r300_screen.c \
17 r300_state.c \
18 r300_state_derived.c \
19 r300_state_invariant.c \
20 r300_vs.c \
21 r300_texture.c \
22 r300_tgsi_to_rc.c
23
24 LIBRARY_INCLUDES = \
25 -I$(TOP)/src/mesa/drivers/dri/r300/compiler \
26 -I$(TOP)/src/gallium/winsys/drm/radeon/core
27
28 COMPILER_ARCHIVE = $(TOP)/src/mesa/drivers/dri/r300/compiler/libr300compiler.a
29
30 EXTRA_OBJECTS = \
31 $(COMPILER_ARCHIVE)
32
33 include ../../Makefile.template
34
35 .PHONY : $(COMPILER_ARCHIVE)
36
37 $(COMPILER_ARCHIVE):
38 $(MAKE) -C $(TOP)/src/mesa/drivers/dri/r300/compiler