6974dbdcd2
git-svn-id: svn://localhost/ardour2/branches/3.0@4298 d708f5d6-7413-0410-9779-e7cbd77b26cf
34 lines
932 B
Python
34 lines
932 B
Python
# -*- python -*-
|
|
|
|
import os
|
|
import os.path
|
|
import glob
|
|
|
|
cairomm_files = glob.glob('cairomm/*.cc')
|
|
|
|
Import('env libraries install_prefix')
|
|
|
|
cairomm = env.Clone()
|
|
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',
|
|
'cairomm-1.0.pc.in',
|
|
'Makefile.in'
|
|
] +
|
|
cairomm_files +
|
|
glob.glob('cairomm/*.h')
|
|
))
|
|
|