Update of /cvsroot/pure-data/pd/extra In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32406
Added Files: Tag: devel_0_39 SConscript Log Message: scons build system for externals
--- NEW FILE: SConscript --- Import("pdenv")
extra_env = pdenv.Copy()
extra_env['SHLIBPREFIX']=''
if extra_env['PLATFORM'] == 'darwin': extra_env['SHLIBSUFFIX']='.pd_darwin' elif extra_env['PLATFORM'] == 'posix': extra_env['SHLIBSUFFIX']='.pd_linux'
extra_env.Append(CPPPATH='../src') extra_env.Append(CPPDEFINES='PD')
extras = []
for extra in Split("bonk~ choice fiddle~ loop~ lrshift~ pique"): extras.append(extra_env.SharedLibrary(extra, extra+'/'+extra+'.c'))
for extra in Split("expr expr~ fexpr~"): extras.append(extra_env.SharedLibrary(extra, map(lambda x: 'expr~/'+x+'.c', Split("vexp vexp_fun vexp_if"))))
Default(extras)
Return("extras")