| 26 |  | ['rtpic','rtproc','rtpath','rtio','rtargs','rtmath','rtcont','rtmem','rterror']), | 
| 27 |  | ('pfilt',    Split('pfilt.c pf2.c pf3.c'), | 
| 28 |  | ['rtlamps','rtpic','rtio','rtpath','rtargs','rtmath']), | 
| 29 | – | ('pcwarp',   ['pcwarp.c', warp3d], | 
| 30 | – | ['rtpic','rtio','rtcont','rtmem','rterror']), | 
| 29 |  | ('pvalue',   ['pvalue.c'],    ['rtpic','rtio','rtargs','rtmath']), | 
| 30 |  | ('pcompos',  ['pcompos.c'],   ['rtpic','rtproc','rtpath','rtio','rterror']), | 
| 31 |  | ('psign',    ['psign.c'], | 
| 38 |  | ('pinterp',  ['pinterp.c'], | 
| 39 |  | ['rtproc','rtpic','rtio','rtpath','rtargs','rtmath','rtmem','rterror']), | 
| 40 |  |  | 
| 43 | – | ('oki20c',   ['oki20c.c'],['rtpic','rtproc','rtpath','rtio','rtmem','rterror']), | 
| 44 | – | ('oki20',    ['oki20.c'], ['rtpic','rtproc','rtpath','rtio','rtmem','rterror']), | 
| 45 | – |  | 
| 41 |  | ('ra_gif',   ['ra_gif.c', clrtab, neuclrtab], ['rtpic','rtio','rtmem']), | 
| 47 | – | ('ra_pr',    Split('ra_pr.c biq.c')+ [ciq, cut, closest], | 
| 48 | – | ['rtpic','rtio','rtmem']), | 
| 49 | – | ('ra_pr24',  ['ra_pr24.c'],   ['rtpic','rtio','rtmem']), | 
| 50 | – | ('ra_avs',   ['ra_avs.c'],    ['rtpic','rtio','rtmem']), | 
| 42 |  | ('ra_ps',    ['ra_ps.c'],     ['rtpic','rtio','rtargs','rtmem']), | 
| 43 |  | ('ra_ppm',   ['ra_ppm.c'],    ['rtpic','rtio','rtmem']), | 
| 44 |  | ('ra_bmp',   ['ra_bmp.c'],    ['rtpic','rtproc','rtio','rtmem']), | 
| 45 |  | ('ra_t8',    ['ra_t8.c', clrtab, neuclrtab], ['rtpic','rtio','rtmem']), | 
| 46 |  | ('ra_t16',   ['ra_t16.c'],    ['rtpic','rtio','rtmem']), | 
| 56 | – | ('ra_bn',    ['ra_bn.c'],     ['rtpic','rtio','rtmem']), | 
| 47 |  | ('ra_rgbe', ['ra_rgbe.c'],['rtpic','rtproc','rtpath','rtio','rtmem','rterror']), | 
| 48 |  | ('ra_pict',  ['ra_pict.c'],   ['rtpic','rtio','rtmem']), | 
| 49 |  | ('ra_hexbit',['ra_hexbit.c'], ['rtpic','rtio','rtmem']), | 
| 57 |  | progs.append(prog) | 
| 58 |  |  | 
| 59 |  |  | 
| 70 | – | # special targets not normally built | 
| 71 | – | SPECIAL = ( | 
| 72 | – | # name          files             libs | 
| 73 | – | ('psum',       ['psum.c'],       ['rtpic','rtio']), | 
| 74 | – | #('panim',      ['panim.c'],      ['client','rpcsvc']),# missing externals | 
| 75 | – |  | 
| 76 | – | ('ra_im',      ['ra_im.c'],      ['rtproc','rtpath','rtio','rterror']), | 
| 77 | – |  | 
| 78 | – | #('aedimage',   Split('aedimage.c')+[ciq, cut, closest],[]),# missing externals | 
| 79 | – | ('t4027',      ['t4027.c'],      ['rtpic']), | 
| 80 | – | ('paintjet',   ['paintjet.c'],   ['rtpic','rtio','rtmem']), | 
| 81 | – | ('mt160r',     ['mt160r.c'],     ['rtpic','rtio','rtmem']), | 
| 82 | – | ('greyscale',  ['greyscale.c'],  ['rtpic']), | 
| 83 | – | ('colorscale', ['colorscale.c'], ['rtpic']), | 
| 84 | – | ('d48c',       ['d48c.c'],       ['rtpic']), | 
| 85 | – | ) | 
| 86 | – | specprogs = [] | 
| 87 | – | specinst = [] | 
| 88 | – | for p in SPECIAL: | 
| 89 | – | prog = env.Program(target=radbin(p[0]), source=p[1], LIBS=p[2]+mlib) | 
| 90 | – | specprogs.append(prog) | 
| 91 | – | specinst.append(env.Install('$RAD_BINDIR', prog)) | 
| 92 | – | env.Alias('px_special', specprogs) | 
| 93 | – | env.Alias('px_special_install', specinst) | 
| 94 | – |  | 
| 95 | – |  | 
| 60 |  | # tiff library (unix-specific for the moment) | 
| 61 |  | if os.name == 'posix': | 
| 62 |  | cwd = os.getcwd() | 
| 78 |  | progs.append(normtiff) | 
| 79 |  |  | 
| 80 |  |  | 
| 117 | – | # pixar format requires extra lib | 
| 118 | – | if env.has_key('PIXAR_LIB'): | 
| 119 | – | ra_pixar = env.Program(radbin('ra_pixar'), source=['ra_pixar.c'], | 
| 120 | – | LIBS=['rtpic', '$PIXAR_LIB']) | 
| 121 | – | progs.append(ra_pixar) | 
| 122 | – |  | 
| 123 | – |  | 
| 81 |  | # X11 targets | 
| 82 |  | if env.has_key('X11LIB'): | 
| 83 |  | xincl = env.get('CPPPATH', []) + ['$X11INCLUDE'] | 
| 95 |  | source=Split('xshowtrace.c') + [x11findwind], | 
| 96 |  | CPPPATH=xincl, LIBPATH=xlibp, LIBS=xlibs + mlib) | 
| 97 |  | progs.append(xshowtrace) | 
| 141 | – |  | 
| 142 | – | # NeWS ?!? | 
| 143 | – | #    if env.has_key('OGL'): | 
| 144 | – | #        glimage = env.Program(target=radbin('glimage'), | 
| 145 | – | #            CPPFLAGS=env.get('CPPFLAGS', []) + [env['RAD_STEREO']], | 
| 146 | – | #            source=Split('glimage.c'), | 
| 147 | – | #            LIBS=['gl_s']+env['LIBS'],) | 
| 148 | – | #        progs.append(glimage) | 
| 98 |  |  | 
| 99 |  |  | 
| 100 |  | if os.name == 'posix': # XXX ignoring trad.wsh |