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