2011-09-29 15:17:54 -04:00
|
|
|
#!/usr/bin/env python
|
|
|
|
from waflib.extras import autowaf as autowaf
|
2009-12-01 21:26:37 -05:00
|
|
|
import os
|
|
|
|
|
|
|
|
libappleutility_sources = [
|
2011-03-16 12:32:56 -04:00
|
|
|
'AUOutputBL.cpp',
|
|
|
|
'AUParamInfo.cpp',
|
|
|
|
'CAAudioChannelLayout.cpp',
|
|
|
|
'CAAudioChannelLayoutObject.cpp',
|
|
|
|
'CAAudioFile.cpp',
|
|
|
|
'CAAudioUnit.cpp',
|
|
|
|
'CAAUParameter.cpp',
|
|
|
|
'CABufferList.cpp',
|
|
|
|
'CACFDictionary.cpp',
|
|
|
|
'CACFNumber.cpp',
|
|
|
|
'CACFString.cpp',
|
|
|
|
'CAComponent.cpp',
|
|
|
|
'CAComponentDescription.cpp',
|
|
|
|
'CADebugMacros.cpp',
|
|
|
|
'CAStreamBasicDescription.cpp',
|
|
|
|
'CAXException.cpp'
|
2009-12-01 21:26:37 -05:00
|
|
|
]
|
|
|
|
|
2011-09-29 15:17:54 -04:00
|
|
|
def options(opt):
|
2011-04-22 18:15:21 -04:00
|
|
|
autowaf.set_options(opt)
|
|
|
|
|
2009-12-01 21:26:37 -05:00
|
|
|
def configure(conf):
|
2011-04-22 18:15:21 -04:00
|
|
|
autowaf.configure(conf)
|
|
|
|
|
2009-12-01 21:26:37 -05:00
|
|
|
def build(bld):
|
2011-09-29 15:17:54 -04:00
|
|
|
obj = bld(features = 'cxx cxxshlib')
|
2011-04-22 18:15:21 -04:00
|
|
|
obj.uselib = 'AUDIOUNITS OSX'
|
|
|
|
obj.source = libappleutility_sources
|
2011-09-29 15:17:54 -04:00
|
|
|
obj.export_includes = ['.']
|
2011-04-22 18:15:21 -04:00
|
|
|
obj.includes = ['.']
|
|
|
|
obj.name = 'libappleutility'
|
|
|
|
obj.target = 'appleutility'
|
|
|
|
obj.install_path = os.path.join(bld.env['LIBDIR'], 'appleutility')
|
2009-12-01 21:26:37 -05:00
|
|
|
|
|
|
|
|
|
|
|
def shutdown():
|
2011-04-22 18:15:21 -04:00
|
|
|
autowaf.shutdown()
|
2009-12-01 21:26:37 -05:00
|
|
|
|
|
|
|
def i18n(bld):
|
2011-04-22 18:15:21 -04:00
|
|
|
pass
|