--- ray/src/gen/SConscript 2005/09/19 12:32:12 1.7 +++ ray/src/gen/SConscript 2010/07/09 15:24:45 1.12 @@ -24,8 +24,8 @@ PROGS = ( ('genbranch', ['genbranch.c',], []), ('replmarks', ['replmarks.c',], ['rtproc','rtpath','rtmath','rtio','rterror']), -('mkillum', Split('mkillum.c mkillum2.c mkillum3.c'), - ['rtproc','rtscene','rtpath','rtmath','rtio','rtcont','rterror']), +#('mkillum', Split('mkillum.c mkillum2.c mkillum3.c'), +# ['rtproc','rtscene','rtpath','rtmath','rtio','rtcont','rterror']), #('mksource', ['mksource.c'], # ['rtio','rtmath','rterror']), ('xform', ['xform.c',], @@ -37,11 +37,17 @@ for p in PROGS: source=p[1], LIBS=p[2] + mlib) progs.append(prog) +prog = env.Program(target=os.path.join('$RAD_BUILDBIN', 'mkillum'), + source=Split('mkillum.c mkillum2.c mkillum3.c'), + CPPPATH=env.get('CPPPATH', []) + ['#src/rt'], + LIBS=['raycalls','rttrace','rtscene','rtpic','rtfunc','rtproc', + 'rtpath','rtmath','rtargs','rtio','rtcont','rtmem','rterror'] + + mlib) prog = env.Program(target=os.path.join('$RAD_BUILDBIN', 'mksource'), source=['mksource.c'], CPPPATH=env.get('CPPPATH', []) + ['#src/rt'], - LIBS=['raycalls','rttrace','rtscene','rtpic','rtfunc','rtio', - 'rtmath','rtcont','rtmem','rtargs','rtpath','rterror'] + mlib) + LIBS=['raycalls','rttrace','rtscene','rtpic','rtfunc','rtproc', + 'rtmath','rtcont','rtmem','rtargs','rtio','rtpath','rterror'] + mlib) progs.append(prog) if os.name == 'posix': @@ -51,7 +57,7 @@ Default('#src/gen') env.Install('$RAD_BINDIR', progs) #surf.cal clockface.hex -LIBFILES = Split('illum.cal rev.cal skybright.cal surf.cal glaze1.cal glaze2.cal clockface.hex') +LIBFILES = Split('illum.cal rev.cal skybright.cal glaze1.cal glaze2.cal') env.Append(RAD_RLIBINSTALL=env.Install('$RAD_RLIBDIR', LIBFILES))