| 23 |
|
['rtpic','rtio','rtproc','rtargs','rtmath','rtmem','rterror']), |
| 24 |
|
('rhinfo', Split('rhinfo.c') + [holofile, holo], |
| 25 |
|
['rtio','rtproc', 'rtmath','rterror']), |
| 26 |
– |
#('genrhenv', Split('genrhenv.c') + [holofile, holo], |
| 27 |
– |
# []), # XXX broken |
| 26 |
|
('genrhgrid', Split('genrhgrid.c') + [holofile, holo], |
| 27 |
|
['rtio','rtmath','rtproc','rterror']), |
| 28 |
|
) |
| 72 |
|
|
| 73 |
|
if env.has_key('OGL'): |
| 74 |
|
rgllibs = ['rgl','rtscene','rtpath'] |
| 77 |
– |
# XXX There's a BITS(x) macro missing in sm_geom.h |
| 78 |
– |
#sm_common_s = Split('''sm_samp.c sm_qtree.c sm_stree.c sm_geom.c |
| 79 |
– |
# sm_list.c sm_del.c sm_ogl.c sm_usets.c sm.c''') |
| 80 |
– |
#sm_common = map(lambda s:xenv.Object(source=s), sm_common_s) |
| 75 |
|
ogl_common_s = Split('rhd_odraw.c rhd_geom.c') |
| 76 |
|
ogl_common = map(lambda s:xenv.Object(source=s), ogl_common_s) |
| 77 |
|
rhdobj = xenv.Object(source='rhdobj.c') |
| 78 |
|
|
| 79 |
|
GLHDI = ( |
| 80 |
+ |
# glx1h |
| 81 |
|
('glx1', ['rhd_qtree2c.c', rhd_qtree], |
| 82 |
|
dlibs + ['GLU','GL','X11'] + mlib, |
| 83 |
|
'rhd_glx1', 'rhd_glx1.c', ['-DNOSTEREO']), |
| 84 |
|
|
| 85 |
< |
#('glx', sm_common, |
| 91 |
< |
# dlibs + ['GLU','GL','X11'] + mlib, |
| 92 |
< |
# 'rhd_glx0', 'rhd_glx.c', ['-DNOSTEREO']), |
| 93 |
< |
|
| 94 |
< |
#('glxo', [rhdobj] + sm_common, |
| 95 |
< |
# rgllibs+dlibs+['GLU','GL','X11'] + mlib, |
| 96 |
< |
# 'rhd_glxo', 'rhd_glx.c', ['-DDOBJ', '-DNOSTEREO']), |
| 97 |
< |
|
| 85 |
> |
# oglh |
| 86 |
|
('ogl', ogl_common, |
| 87 |
|
rgllibs+dlibs+['GLU','GL','X11'] + mlib, |
| 88 |
|
'rhd_ogl0', 'rhd_ogl.c', ['-DNOSTEREO']), |
| 89 |
|
|
| 90 |
+ |
# ogloh |
| 91 |
|
('oglo', [rhdobj] + ogl_common, |
| 92 |
|
rgllibs+['rtproc']+dlibs+['GLU','GL','X11'] + mlib, |
| 93 |
|
'rhd_oglo', 'rhd_ogl.c', ['-DDOBJ', '-DNOSTEREO']), |
| 97 |
|
if xenv['RAD_STEREO'] == '-DSTEREO': |
| 98 |
|
|
| 99 |
|
GLSHDI = ( |
| 100 |
< |
#('glxs', sm_common, |
| 112 |
< |
# dlibs + ['GLU','GL','X11','Xext'] + mlib, |
| 113 |
< |
# 'rhd_glxs', 'rhd_glx.c' ['-DSTEREO']), |
| 114 |
< |
|
| 115 |
< |
#('glxso', [rhdobj] + sm_common, |
| 116 |
< |
# rgllibs+dlibs+['GLU','GL','X11','Xext'] + mlib, |
| 117 |
< |
# 'rhd_glxo', 'rhd_glx.c' ['-DDOBJ', '-DSTEREO']), |
| 118 |
< |
|
| 100 |
> |
# oglsh |
| 101 |
|
('ogls', ogl_common, |
| 102 |
|
rgllibs+dlibs+['GLU','GL','X11','Xext'] + mlib, |
| 103 |
|
'rhd_ogls', 'rhd_ogl.c' ['-DSTEREO']), |
| 104 |
|
|
| 105 |
+ |
# oglsoh |
| 106 |
|
('oglso', [rhdobj] + ogl_common, |
| 107 |
|
rgllibs+dlibs+['GLU','GL','X11','Xext'] + mlib, |
| 108 |
|
'rhd_oglso', 'rhd_ogl.c' ['-DDOBJ', '-DSTEREO']), |