Update of /cvsroot/pure-data/externals/build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22961
Modified Files: SConstruct Log Message: build grill/ miXed/ zexy/
Index: SConstruct =================================================================== RCS file: /cvsroot/pure-data/externals/build/SConstruct,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SConstruct 12 Apr 2005 02:13:01 -0000 1.1 --- SConstruct 12 Apr 2005 06:21:21 -0000 1.2 *************** *** 2,17 **** 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) --- 2,16 ---- import os import re ! prefix = "/usr/local/lib/pd"
! env = Environment(CPPPATH = Split(prefix + '/src /usr/local/include . src'), CPPDEFINES=['PD', 'UNIX'], SHLIBPREFIX = '', SHLIBSUFFIX = '.pd_linux', CCFLAGS = '-pipe -O2')
! # C sources in src/ ! for extra in glob.glob('src/*.c'): env.SharedLibrary(re.sub(".c$","",os.path.basename(extra)), extra) + env.Alias('install', env.Install(os.path.join(prefix, 'extra'), glob.glob('*.pd_linux'))) + env.Alias('install', env.Install(os.path.join(prefix, 'doc/5.reference'), glob.glob('doc/*.pd'))) + + # libraries + for subdir in Split('../grill ../miXed ../zexy'): + SConscript (subdir + '/SConscript')