2006-04-25 16:23:50 -04:00
|
|
|
# -*- python -*-
|
|
|
|
|
2005-05-13 16:47:18 -04:00
|
|
|
import os
|
2006-04-25 20:45:27 -04:00
|
|
|
import os.path
|
|
|
|
import glob
|
2005-05-13 16:47:18 -04:00
|
|
|
|
|
|
|
pangomm_files = glob.glob('pangomm/*.cc')
|
|
|
|
|
2006-04-25 20:45:27 -04:00
|
|
|
Import('env libraries install_prefix')
|
2005-05-13 16:47:18 -04:00
|
|
|
pangomm = env.Copy()
|
2007-11-12 18:44:49 -05:00
|
|
|
pangomm.Merge([libraries['glibmm2'], libraries['pango'], libraries['sigc2'], libraries['cairomm'], libraries['cairo']])
|
2005-05-13 16:47:18 -04:00
|
|
|
|
2008-02-16 17:55:47 -05:00
|
|
|
if pangomm['IS_OSX']:
|
|
|
|
pangomm.Append (LINKFLAGS="-Xlinker -headerpad -Xlinker 2048")
|
|
|
|
|
2006-04-25 16:23:50 -04:00
|
|
|
libpangomm = pangomm.SharedLibrary('pangomm', pangomm_files)
|
2005-05-13 16:47:18 -04:00
|
|
|
Default(libpangomm)
|
2006-01-10 23:36:44 -05:00
|
|
|
|
2008-02-21 14:30:01 -05:00
|
|
|
env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), libpangomm))
|
2006-04-25 20:45:27 -04:00
|
|
|
|
2006-01-10 23:36:44 -05:00
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
|
|
[ 'SConscript', 'pangomm.h'] +
|
|
|
|
pangomm_files +
|
|
|
|
glob.glob('pangomm/*.h') +
|
|
|
|
glob.glob('pangomm/private/*.h')
|
|
|
|
))
|