3 Import ('env', 'src_glob')
4 sources = src_glob ('*.c')
5 includes = src_glob ('include/*.h')
6 outdir = Dir ('.').path
10 e.Append (CPPPATH = ['#/flower/include', '#/ttftool/include', outdir],
12 CPPDEFINES = ['-D${BYTEORDER}ENDIAN', '-DSMALLENDIAN=LITTLEENDIAN'],)
14 e.Library (name, sources)
15 if not env['static'] or env['shared']:
16 e.SharedLibrary (name, sources)
18 po = env.Command ('lilypond.po', sources + includes, env['pocommand'])
19 env.Alias ('po-update', po)