--- ray/src/gen/SConscript 2010/12/15 21:51:46 1.14 +++ ray/src/gen/SConscript 2016/03/05 13:24:58 1.16 @@ -12,6 +12,8 @@ sun = env.Object(source="sun.c") PROGS = ( # name sources libs ('gendaylit', Split('gendaylit.c',)+[sun], ['rtlamps']), +('gendaymtx', Split('gendaymtx.c',)+[sun], + ['rtproc','rtscene','rtmath','rtargs','rtio','rtcont','rtpath','rterror',mlib]), ('genbeads', Split('genbeads.c hermite3.c'), []), ('genbox', ['genbox.c',], []), ('genmarble', ['genmarble.c',], []), @@ -28,10 +30,6 @@ 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']), -#('mksource', ['mksource.c'], -# ['rtio','rtmath','rterror']), ('xform', ['xform.c',], ['rtproc','rtscene','rtmath','rtargs','rtio','rtcont','rtpath','rterror']), ) @@ -45,24 +43,25 @@ prog = env.Program(target=os.path.join('$RAD_BUILDBIN' 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'] + 'rtnet','rtpath','rtmath','rtargs','rtio','rtcont','rtmem','rterror'] + mlib) progs.append(prog) 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','rtproc', + LIBS=['raycalls','rttrace','rtscene','rtpic','rtfunc','rtproc','rtnet', 'rtmath','rtcont','rtmem','rtargs','rtio','rtpath','rterror'] + mlib) progs.append(prog) if os.name == 'posix': - Default(env.InstallCsh(os.path.join('$RAD_BUILDBIN', 'glaze'), 'glaze.csh')) + Default(env.InstallScript(os.path.join('$RAD_BUILDBIN', 'glaze'), 'glaze.csh')) Default('#src/gen') env.Install('$RAD_BINDIR', progs) #surf.cal clockface.hex -LIBFILES = Split('illum.cal rev.cal skybright.cal glaze1.cal glaze2.cal perezlum.cal coeff_perez.dat defangle.dat') +LIBFILES = Split('''illum.cal rev.cal skybright.cal glaze1.cal glaze2.cal + perezlum.cal coeff_perez.dat defangle.dat''') env.Append(RAD_RLIBINSTALL=env.Install('$RAD_RLIBDIR', LIBFILES)) - +# vim: set syntax=python: