a4c116ec07
git-svn-id: svn://localhost/ardour2/branches/2.1-staging@1433 d708f5d6-7413-0410-9779-e7cbd77b26cf
31 lines
868 B
Python
31 lines
868 B
Python
# -*- python -*-
|
|
|
|
import os
|
|
import os.path
|
|
import glob
|
|
|
|
gdkmm2_files = glob.glob('gdkmm/*.cc')
|
|
|
|
Import('env libraries install_prefix')
|
|
gdkmm2 = env.Copy()
|
|
gdkmm2.Merge([ libraries['glibmm2'],
|
|
libraries['gtk2'],
|
|
libraries['sigc2'],
|
|
libraries['pangomm'],
|
|
libraries['cairomm'] ])
|
|
|
|
gdkmm2.Append(CXXFLAGS="-Ilibs/gtkmm2/gtk")
|
|
gdkmm2.Append(CXXFLAGS="-DGDKMM_DISABLE_DEPRECATED")
|
|
|
|
libgdkmm2 = gdkmm2.SharedLibrary('gdkmm2', gdkmm2_files)
|
|
Default(libgdkmm2)
|
|
|
|
env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour2'), libgdkmm2))
|
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
[ 'SConscript', 'gdkmmconfig.h', 'gdkmm.h'] +
|
|
gdkmm2_files +
|
|
glob.glob('gdkmm/*.h') +
|
|
glob.glob('gdkmm/private/*.h')
|
|
))
|