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.9 by schorsch, Fri Nov 5 22:15:44 2004 UTC vs.
Revision 1.12 by schorsch, Mon Sep 19 11:30:11 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 24 | Line 22 | PROGS = [
22          ['rtpic','rtproc','rtpath','rtio','rtmath','rtargs','rtcont','rtmem','rterror']),
23   ('rpiece',    Split('rpiece.c') + [Version],
24          ['rtpic','rtargs','rtio','rtproc','rtmath','rtpath','rtmem']),
25 + ('ranimate',  ['ranimate.c', '$RAD_NETCOMPAT'],
26 +        ['rtpic','rtargs','rtio','rtproc','rtcont','rtmem','rtpath','rtmath',
27 +        'rtnet','rterror','$RAD_SOCKETLIB']),
28 + ('rtcontrib', ['rtcontrib.c', Version],
29 +        ['rtpic','rtargs','rtfunc','rtio','rtproc','rtcont','rtmem','rtpath',
30 +        'rtmath','rtnet','rterror','$RAD_SOCKETLIB'])
31   ]
28 if os.name == 'nt': # XXX should be set in a *.cfg file
29        netproc = 'win_netproc.c'
30        netlib = ['ws2_32']
31 else:
32        netproc = 'netproc.c'
33        netlib = []
32  
35 PROGS.append(('ranimate',  ['ranimate.c', netproc],
36        ['rtpic','rtargs','rtio','rtcont','rtmem','rtpath','rtmath','rtnet','rterror'] + netlib))
33   for p in PROGS:
34          prog = env.Program(target=radbin(p[0]), source=p[1], LIBS=p[2]+mlib)
35          progs.append(prog)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines