summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/Makefile
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2009-07-27 20:23:49 +0200
committerNicolai Hähnle <[email protected]>2009-07-30 23:45:18 +0200
commit188f8c679254f193cdcfcd4ef338f3c8c5e1146d (patch)
tree6377cb039edd52cecfa8cf9d97c1352bc87cb951 /src/gallium/drivers/r300/Makefile
parentcab62aa28f5ccdf7ca185ac965b852e2318816f3 (diff)
r300g: Use r300compiler for vertex shaders
Diffstat (limited to 'src/gallium/drivers/r300/Makefile')
-rw-r--r--src/gallium/drivers/r300/Makefile18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/Makefile b/src/gallium/drivers/r300/Makefile
index faceec9842f..93c2152edce 100644
--- a/src/gallium/drivers/r300/Makefile
+++ b/src/gallium/drivers/r300/Makefile
@@ -21,6 +21,22 @@ C_SOURCES = \
r300_state_invariant.c \
r300_vs.c \
r300_surface.c \
- r300_texture.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):
+ cd $(TOP)/src/mesa/drivers/dri/r300/compiler; make