summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/SConscript
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-05-11 00:36:15 +0100
committerJosé Fonseca <[email protected]>2010-05-11 07:03:27 +0100
commitd99a7497ed383e0d7872b95f2aa63eff916680ea (patch)
tree910467bcf199034c92cdb71ebb584540ee238da4 /src/gallium/tests/graw/SConscript
parentd74f525060f779cfe449c20853b11ba2bbcdea6d (diff)
tests/graw: raw -> graw
for consistency
Diffstat (limited to 'src/gallium/tests/graw/SConscript')
-rw-r--r--src/gallium/tests/graw/SConscript23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/SConscript b/src/gallium/tests/graw/SConscript
new file mode 100644
index 00000000000..8a92ac2c499
--- /dev/null
+++ b/src/gallium/tests/graw/SConscript
@@ -0,0 +1,23 @@
+Import('*')
+
+try:
+ graw
+except NameError:
+ print 'warning: graw library not avaiable: skipping build of graw test'
+ Return()
+
+env = env.Clone()
+
+env.Prepend(LIBPATH = [graw.dir])
+env.Prepend(LIBS = ['graw'])
+
+progs = [
+ 'clear'
+]
+
+for prog in progs:
+ env.Program(
+ target = prog,
+ source = prog + '.c',
+ )
+