2006-08-02 16:17:00 -04:00
|
|
|
# -*- python -*-
|
|
|
|
|
|
|
|
import os
|
|
|
|
import os.path
|
|
|
|
import glob
|
|
|
|
|
|
|
|
appleutility_files = glob.glob('*.cpp')
|
|
|
|
|
|
|
|
Import('env install_prefix')
|
|
|
|
appleutility = env.Copy()
|
|
|
|
|
|
|
|
appleutility.Append(LINKFLAGS='-framework AudioToolbox')
|
|
|
|
appleutility.Append(LINKFLAGS='-framework AudioUnit')
|
|
|
|
appleutility.Append(LINKFLAGS='-framework CoreFoundation')
|
|
|
|
appleutility.Append(LINKFLAGS='-framework CoreServices')
|
|
|
|
|
|
|
|
libappleutility = appleutility.SharedLibrary('appleutility', appleutility_files)
|
2006-10-09 13:56:13 -04:00
|
|
|
if appleutility['COREAUDIO']:
|
|
|
|
Default(libappleutility)
|
2008-02-21 14:30:01 -05:00
|
|
|
env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), libappleutility))
|
2006-08-02 16:17:00 -04:00
|
|
|
|
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'], ['SConscript'] + appleutility_files + glob.glob('*.h') ))
|