Paul Davis
1da9bb0c26
libraries. Libraries are discovered via {LD,DYLD}_LIBRARY_PATH git-svn-id: svn://localhost/trunk/ardour2@481 d708f5d6-7413-0410-9779-e7cbd77b26cf
24 lines
713 B
Python
24 lines
713 B
Python
# -*- python -*-
|
|
|
|
import os
|
|
import os.path
|
|
import glob
|
|
|
|
gtkmm2_files = glob.glob('gtkmm/*.cc')
|
|
|
|
Import('env libraries install_prefix')
|
|
gtkmm2 = env.Copy()
|
|
gtkmm2.Merge([libraries['glibmm2'], libraries['gtk2'], libraries['sigc2'], libraries['pangomm'], libraries['atkmm'], libraries['gdkmm2'] ])
|
|
|
|
libgtkmm2 = gtkmm2.SharedLibrary('gtkmm2', gtkmm2_files)
|
|
Default(libgtkmm2)
|
|
|
|
env.Alias('install', env.Install(os.path.join(install_prefix, 'lib/ardour2'), libgtkmm2))
|
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
[ 'SConscript', 'gtkmmconfig.h', 'gtkmm.h'] +
|
|
gtkmm2_files +
|
|
glob.glob('gtkmm/*.h') +
|
|
glob.glob('gtkmm/private/*.h')
|
|
))
|