blob: a146ad9980ae331352e9b94e7ee46d484aca0237 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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)
|