2008-06-02 17:41:35 -04:00
|
|
|
# -*- python -*-
|
|
|
|
|
|
|
|
import os
|
|
|
|
import os.path
|
|
|
|
import glob
|
|
|
|
|
|
|
|
gdkmm2_files = glob.glob('gdkmm/*.cc')
|
|
|
|
|
|
|
|
Import('env libraries install_prefix')
|
2008-09-10 11:03:30 -04:00
|
|
|
gdkmm2 = env.Clone()
|
2008-06-02 17:41:35 -04:00
|
|
|
gdkmm2.Merge([libraries['glibmm2'], libraries['gtk2'], libraries['sigc2'], libraries['pangomm'], libraries['cairomm']])
|
|
|
|
gdkmm2.Append(CXXFLAGS=["-Ilibs/gtkmm2/gtk", "-DGLIBMM_EXCEPTIONS_ENABLED"])
|
|
|
|
|
|
|
|
libgdkmm2 = gdkmm2.SharedLibrary('gdkmm2', gdkmm2_files)
|
|
|
|
Default(libgdkmm2)
|
|
|
|
|
|
|
|
env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), libgdkmm2))
|
|
|
|
|
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
|
|
[ 'SConscript', 'gdkmmconfig.h', 'gdkmm.h'] +
|
|
|
|
gdkmm2_files +
|
|
|
|
glob.glob('gdkmm/*.h') +
|
|
|
|
glob.glob('gdkmm/private/*.h')
|
|
|
|
))
|