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
26 lines
805 B
Python
26 lines
805 B
Python
# -*- python -*-
|
|
|
|
import os
|
|
import os.path
|
|
import glob
|
|
|
|
Import('env libraries install_prefix')
|
|
|
|
libglademm_files = glob.glob('libglademm/*.cc')
|
|
|
|
libglademm = env.Copy()
|
|
libglademm.Merge([libraries['gtk2'], libraries['glade2'], libraries['sigc2'], libraries['glibmm2'], libraries['pangomm'], libraries['atkmm'], libraries['gdkmm2'], libraries['gtkmm2']])
|
|
|
|
libglade = libglademm.SharedLibrary('libglademm', libglademm_files)
|
|
|
|
Default(libglade)
|
|
|
|
env.Alias('install', env.Install(os.path.join(install_prefix, 'lib/ardour2'), libglade))
|
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
[ 'SConscript', 'libglademmconfig.h', 'libglademm.h'] +
|
|
libglademm_files +
|
|
glob.glob('libglademm/*.h') +
|
|
glob.glob('libglademm/private/*.h')
|
|
))
|