7 reldir = str (Dir ('.').srcnode ())
9 sources = glob.glob ('*.cc')
10 includes = glob.glob ('include/*.hh')
16 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)
24 all_sources = ['SConscript',] + sources + includes
25 x = env.Tar (env['tarball'], all_sources)