blob: f01525d6fa1d5cf2f012c7dedf1dd364e1e96fe3 [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',
84 'mipmap_limits',
85 'mipmap_view',
86 'multipal',
87 'multitexarray',
88 'multiwindow',
89 'no_s3tc',
90 'packedpixels',
91 'pbo',
92 'prog_parameter',
93 'projtex',
94 'quads',
95 'random',
96 'readrate',
97 'rubberband',
98 'seccolor',
99 'shader_api',
100 'stencil_twoside',
101 'stencil_wrap',
102 'stencilwrap',
103 'subtex',
104 'subtexrate',
105 'tex1d',
106 'texcmp',
107 'texfilt',
108 'texgenmix',
109 'texline',
110 'texrect',
111 'texwrap',
112 'unfilledclip',
113 'vao-01',
114 'vao-02',
115 'vparray',
116 'vpeval',
117 'vptest1',
118 'vptest2',
119 'vptest3',
120 'vptorus',
121 'vpwarpmesh',
122 'yuvrect',
123 'yuvsquare',
124 'zcomp',
125 'zdrawpix',
126 'zreaddraw',
127]
128
129for prog in progs:
130 env.Program(
131 target = prog,
132 source = prog + '.c',
133 )