12 |
|
PROGS = ( |
13 |
|
# name sources libs |
14 |
|
('gendaylit', Split('gendaylit.c',)+[sun], ['rtlamps']), |
15 |
+ |
('gendaymtx', Split('gendaymtx.c',)+[sun], |
16 |
+ |
['rtproc','rtscene','rtmath','rtargs','rtio','rtcont','rtpath','rterror',mlib]), |
17 |
|
('genbeads', Split('genbeads.c hermite3.c'), []), |
18 |
|
('genbox', ['genbox.c',], []), |
19 |
|
('genmarble', ['genmarble.c',], []), |
30 |
|
('genbranch', ['genbranch.c',], []), |
31 |
|
('replmarks', ['replmarks.c',], |
32 |
|
['rtproc','rtpath','rtmath','rtio','rterror']), |
31 |
– |
#('mkillum', Split('mkillum.c mkillum2.c mkillum3.c'), |
32 |
– |
# ['rtproc','rtscene','rtpath','rtmath','rtio','rtcont','rterror']), |
33 |
– |
#('mksource', ['mksource.c'], |
34 |
– |
# ['rtio','rtmath','rterror']), |
33 |
|
('xform', ['xform.c',], |
34 |
|
['rtproc','rtscene','rtmath','rtargs','rtio','rtcont','rtpath','rterror']), |
35 |
|
) |
43 |
|
source=Split('mkillum.c mkillum2.c mkillum3.c'), |
44 |
|
CPPPATH=env.get('CPPPATH', []) + ['#src/rt'], |
45 |
|
LIBS=['raycalls','rttrace','rtscene','rtpic','rtfunc','rtproc', |
46 |
< |
'rtpath','rtmath','rtargs','rtio','rtcont','rtmem','rterror'] |
46 |
> |
'rtnet','rtpath','rtmath','rtargs','rtio','rtcont','rtmem','rterror'] |
47 |
|
+ mlib) |
48 |
|
progs.append(prog) |
49 |
|
prog = env.Program(target=os.path.join('$RAD_BUILDBIN', 'mksource'), |
50 |
|
source=['mksource.c'], |
51 |
|
CPPPATH=env.get('CPPPATH', []) + ['#src/rt'], |
52 |
< |
LIBS=['raycalls','rttrace','rtscene','rtpic','rtfunc','rtproc', |
52 |
> |
LIBS=['raycalls','rttrace','rtscene','rtpic','rtfunc','rtproc','rtnet', |
53 |
|
'rtmath','rtcont','rtmem','rtargs','rtio','rtpath','rterror'] + mlib) |
54 |
|
progs.append(prog) |
55 |
|
|
56 |
|
if os.name == 'posix': |
57 |
< |
Default(env.InstallCsh(os.path.join('$RAD_BUILDBIN', 'glaze'), 'glaze.csh')) |
57 |
> |
Default(env.InstallScript(os.path.join('$RAD_BUILDBIN', 'glaze'), 'glaze.csh')) |
58 |
|
|
59 |
|
Default('#src/gen') |
60 |
|
env.Install('$RAD_BINDIR', progs) |
61 |
|
|
62 |
|
#surf.cal clockface.hex |
63 |
< |
LIBFILES = Split('illum.cal rev.cal skybright.cal glaze1.cal glaze2.cal perezlum.cal coeff_perez.dat defangle.dat') |
63 |
> |
LIBFILES = Split('''illum.cal rev.cal skybright.cal glaze1.cal glaze2.cal |
64 |
> |
perezlum.cal coeff_perez.dat defangle.dat''') |
65 |
|
env.Append(RAD_RLIBINSTALL=env.Install('$RAD_RLIBDIR', LIBFILES)) |
66 |
|
|
67 |
< |
|
67 |
> |
# vim: set syntax=python: |