13
0

tweak up DLL=1 defs for control surfaces

This commit is contained in:
Paul Davis 2013-10-17 13:30:18 -04:00
parent 55bf10abb8
commit 98c93ee53e
6 changed files with 20 additions and 8 deletions

View File

@ -34,11 +34,13 @@ def build(bld):
midicontrollable.cc
'''
obj.export_includes = ['./generic_midi']
obj.cxxflags = '-DPACKAGE="ardour_genericmidi"'
obj.defines = [ 'PACKAGE="ardour_frontier"' ]
if bld.is_defined ('INTERNAL_SHARED_LIBS'):
obj.defines += [ 'LIBARDOUR_DLL=1', 'LIBCONTROLCP_DLL=1', 'LIBPBD_DLL=1' ]
obj.includes = ['.', './generic_midi']
obj.name = 'libgeneric_midi'
obj.target = 'generic_midi'
obj.use = 'libardour libsurfaces'
obj.use = 'libardour libardourcp'
obj.vnum = LIBSURFACES_LIB_VERSION
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3', 'surfaces')

View File

@ -30,7 +30,9 @@ def build(bld):
midiaction.cc
'''
obj.export_includes = ['.']
obj.cxxflags = '-DPACKAGE="ardour_genericmidi"'
obj.defines = [ 'PACKAGE="ardour_genericmidi"' ]
if bld.is_defined ('INTERNAL_SHARED_LIBS'):
obj.defines += [ 'LIBARDOUR_DLL=1', 'LIBCONTROLCP_DLL=1', 'LIBPBD_DLL=1', 'LIBGTKMM2EXT_DLL=1' ]
obj.includes = ['.', './generic_midi']
obj.name = 'libardour_generic_midi'
obj.target = 'ardour_generic_midi'
@ -38,7 +40,7 @@ def build(bld):
obj.use = 'libardour libardour_cp libgtkmm2ext libpbd'
obj.vnum = LIBARDOUR_GENERIC_MIDI_LIB_VERSION
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3', 'surfaces')
obj.defines = [
obj.defines += [
'PROGRAM_NAME="' + bld.env['PROGRAM_NAME'] + '"'
]

View File

@ -42,7 +42,9 @@ def build(bld):
types.cc
'''
obj.export_includes = ['./mackie']
obj.cxxflags = '-DPACKAGE="ardour_mackie"'
obj.defines = [ 'PACKAGE="ardour_mackie"' ]
if bld.is_defined ('INTERNAL_SHARED_LIBS'):
obj.defines += [ 'LIBARDOUR_DLL=1', 'LIBCONTROLCP_DLL=1', 'LIBPBD_DLL=1', 'LIBGTKMM2EXT_DLL=1' ]
# need ../libs because some GTK2 header files require stuff there
obj.includes = ['.', '../libs']
obj.name = 'libardour_mcp'

View File

@ -27,7 +27,9 @@ def build(bld):
interface.cc
'''
obj.export_includes = ['.']
obj.cxxflags = '-DPACKAGE="ardour_cp"'
obj.defines = [ 'PACKAGE="ardour_osc"' ]
if bld.is_defined ('INTERNAL_SHARED_LIBS'):
obj.defines += [ 'LIBARDOUR_DLL=1', 'LIBCONTROLCP_DLL=1', 'LIBPBD_DLL=1' ]
obj.includes = ['.', './osc']
obj.name = 'libardour_osc'
obj.target = 'ardour_osc'

View File

@ -39,7 +39,9 @@ def build(bld):
wheel_modes.cc
'''
obj.export_includes = ['./tranzport']
obj.cxxflags = '-DPACKAGE="ardour_tranzport"'
obj.defines = [ 'PACKAGE="ardour_tranzport"' ]
if bld.is_defined ('INTERNAL_SHARED_LIBS'):
obj.defines += [ 'LIBARDOUR_DLL=1', 'LIBCONTROLCP_DLL=1', 'LIBPBD_DLL=1', 'LIBGTKMM2EXT_DLL=1' ]
obj.includes = ['.', './tranzport']
obj.name = 'libardour_tranzport'
obj.target = 'ardour_tranzport'

View File

@ -25,7 +25,9 @@ def build(bld):
interface.cc
'''
obj.export_includes = ['./wiimote']
obj.cxxflags = '-DPACKAGE="ardour_wiimote"'
obj.defines = [ 'PACKAGE="ardour_wiimote"' ]
if bld.is_defined ('INTERNAL_SHARED_LIBS'):
obj.defines += [ 'LIBARDOUR_DLL=1', 'LIBCONTROLCP_DLL=1', 'LIBPBD_DLL=1', 'LIBGTKMM2EXT_DLL=1' ]
obj.includes = ['.', '../libs']
obj.name = 'libardour_wiimote'
obj.target = 'ardour_wiimote'