2007-01-09 18:24:54 -05:00
|
|
|
# -*- python -*-
|
|
|
|
|
2006-11-19 11:45:16 -05:00
|
|
|
import os.path
|
2007-01-09 18:24:54 -05:00
|
|
|
import glob
|
|
|
|
|
|
|
|
libclearlooks_files = [
|
|
|
|
'clearlooks_draw.c',
|
|
|
|
'clearlooks_rc_style.c',
|
|
|
|
'clearlooks_style.c',
|
|
|
|
'clearlooks_theme_main.c',
|
|
|
|
'support.c' ]
|
2006-11-19 11:45:16 -05:00
|
|
|
|
|
|
|
Import ('env install_prefix')
|
|
|
|
|
|
|
|
clearlooks = env.Copy()
|
|
|
|
|
|
|
|
clearlooks.Replace(CCFLAGS = ' `pkg-config --cflags gtk+-2.0` ',
|
|
|
|
LINKFLAGS = ' `pkg-config --libs gtk+-2.0` ')
|
|
|
|
|
2007-01-09 18:24:54 -05:00
|
|
|
libclearlooks = clearlooks.SharedLibrary('clearlooks', libclearlooks_files)
|
2006-11-19 11:45:16 -05:00
|
|
|
|
|
|
|
usable_libclearlooks = clearlooks.Install ('engines', libclearlooks)
|
|
|
|
Default (usable_libclearlooks)
|
|
|
|
|
|
|
|
env.Alias('install',
|
2007-01-09 18:24:54 -05:00
|
|
|
env.Install(os.path.join(install_prefix,env['LIBDIR'], 'ardour2', 'engines'),
|
2006-11-19 11:45:16 -05:00
|
|
|
libclearlooks))
|
2007-01-09 18:24:54 -05:00
|
|
|
|
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
|
|
[ 'SConscript', 'bits.c'] +
|
|
|
|
libclearlooks_files +
|
|
|
|
glob.glob('*.h')
|
|
|
|
))
|