Paul Davis
ebbc8b3b6a
git-svn-id: svn://localhost/ardour2/trunk@1264 d708f5d6-7413-0410-9779-e7cbd77b26cf
48 lines
1.1 KiB
Python
48 lines
1.1 KiB
Python
# -*- python -*-
|
|
|
|
import os
|
|
import os.path
|
|
import glob
|
|
|
|
Import('env final_prefix install_prefix libraries')
|
|
|
|
flowcanvas = env.Copy()
|
|
flowcanvas.Merge ([
|
|
libraries['sigc2'],
|
|
libraries['gtk2'],
|
|
libraries['glibmm2'],
|
|
libraries['pangomm'],
|
|
libraries['atkmm'],
|
|
libraries['gdkmm2'],
|
|
libraries['gtkmm2'],
|
|
libraries['libgnomecanvas2'],
|
|
libraries['libgnomecanvasmm']
|
|
])
|
|
|
|
#
|
|
# this defines the version number of libflowcanvas
|
|
#
|
|
|
|
domain = 'libflowcanvas'
|
|
|
|
flowcanvas.Append(DOMAIN=domain,MAJOR=0,MINOR=0,MICRO=1)
|
|
flowcanvas.Append(CXXFLAGS="-DFLOWCANVAS_AA")
|
|
|
|
flowcanvas_files = Split("""
|
|
src/Connection.cpp
|
|
src/FlowCanvas.cpp
|
|
src/Module.cpp
|
|
src/Port.cpp
|
|
""")
|
|
|
|
libflowcanvas = flowcanvas.SharedLibrary('flowcanvas', flowcanvas_files)
|
|
|
|
Default(libflowcanvas)
|
|
|
|
env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour2'), libflowcanvas))
|
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
['SConscript'] +
|
|
flowcanvas_files +
|
|
glob.glob('flowcanvas/*.h')))
|