ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/gen/SConscript
(Generate patch)

Comparing ray/src/gen/SConscript (file contents):
Revision 1.3 by schorsch, Thu Jan 1 20:55:42 2004 UTC vs.
Revision 1.6 by schorsch, Mon Sep 12 14:44:09 2005 UTC

# Line 14 | Line 14 | PROGS = (
14   ('gensky',      Split('gensky.c sun.c',), []),
15   ('genblinds',   ['genblinds.c',], []),
16   ('genprism',    ['genprism.c',],  []),
17 < ('genrev',      ['genrev.c',],    ['rterror','rtfunc','rtcont','rtmem']),
17 > ('genrev',      ['genrev.c',],    ['rtfunc','rtcont','rtmem','rtio','rterror']),
18   ('gencatenary', ['gencat.c',],    []),
19 < ('genworm',     ['genworm.c',],   ['rtfunc','rtmem','rtcont','rtmath']),
20 < ('gensurf',     ['gensurf.c',],   ['rtfunc','rtmem','rtcont','rtmath','rtio']),
19 > ('genworm',     ['genworm.c',],
20 >        ['rtfunc','rtmem','rtcont','rtmath','rtio','rterror']),
21 > ('gensurf',     ['gensurf.c',],
22 >        ['rtfunc','rtmem','rtcont','rtmath','rtio','rterror']),
23   ('genclock',    ['genclock.c',],  []),
24   ('genbranch',   ['genbranch.c',], []),
25   ('replmarks',   ['replmarks.c',],
26          ['rtproc','rtpath','rtmath','rtio','rterror']),
27   ('mkillum',     Split('mkillum.c mkillum2.c mkillum3.c'),
28 <    ['rtscene','rtproc','rtpath','rtmath','rtio','rtcont','rterror']),
28 >    ['rtproc','rtscene','rtpath','rtmath','rtio','rtcont','rterror']),
29   ('xform',       ['xform.c',],
30      ['rtproc','rtscene','rtmath','rtargs','rtio','rtcont','rtpath','rterror']),
31   )
32 + progs = []
33   for p in PROGS:
34      prog = env.Program(target=os.path.join(env['RAD_BUILDBIN'], p[0]),
35              source=p[1], LIBS=p[2] + mlib)
36 <    Default(prog)
34 <    env.Append(RAD_BININSTALL=[env.Install(env['RAD_BINDIR'], prog)])
36 >    progs.append(prog)
37  
38 + if os.name == 'posix':
39 +        Default(env.InstallCsh(os.path.join('$RAD_BUILDBIN', 'glaze'), 'glaze.csh'))
40 +
41 + Default('#src/gen')
42 + env.Install('$RAD_BINDIR', progs)
43 +
44   #surf.cal clockface.hex
45 < LIBFILES = Split('illum.cal rev.cal skybright.cal glaze1.cal glaze2.cal')
46 < env.Append(RAD_RLIBINSTALL=env.Install(env['RAD_RLIBDIR'], LIBFILES))
45 > LIBFILES = Split('illum.cal rev.cal skybright.cal surf.cal glaze1.cal glaze2.cal clockface.hex')
46 > env.Append(RAD_RLIBINSTALL=env.Install('$RAD_RLIBDIR', LIBFILES))
47 >
48  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines