13
0
livetrax/libs/cairomm/SConscript
Carl Hetherington d346adb1d9 Add missing cairomm lib from previous commit.
git-svn-id: svn://localhost/ardour2/trunk@2631 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 00:43:53 +00:00

34 lines
947 B
Python

# -*- 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])
env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour2'), libcairomm))
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')
))