13
0
livetrax/libs/flowcanvas/SConscript
2007-01-03 20:00:57 +00:00

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')))