diff options
author | carmen rocco <ix9@users.sourceforge.net> | 2005-04-12 09:11:02 +0000 |
---|---|---|
committer | carmen rocco <ix9@users.sourceforge.net> | 2005-04-12 09:11:02 +0000 |
commit | 88485656c804e62535c617eb08c51bad0e139552 (patch) | |
tree | 709a4db42c244a98f0588399f24f5fab5560fc09 | |
parent | 14d6957fcddd0329063c4f042746e052fc049b1e (diff) |
scons
svn path=/trunk/externals/miXed/; revision=2725
-rw-r--r-- | SConscript | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -0,0 +1,31 @@ +import glob +import os +import re +Import('env prefix') + +env.Append(CPPPATH = 'shared') + +miXed_shared = [] +miXed_shared.extend(glob.glob('shared/common/*.c')) +miXed_shared.extend(Split('shared/unstable/fringe.c shared/unstable/forky.c shared/unstable/fragile.c shared/unstable/loader.c')) + +hammer_src = [] +hammer_src.extend(miXed_shared) +hammer_src.extend(glob.glob('shared/hammer/*.c')) +hammer_src.extend(glob.glob('cyclone/hammer/*.c')) +hammer = env.SharedLibrary(target = 'hammer', source = hammer_src) +env.Alias('install', env.Install(os.path.join(prefix, 'extra'), hammer)) + +sickle_src = [] +sickle_src.extend(miXed_shared) +sickle_src.extend(glob.glob('shared/sickle/*.c')) +sickle_src.extend(glob.glob('cyclone/sickle/*.c')) +sickle = env.SharedLibrary(target = 'sickle', source = sickle_src) +env.Alias('install', env.Install(os.path.join(prefix, 'extra'), sickle)) + + +env.Alias('install', env.Install(os.path.join(prefix, 'doc/5.reference/'), glob.glob('doc/help/*/*.pd'))) + +Default(miXed_shared) +Default(hammer) +Default(sickle) |