2006-04-25 16:23:50 -04:00
|
|
|
# -*- python -*-
|
|
|
|
|
2006-04-25 20:45:27 -04:00
|
|
|
import os
|
|
|
|
import os.path
|
2005-05-13 16:47:18 -04:00
|
|
|
import glob
|
|
|
|
|
|
|
|
atkmm_files = glob.glob('atkmm/*.cc')
|
|
|
|
|
2006-04-25 20:45:27 -04:00
|
|
|
Import('env libraries install_prefix')
|
2005-05-13 16:47:18 -04:00
|
|
|
atkmm = env.Copy()
|
|
|
|
atkmm.Merge([libraries['glibmm2'], libraries['gtk2'], libraries['sigc2'] ])
|
|
|
|
|
2006-04-25 16:23:50 -04:00
|
|
|
libatkmm = atkmm.SharedLibrary('atkmm', atkmm_files)
|
2005-05-13 16:47:18 -04:00
|
|
|
Default(libatkmm)
|
2006-01-10 23:36:44 -05:00
|
|
|
|
2007-01-09 18:24:54 -05:00
|
|
|
env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour2'), libatkmm))
|
2006-04-25 20:45:27 -04:00
|
|
|
|
2006-01-10 23:36:44 -05:00
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
|
|
[ 'SConscript', 'atkmm.h'] +
|
|
|
|
atkmm_files +
|
|
|
|
glob.glob('atkmm/*.h') +
|
|
|
|
glob.glob('atkmm/private/*.h')
|
|
|
|
))
|