22 |
|
['rtpic','rtproc','rtpath','rtio','rtmath','rtargs','rtcont','rtmem','rterror']), |
23 |
|
('rpiece', Split('rpiece.c') + [Version], |
24 |
|
['rtpic','rtargs','rtio','rtproc','rtmath','rtpath','rtmem']), |
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']) |
31 |
|
] |
26 |
– |
if os.name == 'nt': # XXX should be set in a *.cfg file |
27 |
– |
netproc = 'win_netproc.c' |
28 |
– |
netlib = ['ws2_32'] |
29 |
– |
else: |
30 |
– |
netproc = 'netproc.c' |
31 |
– |
netlib = [] |
32 |
|
|
33 |
– |
PROGS.append(('ranimate', ['ranimate.c', netproc], |
34 |
– |
['rtpic','rtargs','rtio','rtcont','rtmem','rtpath','rtmath', |
35 |
– |
'rtnet','$RAD_SOCKETLIB','rterror'] + netlib)) |
33 |
|
for p in PROGS: |
34 |
|
prog = env.Program(target=radbin(p[0]), source=p[1], LIBS=p[2]+mlib) |
35 |
|
progs.append(prog) |