Update of /cvsroot/pure-data/externals/build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29290
Added Files: SConstruct Log Message: round one, existing build system sources only
--- NEW FILE: SConstruct --- import glob import os import re location = "/usr/local/lib/pd" IncludePaths = Split(location + '/src /usr/local/include . include')
Source = glob.glob('src/*.c') extras = glob.glob('*.pd_linux') helpfiles = glob.glob('doc/*.pd')
env = Environment(CPPPATH = IncludePaths, CPPDEFINES=['PD', 'UNIX'], SHLIBPREFIX = '', SHLIBSUFFIX = '.pd_linux', CCFLAGS = '-pipe -O2')
env.Alias('install', env.Install(os.path.join(location, 'extra'), extras)) env.Alias('install', env.Install(os.path.join(location, 'doc/5.reference'), helpfiles))
for extra in Source: env.SharedLibrary(re.sub(".c$","",os.path.basename(extra)), extra)