25 |
|
('ranimate', ['ranimate.c', '$RAD_NETCOMPAT'], |
26 |
|
['rtpic','rtargs','rtio','rtproc','rtcont','rtmem','rtpath','rtmath', |
27 |
|
'rtnet','rterror','$RAD_SOCKETLIB']), |
28 |
< |
('rtcontrib', ['rtcontrib.c', Version], |
29 |
< |
['rtpic','rtargs','rtfunc','rtio','rtproc','rtcont','rtmem','rtpath', |
30 |
< |
'rtmath','rtnet','rterror','$RAD_SOCKETLIB']) |
28 |
> |
('dctimestep', Split('dctimestep.c cmbsdf.c cmatrix.c'), |
29 |
> |
['rtall']) |
30 |
|
] |
31 |
|
|
32 |
|
for p in PROGS: |
40 |
|
ranimove = env.Program(target=radbin('ranimove'), source=rs, |
41 |
|
CPPPATH=env.get('CPPPATH', [])+ ['#src/rt'], |
42 |
|
LIBS=['raycalls','rttrace','rtscene','rtpic','rtfunc','rtmath', |
43 |
< |
'rtcont','rtmem','rtargs','rtio','rtproc','rtpath','rterror'] |
43 |
> |
'rtnet','rtcont','rtmem','rtargs','rtio','rtproc','rtpath','rterror'] |
44 |
|
+ mlib) |
45 |
|
progs.append(ranimove) |
46 |
|
rsensor = env.Program(target=radbin('rsensor'), source='rsensor.c', |
47 |
|
CPPPATH=env.get('CPPPATH', [])+ ['#src/rt'], |
48 |
|
LIBS=['raycalls','rttrace','rtscene','rtpic','rtfunc','rtmath', |
49 |
|
'rtcont','rtmem','rtargs','rtio','rtpath','rterror','rtproc', |
50 |
< |
'rtlamps'] + mlib) |
50 |
> |
'rtnet','rtlamps'] + mlib) |
51 |
|
progs.append(rsensor) |
52 |
|
|
53 |
|
getinfo = env.Program(target=radbin('getinfo'), source='getinfo.c', |
59 |
|
if env.has_key('X11LIB'): |
60 |
|
xincl = env.get('CPPPATH', []) + ['$X11INCLUDE'] |
61 |
|
xlibp = env.get('LIBPATH', []) + ['$X11LIB'] |
63 |
– |
x11findwind = env.Object(source='#src/common/x11findwind.c', CPPPATH=xincl) |
62 |
|
xglaresrc = env.Program(target=radbin('xglaresrc'), |
63 |
< |
source=Split('xglaresrc.c') + [x11findwind], |
63 |
> |
source=Split('xglaresrc.c') + [env.x11findwind], # XXX remote magic |
64 |
|
LIBPATH=xlibp, CPPPATH=xincl, |
65 |
|
LIBS=['rtpic','rtmath','rtargs','rtio','X11']+ mlib) |
66 |
|
progs.append(xglaresrc) |
71 |
|
CPPFLAGS=env.get('CPPFLAGS', []) + ['$RAD_STEREO'], |
72 |
|
LIBPATH=xlibp, CPPPATH=xincl, |
73 |
|
LIBS=['rgl','rtpic','rtscene','rtproc','rtpath','rtargs','rtio', |
74 |
< |
'rtmath','rtcont','rtmem','rterror', |
75 |
< |
'GL', 'GLU','X11'],) |
74 |
> |
'rtmath','rtcont','rtmem','rterror','rtdummy', |
75 |
> |
'GL', 'GLU','X11'] + mlib,) |
76 |
|
progs.append(glrad) |
77 |
|
|
78 |
|
if os.name == 'posix': # XXX ignoring trad.wsh |
79 |
|
for s in Split('''objview objline objpict glare dayfact |
80 |
|
debugcal rlux raddepend compamb vinfo genambpos fieldcomb'''): |
81 |
< |
Default(env.InstallCsh(radbin(s), s + '.csh')) |
81 |
> |
Default(env.InstallScript(radbin(s), s + '.csh')) |
82 |
|
# Those don't really work yet |
83 |
|
#else: |
84 |
|
# for s in Split('''objview glare rlux '''): |