git-svn-id: svn://localhost/ardour2/branches/3.0@3711 d708f5d6-7413-0410-9779-e7cbd77b26cf
27 lines
818 B
Python
27 lines
818 B
Python
# -*- python -*-
|
|
|
|
import os
|
|
import os.path
|
|
import glob
|
|
|
|
pangomm_files = glob.glob('pangomm/*.cc')
|
|
|
|
Import('env libraries install_prefix')
|
|
pangomm = env.Clone()
|
|
pangomm.Merge([libraries['glibmm2'], libraries['pango'], libraries['sigc2'], libraries['cairomm'], libraries['cairo'], libraries['pangocairo'] ])
|
|
|
|
if pangomm['IS_OSX']:
|
|
pangomm.Append (LINKFLAGS="-Xlinker -headerpad -Xlinker 2048")
|
|
|
|
libpangomm = pangomm.SharedLibrary('pangomm', pangomm_files)
|
|
Default(libpangomm)
|
|
|
|
env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), libpangomm))
|
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
[ 'SConscript', 'pangomm.h'] +
|
|
pangomm_files +
|
|
glob.glob('pangomm/*.h') +
|
|
glob.glob('pangomm/private/*.h')
|
|
))
|