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()
|
|
|
|
pangomm.Merge([libraries['glibmm2'], libraries['pango'], libraries['sigc2']])
|
|
|
|
|
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
|
|
|
|
2007-01-03 15:00:57 -05:00
|
|
|
env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour2'), 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')
|
|
|
|
))
|