David Robillard
fedf3d34f3
Completely untested other than it compiles, runs, and records somewhat (need to merge again). git-svn-id: svn://localhost/ardour2/branches/midi@999 d708f5d6-7413-0410-9779-e7cbd77b26cf
23 lines
735 B
Python
23 lines
735 B
Python
# -*- 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)
|
|
if appleutility['COREAUDIO']:
|
|
Default(libappleutility)
|
|
env.Alias('install', env.Install(os.path.join(install_prefix, 'lib/ardour2'), libappleutility))
|
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'], ['SConscript'] + appleutility_files + glob.glob('*.h') ))
|