]> git.donarmstrong.com Git - lilypond.git/blob - ttftool/SConscript
Scons stuff
[lilypond.git] / ttftool / SConscript
1 # -*-python-*-
2
3 Import ('env', 'src_glob')
4 sources = src_glob ('*.c')
5 includes = src_glob ('include/*.h')
6 outdir = Dir ('.').path
7
8 name = 'ttftool'
9 e = env.Copy ()
10 e.Append (CPPPATH = ['#/flower/include', '#/ttftool/include', outdir],
11           # sigh
12           CPPDEFINES = ['-D${BYTEORDER}ENDIAN', '-DSMALLENDIAN=LITTLEENDIAN'],)
13 if env['static']:
14         e.Library (name, sources) 
15 if not env['static'] or env['shared']:
16         e.SharedLibrary (name, sources)
17
18 po = env.Command ('lilypond.po', sources + includes, env['pocommand'])
19 env.Alias ('po-update', po)