diff options
author | Dave Airlie <[email protected]> | 2009-02-13 01:11:25 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-02-13 01:11:25 +1000 |
commit | 53116910b10e3b8a05f42970eff311c21808699f (patch) | |
tree | 6831e50a56a02fed324f8cb119e05d837e00d7cf /progs/redbook/SConscript | |
parent | 7e104f9cde94279a902b408e8d1cf21779b393a8 (diff) | |
parent | 0ccbc3c905f0594a35d72887a1f115e148aaa596 (diff) |
Merge remote branch 'origin/master' into radeon-rewrite
Conflicts:
configure.ac
src/mesa/drivers/dri/r200/r200_context.c
src/mesa/drivers/dri/r300/r300_render.c
Diffstat (limited to 'progs/redbook/SConscript')
-rw-r--r-- | progs/redbook/SConscript | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/progs/redbook/SConscript b/progs/redbook/SConscript new file mode 100644 index 00000000000..242cb6647fc --- /dev/null +++ b/progs/redbook/SConscript @@ -0,0 +1,91 @@ +Import('*') + +if not env['GLUT']: + Return() + +env = env.Clone() + +env.Prepend(CPPPATH = [ + '../util', +]) + +env.Prepend(LIBS = [ + util, + '$GLUT_LIB' +]) + +if env['platform'] == 'windows': + env.Append(CPPDEFINES = ['NOMINMAX']) + env.Prepend(LIBS = ['winmm']) + +progs = [ + 'aaindex', + 'aapoly', + 'aargb', + 'accanti', + 'accpersp', + 'alpha3D', + 'alpha', + 'anti', + 'bezcurve', + 'bezmesh', + 'checker', + 'clip', + 'colormat', + 'cube', + 'depthcue', + 'dof', + 'double', + 'drawf', + 'feedback', + 'fog', + 'fogindex', + 'font', + 'hello', + 'image', + 'light', + 'lines', + 'list', + 'material', + 'mipmap', + 'model', + 'movelight', + 'nurbs', + 'pickdepth', + 'picksquare', + 'plane', + 'planet', + 'polyoff', + 'polys', + 'quadric', + 'robot', + 'sccolorlight', + 'scenebamb', + 'scene', + 'sceneflat', + 'select', + 'smooth', + 'stencil', + 'stroke', + 'surface', + 'teaambient', + 'teapots', + 'tess', + 'tesswind', + 'texbind', + 'texgen', + 'texprox', + 'texsub', + 'texturesurf', + 'torus', + 'trim', + 'unproject', + 'varray', + 'wrap', +] + +for prog in progs: + env.Program( + target = prog, + source = prog + '.c', + ) |