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

Comparing ray/src/util/SConscript (file contents):
Revision 1.8 by schorsch, Sat Oct 23 18:55:53 2004 UTC vs.
Revision 1.11 by schorsch, Wed Sep 14 09:28:35 2005 UTC

# Line 9 | Line 9 | progs = []
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']),
# Line 33 | Line 31 | else:
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)
# Line 51 | Line 50 | getinfo = env.Program(target=radbin('getinfo'), source
50                  LIBS=['rtio'])
51   progs.append(getinfo)
52  
54 # special targets not normally built
55 if os.name != 'nt': # XXX pending replacement of fork() and friends
56        scanner = env.Program(target=radbin('scanner'), source='scanner.c',
57                        LIBS=mlib)
58        scanner_i = env.Install('$RAD_BINDIR', scanner)
59        makedist = env.Program(target=radbin('makedist'),
60                        source=Split('makedist.c')+[setscan],
61                        LIBS=['rtmath']+mlib)
62        makedist_i = env.Install('$RAD_BINDIR', makedist)
63        env.Alias('util_special', [scanner, makedist])
64        env.Alias('util_special_install', [scanner_i, makedist_i])
53  
54   # X11 targets
55   if env.has_key('X11LIB'):

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines