2007-11-12 19:43:53 -05:00
|
|
|
# -*- python -*-
|
|
|
|
|
|
|
|
import os
|
|
|
|
import os.path
|
|
|
|
import glob
|
|
|
|
|
|
|
|
cairomm_files = glob.glob('cairomm/*.cc')
|
|
|
|
|
|
|
|
Import('env libraries install_prefix')
|
|
|
|
|
|
|
|
cairomm = env.Copy()
|
|
|
|
cairomm.Merge([libraries['cairo']])
|
|
|
|
|
|
|
|
cairomm.Append(CXXFLAGS='-DHAVE_CONFIG_H')
|
|
|
|
|
|
|
|
libcairomm = cairomm.SharedLibrary('cairomm', cairomm_files)
|
|
|
|
|
|
|
|
Default([libcairomm])
|
|
|
|
|
2008-02-21 14:30:01 -05:00
|
|
|
env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), libcairomm))
|
2007-11-12 19:43:53 -05:00
|
|
|
|
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
|
|
[ 'SConscript',
|
|
|
|
'cairomm/cairomm.h',
|
|
|
|
'configure',
|
|
|
|
'Makefile.in',
|
|
|
|
'cairomm/cairomm-1.0.pc.in',
|
|
|
|
'cairomm/Makefile.in'
|
|
|
|
] +
|
|
|
|
cairomm_files +
|
|
|
|
glob.glob('cairomm/*.h')
|
|
|
|
))
|
|
|
|
|