Merge branch '7.8'
[mesa.git] / progs / trivial / SConscript
1 Import('*')
2
3 progs = [
4 'clear-fbo-scissor',
5 'clear-fbo-tex',
6 'clear-fbo',
7 'clear-scissor',
8 'clear-undefined',
9 'clear-repeat',
10 'clear',
11 'dlist-dangling',
12 'dlist-edgeflag-dangling',
13 'dlist-edgeflag',
14 'dlist-degenerate',
15 'drawarrays',
16 'draw2arrays',
17 'drawelements',
18 'drawrange',
19 'flat-clip',
20 'fs-tri',
21 'line-clip',
22 'line-cull',
23 'line-flat',
24 'line-smooth',
25 'line-stipple-wide',
26 'line-userclip-clip',
27 'line-userclip-nop-clip',
28 'line-userclip-nop',
29 'line-userclip',
30 'line-wide',
31 'line',
32 'lineloop-clip',
33 'lineloop-elts',
34 'lineloop',
35 'linestrip-flat-stipple',
36 'linestrip-stipple-wide',
37 'linestrip-stipple',
38 'linestrip',
39 'long-fixed-func',
40 'pgon-mode',
41 'point-clip',
42 'point-param',
43 'point-sprite',
44 'point-wide',
45 'point-wide-smooth',
46 'point',
47 'poly-flat',
48 'poly-flat-clip',
49 'poly-flat-unfilled-clip',
50 'poly-unfilled',
51 'poly',
52 'quad-clip-all-vertices',
53 'quad-clip-nearplane',
54 'quad-clip',
55 'quad-degenerate',
56 'quad-flat',
57 'quad-offset-factor',
58 'quad-offset-unfilled',
59 'quad-offset-units',
60 'quad-tex-2d',
61 'quad-tex-3d',
62 'quad-tex-alpha',
63 'quad-tex-pbo',
64 'quad-tex-sub',
65 'quad-unfilled-clip',
66 'quad-unfilled-stipple',
67 'quad-unfilled',
68 'quad',
69 'quads',
70 'quadstrip-clip',
71 'quadstrip-cont',
72 'quadstrip-flat',
73 'quadstrip',
74 'sub-tex',
75 'tex-quads',
76 'tri-alpha',
77 'tri-blend-color',
78 'tri-blend-max',
79 'tri-blend-min',
80 'tri-blend-revsub',
81 'tri-blend-sub',
82 'tri-blend',
83 'tri-clip',
84 'tri-clear',
85 'tri-cull-both',
86 'tri-cull',
87 'tri-dlist',
88 'tri-edgeflag',
89 'tri-fbo-tex-mip',
90 'tri-fbo-tex',
91 'tri-fbo',
92 'tri-flat-clip',
93 'tri-flat',
94 'tri-fog',
95 'tri-fp',
96 'tri-fp-const-imm',
97 'tri-lit',
98 'tri-logicop-none',
99 'tri-logicop-xor',
100 'tri-mask-tri',
101 'tri-orig',
102 'tri-point-line-clipped',
103 'tri-query',
104 'tri-repeat',
105 'tri-scissor-tri',
106 'tri-stencil',
107 'tri-stipple',
108 'tri-multitex-vbo',
109 'tri-tex',
110 'tri-tex-3d',
111 'tri-tri',
112 'tri-unfilled-fog',
113 'tri-unfilled-edgeflag',
114 'tri-unfilled-clip',
115 'tri-unfilled-smooth',
116 'tri-unfilled-tri',
117 'tri-unfilled-tri-lit',
118 'tri-unfilled-userclip-stip',
119 'tri-unfilled-userclip',
120 'tri-unfilled',
121 'tri-userclip',
122 'tri-viewport',
123 'tri-z-eq',
124 'tri-z',
125 'tri',
126 'trifan-flat',
127 'trifan-flat-clip',
128 'trifan-flat-unfilled-clip',
129 'trifan-unfilled',
130 'trifan',
131 'tristrip-clip',
132 'tristrip-flat',
133 'tristrip',
134 'vbo-drawarrays',
135 'vbo-noninterleaved',
136 'vbo-drawelements',
137 'vbo-drawrange',
138 'vp-array',
139 'vp-array-int',
140 'vp-clip',
141 'vp-line-clip',
142 'vp-tri',
143 'vp-tri-invariant',
144 'vp-tri-swap',
145 'vp-tri-tex',
146 'vp-tri-imm',
147 'vp-tri-cb',
148 'vp-tri-cb-pos',
149 'vp-tri-cb-tex',
150 'vp-unfilled',
151 ]
152
153 for prog in progs:
154 prog = progs_env.Program(
155 target = prog,
156 source = prog + '.c',
157 )
158
159 # auto code generation
160 #getprocaddress: getprocaddress.c getproclist.h
161
162 #getproclist.h: $(TOP)/src/mesa/glapi/gen/gl_API.xml getprocaddress.c getprocaddress.py
163 # python getprocaddress.py > getproclist.h
164
165
166 #readtex.h: $(TOP)/progs/util/readtex.h
167 # ln -s $(TOP)/progs/util/readtex.h .
168
169 #readtex.c: $(TOP)/progs/util/readtex.c
170 # ln -s $(TOP)/progs/util/readtex.c .
171
172
173 #extfuncs.h: $(TOP)/progs/util/extfuncs.h
174 # cp $< .