Merge branch '7.8'
[mesa.git] / progs / trivial / SConscript
index dc84a0550be68e25189e7c3aa5e25708ba26f3bd..24b4f91fb0ae18804b700c747f6fef6684eb9f56 100644 (file)
@@ -1,14 +1,8 @@
-Import('env')
-
-if not env['GLUT']:
-    Return()
-
-env = env.Clone()
-
-env.Prepend(LIBS = ['$GLUT_LIB'])
+Import('*')
 
 progs = [
-    'clear-fbo-tex',
+       'clear-fbo-scissor',
+       'clear-fbo-tex',
        'clear-fbo',
        'clear-scissor',
        'clear-undefined',
@@ -19,12 +13,14 @@ progs = [
        'dlist-edgeflag',
        'dlist-degenerate',
        'drawarrays',
+       'draw2arrays',
        'drawelements',
        'drawrange',
        'flat-clip',
        'fs-tri',
        'line-clip',
        'line-cull',
+       'line-flat',
        'line-smooth',
        'line-stipple-wide',
        'line-userclip-clip',
@@ -65,6 +61,7 @@ progs = [
        'quad-tex-3d',
        'quad-tex-alpha',
        'quad-tex-pbo',
+       'quad-tex-sub',
        'quad-unfilled-clip',
        'quad-unfilled-stipple',
        'quad-unfilled',
@@ -74,6 +71,8 @@ progs = [
        'quadstrip-cont',
        'quadstrip-flat',
        'quadstrip',
+       'sub-tex',
+       'tex-quads',
        'tri-alpha',
        'tri-blend-color',
        'tri-blend-max',
@@ -87,6 +86,7 @@ progs = [
        'tri-cull',
        'tri-dlist',
        'tri-edgeflag',
+       'tri-fbo-tex-mip',
        'tri-fbo-tex',
        'tri-fbo',
        'tri-flat-clip',
@@ -95,12 +95,17 @@ progs = [
        'tri-fp',
        'tri-fp-const-imm',
        'tri-lit',
+       'tri-logicop-none',
+       'tri-logicop-xor',
        'tri-mask-tri',
        'tri-orig',
+       'tri-point-line-clipped',
        'tri-query',
        'tri-repeat',
        'tri-scissor-tri',
        'tri-stencil',
+       'tri-stipple',
+       'tri-multitex-vbo',
        'tri-tex',
        'tri-tex-3d',
        'tri-tri',
@@ -127,6 +132,7 @@ progs = [
        'tristrip-flat',
        'tristrip',
        'vbo-drawarrays',
+       'vbo-noninterleaved',
        'vbo-drawelements',
        'vbo-drawrange',
        'vp-array',
@@ -134,6 +140,7 @@ progs = [
        'vp-clip',
        'vp-line-clip',
        'vp-tri',
+       'vp-tri-invariant',
        'vp-tri-swap',
        'vp-tri-tex',
        'vp-tri-imm',
@@ -144,7 +151,7 @@ progs = [
 ]
 
 for prog in progs:
-    prog = env.Program(
+    prog = progs_env.Program(
         target = prog,
         source = prog + '.c',
     )
@@ -152,7 +159,7 @@ for prog in progs:
 # auto code generation
 #getprocaddress: getprocaddress.c getproclist.h
 
-#getproclist.h: $(TOP)/src/mesa/glapi/gl_API.xml getprocaddress.c getprocaddress.py
+#getproclist.h: $(TOP)/src/mesa/glapi/gen/gl_API.xml getprocaddress.c getprocaddress.py
 #      python getprocaddress.py > getproclist.h