mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
parent
9d6cfd67c3
commit
10a52f1d19
1 changed files with 47 additions and 47 deletions
|
|
@ -27,11 +27,11 @@ def configure(conf):
|
||||||
def build(bld):
|
def build(bld):
|
||||||
|
|
||||||
if bld.env['build_target'] == 'mingw':
|
if bld.env['build_target'] == 'mingw':
|
||||||
obj = bld(features = 'cxx cxxshlib')
|
obj = bld(features = 'cxx cxxshlib')
|
||||||
else:
|
else:
|
||||||
obj = bld(features = 'c cxx cxxshlib')
|
obj = bld(features = 'c cxx cxxshlib')
|
||||||
|
|
||||||
if bld.env['build_target'] == 'mountain_lion' or bld.env['build_target'] == 'snowleopard':
|
if bld.env['build_target'] == 'mountain_lion' or bld.env['build_target'] == 'snowleopard':
|
||||||
obj.framework = 'CoreMidi'
|
obj.framework = 'CoreMidi'
|
||||||
|
|
||||||
obj.source = [
|
obj.source = [
|
||||||
|
|
@ -50,40 +50,40 @@ def build(bld):
|
||||||
'wavesapi/devicemanager/WCMRAudioDeviceManager.cpp',
|
'wavesapi/devicemanager/WCMRAudioDeviceManager.cpp',
|
||||||
'wavesapi/devicemanager/WCMRNativeAudio.cpp',
|
'wavesapi/devicemanager/WCMRNativeAudio.cpp',
|
||||||
'wavesapi/threads/WCThreadSafe.cpp',
|
'wavesapi/threads/WCThreadSafe.cpp',
|
||||||
'portmidi/src/pm_common/pmutil.c',
|
'portmidi/src/pm_common/pmutil.c',
|
||||||
'portmidi/src/pm_common/portmidi.c'
|
'portmidi/src/pm_common/portmidi.c'
|
||||||
]
|
]
|
||||||
|
|
||||||
if bld.env['build_target'] == 'mingw':
|
if bld.env['build_target'] == 'mingw':
|
||||||
platform_dependent = [
|
platform_dependent = [
|
||||||
'wavesapi/miscutils/UMicroseconds.cpp',
|
'wavesapi/miscutils/UMicroseconds.cpp',
|
||||||
'wavesapi/devicemanager/WCMRPortAudioDeviceManager.cpp',
|
'wavesapi/devicemanager/WCMRPortAudioDeviceManager.cpp',
|
||||||
'portmidi/src/pm_win/pmwin.c',
|
'portmidi/src/pm_win/pmwin.c',
|
||||||
'portmidi/src/pm_win/pmwinmm.c',
|
'portmidi/src/pm_win/pmwinmm.c',
|
||||||
'portmidi/src/porttime/ptwinmm.c'
|
'portmidi/src/porttime/ptwinmm.c'
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
platform_dependent = [
|
platform_dependent = [
|
||||||
'wavesapi/devicemanager/WCMRCoreAudioDeviceManager.cpp',
|
'wavesapi/devicemanager/WCMRCoreAudioDeviceManager.cpp',
|
||||||
'portmidi/src/pm_mac/pmmac.c',
|
'portmidi/src/pm_mac/pmmac.c',
|
||||||
'portmidi/src/pm_mac/pmmacosxcm.c',
|
'portmidi/src/pm_mac/pmmacosxcm.c',
|
||||||
'portmidi/src/pm_mac/finddefault.c',
|
'portmidi/src/pm_mac/finddefault.c',
|
||||||
'portmidi/src/pm_mac/readbinaryplist.c',
|
'portmidi/src/pm_mac/readbinaryplist.c',
|
||||||
'portmidi/src/porttime/ptmacosx_mach.c'
|
'portmidi/src/porttime/ptmacosx_mach.c'
|
||||||
]
|
]
|
||||||
|
|
||||||
obj.source.extend(platform_dependent)
|
obj.source.extend(platform_dependent)
|
||||||
|
|
||||||
obj.includes = ['.',
|
obj.includes = ['.',
|
||||||
'wavesapi',
|
'wavesapi',
|
||||||
'wavesapi/refmanager',
|
'wavesapi/refmanager',
|
||||||
'wavesapi/wavespublicapi',
|
'wavesapi/wavespublicapi',
|
||||||
'wavesapi/devicemanager',
|
'wavesapi/devicemanager',
|
||||||
'wavesapi/miscutils',
|
'wavesapi/miscutils',
|
||||||
'wavesapi/threads',
|
'wavesapi/threads',
|
||||||
'portmidi',
|
'portmidi',
|
||||||
'portmidi/src/pm_common'
|
'portmidi/src/pm_common'
|
||||||
]
|
]
|
||||||
|
|
||||||
obj.cxxflags = [ '-fPIC' ]
|
obj.cxxflags = [ '-fPIC' ]
|
||||||
obj.cflags = [ '-fPIC', '-fms-extensions' ]
|
obj.cflags = [ '-fPIC', '-fms-extensions' ]
|
||||||
|
|
@ -91,15 +91,15 @@ def build(bld):
|
||||||
obj.target = 'waves_audiobackend'
|
obj.target = 'waves_audiobackend'
|
||||||
obj.use = 'libardour libpbd'
|
obj.use = 'libardour libpbd'
|
||||||
if bld.env['build_target'] == 'mingw':
|
if bld.env['build_target'] == 'mingw':
|
||||||
obj.uselib = ['PORTAUDIO']
|
obj.uselib = ['PORTAUDIO']
|
||||||
obj.vnum = WAVESAUDIOBACKEND_VERSION
|
obj.vnum = WAVESAUDIOBACKEND_VERSION
|
||||||
obj.install_path = os.path.join(bld.env['LIBDIR'], 'backends')
|
obj.install_path = os.path.join(bld.env['LIBDIR'], 'backends')
|
||||||
|
|
||||||
if bld.env['build_target']== 'mingw':
|
if bld.env['build_target']== 'mingw':
|
||||||
obj.defines = ['PACKAGE="' + I18N_PACKAGE + '"',
|
obj.defines = ['PACKAGE="' + I18N_PACKAGE + '"',
|
||||||
'ARDOURBACKEND_DLL_EXPORTS'
|
'ARDOURBACKEND_DLL_EXPORTS'
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
obj.defines = ['PACKAGE="' + I18N_PACKAGE + '"',
|
obj.defines = ['PACKAGE="' + I18N_PACKAGE + '"',
|
||||||
'ARDOURBACKEND_DLL_EXPORTS'
|
'ARDOURBACKEND_DLL_EXPORTS'
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue