8 reldir = str (Dir ('.').srcnode ())
10 sources = glob.glob ('*.cc')
11 includes = glob.glob ('include/*.hh')
13 outdir = os.path.join (env['build'], reldir, env['out'])
17 e.Append (CPPPATH = [outdir, 'include'])
19 e.Library (name, sources)
20 if not env['static'] or env['shared']:
21 e.SharedLibrary (name, sources)
23 all_sources = ['SConscript',] + sources + includes
24 ballprefix = env['ballprefix'] + '/flower'
25 ball = Builder (prefix = ballprefix + '/', action = 'ln $SOURCE $TARGET')
26 #et = env.Copy (BUILDERS = {'BALL': ball})
28 #ballize = map (et.BALL, all_sources)
29 tar = env.Tar (env['tarball'],
30 map (lambda x: os.path.join (ballprefix, x), all_sources))