Update of /cvsroot/pure-data/externals/OSCx In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8470/OSCx
Added Files: SConscript Log Message: OSCx
--- NEW FILE: SConscript --- import glob import os import re Import('env prefix')
libOSC = glob.glob('libOSC/OSC*.c') miscOSC = Split('src/htmsocket.c src/OSC-pattern-match.c src/OSC-system-dependent.c')
for OSCexternal in Split('dumpOSC sendOSC OSC OSCroute'): src = ["src/" + OSCexternal + ".c", libOSC, miscOSC] if (OSCexternal == 'OSC'): src.extend(Split('src/dumpOSC.c src/sendOSC.c src/OSCroute.c')) OSCx = env.SharedLibrary(target = re.sub(".c$","",os.path.basename(OSCexternal)), source = src, CPPPATH = ['$CPPPATH', 'libOSC']) env.Alias('install', env.Install(os.path.join(prefix, 'extra'), OSCx)) Default(OSCx)
env.Alias('install', env.Install(os.path.join(prefix, 'doc/5.reference'), glob.glob('doc/*.pd')))