summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-01-09 21:28:23 -0800
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-02-01 23:30:21 -0800
commite9b08e7373c00306bce398ea8d34f42e54f98c6d (patch)
tree31b660dca98851456cd2d98870feecb6dfdc957b /src/gallium/drivers
parentadb74f5c5262d22b3c60a555431c29d36e3170f7 (diff)
Make r300 and amd build in scons.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r300/SConscript17
-rw-r--r--src/gallium/drivers/r300/r300_blit.h1
2 files changed, 18 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/SConscript b/src/gallium/drivers/r300/SConscript
new file mode 100644
index 0000000000..18684c3e7f
--- /dev/null
+++ b/src/gallium/drivers/r300/SConscript
@@ -0,0 +1,17 @@
+Import('*')
+
+env = env.Clone()
+
+r300 = env.ConvenienceLibrary(
+ target = 'r300',
+ source = [
+ 'r300_blit.c',
+ 'r300_clear.c',
+ 'r300_context.c',
+ 'r300_screen.c',
+ 'r300_state.c',
+ 'r300_surface.c',
+ ])
+
+Export('r300')
+
diff --git a/src/gallium/drivers/r300/r300_blit.h b/src/gallium/drivers/r300/r300_blit.h
index 09cb566b95..740cbcdea5 100644
--- a/src/gallium/drivers/r300/r300_blit.h
+++ b/src/gallium/drivers/r300/r300_blit.h
@@ -25,6 +25,7 @@
#include "pipe/p_state.h"
+#include "r300_context.h"
#include "r300_cs.h"
/* Forward declarations. */