| 33 |
|
('ies2rad', ['ies2rad.c'], ['rtlamps','rtcolor','rtio','rtpath']+ mlib), |
| 34 |
|
('arch2rad', ['arch2rad.c',trans],['rtcont','rtmem'] + mlib), |
| 35 |
|
('nff2rad', ['nff2rad.c'], []), |
| 36 |
< |
('lampcolor', ['lampcolor.c'], ['rtlamps','rtcolor','rtpath']), |
| 36 |
> |
('lampcolor', ['lampcolor.c'], ['rtlamps','rtcolor','rtio','rtpath']), |
| 37 |
|
('tmesh2rad', ['tmesh2rad.c'], ['rtscene','rtmath'] + mlib), |
| 38 |
|
('obj2rad', ['obj2rad.c',trans], |
| 39 |
|
['rtscene','rtargs','rtio','rtcont','rtmem','rtmath','rterror'] + mlib), |
| 41 |
|
('rad2mgf', ['rad2mgf.c'], |
| 42 |
|
['rtproc', 'rtpath', # for win_popen() |
| 43 |
|
'rtscene','rtio','rtcolor','rtcont','rtmem','rterror'] + mlib), |
| 44 |
– |
('mgf2meta', ['mgf2meta.c'], |
| 45 |
– |
['meta','rtmath','rtcont','rtmem','rterror','mgf'] + mlib), |
| 44 |
|
] |
| 45 |
|
for p in PROGS: |
| 46 |
|
prog = env.Program(target=radbin(p[0]), source=p[1], LIBS=p[2]) |
| 47 |
|
Default(prog) |
| 48 |
|
env.Append(RAD_BININSTALL=[env.Install(env['RAD_BINDIR'], prog)]) |
| 49 |
+ |
|
| 50 |
+ |
# meta targets |
| 51 |
+ |
prog = env.Program(target=radbin('mgf2meta'), source=['mgf2meta.c'], |
| 52 |
+ |
CPPPATH=env.get('CPPPATH', []) + [os.path.join('#src','meta')], |
| 53 |
+ |
LIBS=['meta','rtmath','rtcont','rtmem','rterror','mgf'] + mlib) |
| 54 |
|
|
| 55 |
|
LIBFILES = Split('source.cal tilt.cal')# lamp.tab') |
| 56 |
|
env.Append(RAD_RLIBINSTALL=env.Install(env['RAD_RLIBDIR'], LIBFILES)) |