2008-06-02 17:41:35 -04:00
|
|
|
# -*- python -*-
|
|
|
|
|
|
|
|
import os
|
|
|
|
import os.path
|
|
|
|
import glob
|
|
|
|
|
|
|
|
cairomm_files = glob.glob('cairomm/*.cc')
|
|
|
|
|
|
|
|
Import('env libraries install_prefix')
|
|
|
|
|
2008-09-10 11:03:30 -04:00
|
|
|
cairomm = env.Clone()
|
2008-06-02 17:41:35 -04:00
|
|
|
cairomm.Merge([libraries['cairo']])
|
|
|
|
|
|
|
|
cairomm.Append(CXXFLAGS='-DHAVE_CONFIG_H')
|
|
|
|
|
|
|
|
libcairomm = cairomm.SharedLibrary('cairomm', cairomm_files)
|
|
|
|
|
|
|
|
Default([libcairomm])
|
|
|
|
|
|
|
|
env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), libcairomm))
|
|
|
|
|
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
|
|
[ 'SConscript',
|
|
|
|
'cairomm/cairomm.h',
|
|
|
|
'configure',
|
|
|
|
'Makefile.in',
|
2008-12-08 04:03:36 -05:00
|
|
|
'cairomm-1.0.pc.in',
|
|
|
|
'Makefile.in'
|
2008-06-02 17:41:35 -04:00
|
|
|
] +
|
|
|
|
cairomm_files +
|
|
|
|
glob.glob('cairomm/*.h')
|
|
|
|
))
|
|
|
|
|