Paul Davis
486020b403
git-svn-id: svn://localhost/ardour2/trunk@1223 d708f5d6-7413-0410-9779-e7cbd77b26cf
34 lines
969 B
Python
34 lines
969 B
Python
# -*- python -*-
|
|
|
|
import os.path
|
|
import glob
|
|
|
|
libclearlooks_files = [
|
|
'clearlooks_draw.c',
|
|
'clearlooks_rc_style.c',
|
|
'clearlooks_style.c',
|
|
'clearlooks_theme_main.c',
|
|
'support.c' ]
|
|
|
|
Import ('env install_prefix')
|
|
|
|
clearlooks = env.Copy()
|
|
|
|
clearlooks.Replace(CCFLAGS = ' `pkg-config --cflags gtk+-2.0` ',
|
|
LINKFLAGS = ' `pkg-config --libs gtk+-2.0` ')
|
|
|
|
libclearlooks = clearlooks.SharedLibrary('clearlooks', libclearlooks_files)
|
|
|
|
usable_libclearlooks = clearlooks.Install ('engines', libclearlooks)
|
|
Default (usable_libclearlooks)
|
|
|
|
env.Alias('install',
|
|
env.Install(os.path.join(install_prefix,'lib/ardour2/engines'),
|
|
libclearlooks))
|
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
[ 'SConscript', 'bits.c'] +
|
|
libclearlooks_files +
|
|
glob.glob('*.h')
|
|
))
|