2006-04-25 16:23:50 -04:00
|
|
|
# -*- python -*-
|
|
|
|
|
2006-04-25 20:45:27 -04:00
|
|
|
import os
|
|
|
|
import os.path
|
2005-05-13 16:47:18 -04:00
|
|
|
import glob
|
|
|
|
|
|
|
|
gnomecanvasmm_files = glob.glob('libgnomecanvasmm/*.cc')
|
|
|
|
|
2006-04-25 20:45:27 -04:00
|
|
|
Import('env libraries install_prefix')
|
2005-05-13 16:47:18 -04:00
|
|
|
gnomecanvasmm = env.Copy()
|
2006-07-13 23:43:32 -04:00
|
|
|
gnomecanvasmm.Merge([libraries['glibmm2'],
|
|
|
|
libraries['gtk2'],
|
|
|
|
libraries['sigc2'],
|
|
|
|
libraries['pangomm'],
|
|
|
|
libraries['atkmm'],
|
|
|
|
libraries['gdkmm2'],
|
|
|
|
libraries['gtkmm2'],
|
2007-11-12 18:44:49 -05:00
|
|
|
libraries['libgnomecanvas2'],
|
|
|
|
libraries['cairomm']])
|
|
|
|
|
2008-02-02 12:22:04 -05:00
|
|
|
if gnomecanvasmm['IS_OSX']:
|
|
|
|
gnomecanvasmm.Append (LINKFLAGS="-Xlinker -headerpad -Xlinker 2048")
|
2005-05-13 16:47:18 -04:00
|
|
|
|
2006-04-25 16:23:50 -04:00
|
|
|
libgnomecanvasmm = gnomecanvasmm.SharedLibrary('libgnomecanvasmm', gnomecanvasmm_files)
|
2005-05-13 16:47:18 -04:00
|
|
|
Default(libgnomecanvasmm)
|
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'), libgnomecanvasmm))
|
2006-04-25 20:45:27 -04:00
|
|
|
|
2006-01-10 23:36:44 -05:00
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
|
|
[ 'SConscript', 'libgnomecanvasmmconfig.h', 'libgnomecanvasmm.h'] +
|
|
|
|
gnomecanvasmm_files +
|
|
|
|
glob.glob('libgnomecanvasmm/*.h') +
|
|
|
|
glob.glob('libgnomecanvasmm/private/*.h')
|
|
|
|
))
|