blob: bf1e7f8a7d8d047b84b987cbeea4031cc6b1ff72 [file] [log] [blame]
Keith Whitwella58065d2009-03-10 13:11:23 +00001Import('*')
2
3if not env['GLUT']:
4 Return()
5
6env = env.Clone()
7
8env.Prepend(CPPPATH = [
9 '../util',
10])
11
12env.Prepend(LIBS = [
13 util,
14 '$GLUT_LIB'
15])
16
17if env['platform'] == 'windows':
18 env.Append(CPPDEFINES = ['NOMINMAX'])
19 env.Prepend(LIBS = ['winmm'])
20
21linux_progs = [
22 'api_speed',
23]
24
25glx_progs = [
26 'auxbuffer',
27 'getprocaddress',
28 'jkrahntest',
29 'sharedtex',
30 'texcompress2',
31 'texobjshare',
32]
33
34mesa_progs = [
35 'debugger',
36]
37
38progs = [
39 'afsmultiarb',
40 'antialias',
41 'arbfpspec',
42 'arbfptest1',
43 'arbfptexture',
44 'arbfptrig',
45 'arbnpot-mipmap',
46 'arbnpot',
47 'arbvptest1',
48 'arbvptest3',
49 'arbvptorus',
50 'arbvpwarpmesh',
51 'arraytexture',
52 'blendminmax',
53 'blendsquare',
54 'blendxor',
55 'bufferobj',
56 'bug_3050',
57 'bug_3101',
58 'bug_3195',
59 'bug_texstore_i8',
60 'calibrate_rast',
61 'copypixrate',
62 'crossbar',
63 'cva',
64 'dinoshade',
65 'drawbuffers',
66 'exactrast',
67 'ext422square',
68 'fbotest1',
69 'fbotest2',
70 'fbotexture',
71 'fillrate',
72 'floattex',
73 'fog',
74 'fogcoord',
75 'fptest1',
76 'fptexture',
77 'interleave',
78 'invert',
79 'lineclip',
80 'manytex',
81 'mapbufrange',
82 'mapvbo',
83 'minmag',
Keith Whitwellf02aaa82009-03-18 14:01:47 +000084 'mipgen',
Keith Whitwella58065d2009-03-10 13:11:23 +000085 'mipmap_limits',
86 'mipmap_view',
87 'multipal',
88 'multitexarray',
89 'multiwindow',
90 'no_s3tc',
91 'packedpixels',
92 'pbo',
93 'prog_parameter',
94 'projtex',
95 'quads',
96 'random',
97 'readrate',
98 'rubberband',
99 'seccolor',
100 'shader_api',
101 'stencil_twoside',
102 'stencil_wrap',
103 'stencilwrap',
104 'subtex',
105 'subtexrate',
106 'tex1d',
107 'texcmp',
Jakob Bornecrantz39320c12009-03-22 08:46:18 +0100108 'texcompress2',
Keith Whitwella58065d2009-03-10 13:11:23 +0000109 'texfilt',
110 'texgenmix',
111 'texline',
112 'texrect',
113 'texwrap',
114 'unfilledclip',
115 'vao-01',
116 'vao-02',
117 'vparray',
118 'vpeval',
119 'vptest1',
120 'vptest2',
121 'vptest3',
122 'vptorus',
123 'vpwarpmesh',
124 'yuvrect',
125 'yuvsquare',
126 'zcomp',
127 'zdrawpix',
128 'zreaddraw',
129]
130
131for prog in progs:
132 env.Program(
133 target = prog,
134 source = prog + '.c',
135 )