2005-11-10 23:30:28 -05:00
|
|
|
# -*- python -*-
|
2006-04-25 20:45:27 -04:00
|
|
|
|
2005-11-10 23:30:28 -05:00
|
|
|
import os
|
2006-04-25 20:45:27 -04:00
|
|
|
import os.path
|
|
|
|
import glob
|
2005-11-10 23:30:28 -05:00
|
|
|
|
2006-04-25 20:45:27 -04:00
|
|
|
Import('env libraries install_prefix')
|
2005-11-10 23:30:28 -05:00
|
|
|
|
|
|
|
libglademm_files = glob.glob('libglademm/*.cc')
|
|
|
|
|
|
|
|
libglademm = env.Copy()
|
|
|
|
libglademm.Merge([libraries['gtk2'], libraries['glade2'], libraries['sigc2'], libraries['glibmm2'], libraries['pangomm'], libraries['atkmm'], libraries['gdkmm2'], libraries['gtkmm2']])
|
|
|
|
|
2006-04-25 16:23:50 -04:00
|
|
|
libglade = libglademm.SharedLibrary('libglademm', libglademm_files)
|
2005-11-10 23:30:28 -05:00
|
|
|
|
|
|
|
Default(libglade)
|
2006-01-10 23:36:44 -05:00
|
|
|
|
2006-04-25 20:45:27 -04:00
|
|
|
env.Alias('install', env.Install(os.path.join(install_prefix, 'lib/ardour2'), libglade))
|
|
|
|
|
2006-01-10 23:36:44 -05:00
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
|
|
[ 'SConscript', 'libglademmconfig.h', 'libglademm.h'] +
|
|
|
|
libglademm_files +
|
|
|
|
glob.glob('libglademm/*.h') +
|
|
|
|
glob.glob('libglademm/private/*.h')
|
|
|
|
))
|