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.7 by schorsch, Thu Oct 21 15:47:13 2004 UTC vs.
Revision 1.10 by schorsch, Mon Nov 8 19:24:46 2004 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 51 | Line 49 | getinfo = env.Program(target=radbin('getinfo'), source
49                  LIBS=['rtio'])
50   progs.append(getinfo)
51  
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])
52  
53   # X11 targets
54   if env.has_key('X11LIB'):
# Line 89 | Line 76 | if os.name == 'posix': # XXX ignoring trad.wsh
76          for s in Split('''objview objline objpict
77                          glare dayfact debugcal rlux raddepend compamb vinfo genambpos'''):
78                  Default(env.InstallCsh(radbin(s), s + '.csh'))
79 + # Those don't really work yet
80 + #else:
81 + #       for s in Split('''objview glare rlux '''):
82 + #               prog = env.Program(target=radbin(s), source=s+'.c')
83 + #               progs.append(prog)
84  
85   Default('#src/util')
86   env.Install('$RAD_BINDIR', progs)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines