2006-12-18 21:41:19 -05:00
|
|
|
# -*- python -*-
|
|
|
|
|
2006-11-15 16:06:21 -05:00
|
|
|
import os.path
|
2006-12-18 21:41:19 -05:00
|
|
|
import glob
|
|
|
|
|
|
|
|
libclearlooks_files = [
|
|
|
|
'clearlooks_draw.c',
|
|
|
|
'clearlooks_rc_style.c',
|
|
|
|
'clearlooks_style.c',
|
|
|
|
'clearlooks_theme_main.c',
|
|
|
|
'support.c' ]
|
2006-11-15 16:06:21 -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` ')
|
|
|
|
|
2006-12-18 21:41:19 -05:00
|
|
|
libclearlooks = clearlooks.SharedLibrary('clearlooks', libclearlooks_files)
|
2006-11-15 16:06:21 -05:00
|
|
|
|
|
|
|
usable_libclearlooks = clearlooks.Install ('engines', libclearlooks)
|
|
|
|
Default (usable_libclearlooks)
|
|
|
|
|
|
|
|
env.Alias('install',
|
|
|
|
env.Install(os.path.join(install_prefix,'lib/ardour2/engines'),
|
|
|
|
libclearlooks))
|
2006-12-18 21:41:19 -05:00
|
|
|
|
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
|
|
[ 'SConscript', 'bits.c'] +
|
|
|
|
libclearlooks_files +
|
|
|
|
glob.glob('*.h')
|
|
|
|
))
|