2009-12-01 21:26:37 -05:00
|
|
|
import autowaf
|
|
|
|
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
|
|
|
]
|
|
|
|
|
|
|
|
def set_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-04-22 18:15:21 -04:00
|
|
|
obj = bld.new_task_gen('cxx', 'shlib')
|
|
|
|
obj.uselib = 'AUDIOUNITS OSX'
|
|
|
|
obj.source = libappleutility_sources
|
|
|
|
obj.export_incdirs = ['.']
|
|
|
|
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
|