summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/Makefile
blob: 8d0c6e33bb109033ccd44327c7c83e36e44b3705 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
TOP = ../../../..
include $(TOP)/configs/current

LIBNAME = r300

C_SOURCES = \
	r3xx_fs.c \
	r5xx_fs.c \
	r300_chipset.c \
	r300_clear.c \
	r300_context.c \
	r300_emit.c \
	r300_flush.c \
	r300_fs.c \
	r300_query.c \
	r300_render.c \
	r300_screen.c \
	r300_state.c \
	r300_state_derived.c \
	r300_state_invariant.c \
	r300_vs.c \
	r300_surface.c \
	r300_texture.c \
	r300_tgsi_to_rc.c

LIBRARY_INCLUDES = \
	-I$(TOP)/src/mesa/drivers/dri/r300/compiler \
	-I$(TOP)/src/mesa \
	-I$(TOP)/include

COMPILER_ARCHIVE = $(TOP)/src/mesa/drivers/dri/r300/compiler/libr300compiler.a

EXTRA_OBJECTS = \
	$(COMPILER_ARCHIVE)

include ../../Makefile.template

.PHONY : $(COMPILER_ARCHIVE)

$(COMPILER_ARCHIVE):
	$(MAKE) -C $(TOP)/src/mesa/drivers/dri/r300/compiler