| 9 |
|
def radbin(name): return os.path.join('$RAD_BUILDBIN', name) |
| 10 |
|
def radlib(name): return os.path.join('$RAD_BUILDLIB', name) |
| 11 |
|
|
| 12 |
– |
setscan = env.Object(source='setscan.c') |
| 12 |
|
Version = env.Object(source='../rt/Version.c') # XXX ../rt/not_nice |
| 13 |
|
|
| 14 |
|
# standard targets |
| 15 |
|
PROGS = [ |
| 16 |
< |
('findglare', Split('findglare.c glareval.c glaresrc.c')+[setscan], |
| 16 |
> |
('findglare', Split('findglare.c glareval.c glaresrc.c setscan.c'), |
| 17 |
|
['rtpic','rtargs','rtio','rtproc','rtmath','rtpath','rtmem','rterror']), |
| 19 |
– |
#('contour', Split('contour.c'), ['rtmath']), # XXX what is this? |
| 18 |
|
('glarendx', Split('glarendx.c'), ['rtpic','rtio','rtargs','rtmath']), |
| 19 |
|
('vwright', Split('vwright.c'), ['rtpic','rtio','rtargs','rtmath']), |
| 20 |
|
('vwrays', Split('vwrays.c'), ['rtpic','rtio','rtargs','rtmath']), |
| 31 |
|
netlib = [] |
| 32 |
|
|
| 33 |
|
PROGS.append(('ranimate', ['ranimate.c', netproc], |
| 34 |
< |
['rtpic','rtargs','rtio','rtcont','rtmem','rtpath','rtmath','rtnet','rterror'] + netlib)) |
| 34 |
> |
['rtpic','rtargs','rtio','rtcont','rtmem','rtpath','rtmath', |
| 35 |
> |
'rtnet','$RAD_SOCKETLIB','rterror'] + netlib)) |
| 36 |
|
for p in PROGS: |
| 37 |
|
prog = env.Program(target=radbin(p[0]), source=p[1], LIBS=p[2]+mlib) |
| 38 |
|
progs.append(prog) |