2016-10-11 13:21:21 -04:00
|
|
|
#!/usr/bin/env python
|
|
|
|
import os
|
|
|
|
|
|
|
|
def options(opt):
|
2022-01-25 11:43:36 -05:00
|
|
|
pass
|
2016-10-11 13:21:21 -04:00
|
|
|
|
|
|
|
def configure(conf):
|
2022-01-22 16:09:13 -05:00
|
|
|
pass
|
2016-10-11 13:21:21 -04:00
|
|
|
|
|
|
|
def build(bld):
|
|
|
|
obj = bld(features = 'cxx cxxshlib')
|
|
|
|
obj.source = '''
|
|
|
|
cc121.cc
|
|
|
|
gui.cc
|
|
|
|
cc121_interface.cc
|
|
|
|
operations.cc
|
|
|
|
'''
|
|
|
|
obj.defines = [ 'PACKAGE="ardour_cc121"' ]
|
|
|
|
obj.defines += [ 'ARDOURSURFACE_DLL_EXPORTS' ]
|
|
|
|
obj.includes = [ '.', './cc121']
|
|
|
|
obj.name = 'libardour_cc121'
|
|
|
|
obj.target = 'ardour_cc121'
|
2023-12-13 00:45:00 -05:00
|
|
|
obj.uselib = 'XML OSX'
|
2016-10-11 13:21:21 -04:00
|
|
|
obj.use = 'libardour libardour_cp libgtkmm2ext libpbd'
|
|
|
|
obj.install_path = os.path.join(bld.env['LIBDIR'], 'surfaces')
|
2023-12-13 00:45:00 -05:00
|
|
|
if bld.is_defined('YTK'):
|
|
|
|
obj.use += ' libytkmm'
|
|
|
|
obj.uselib += ' GLIBMM GIOMM PANGOMM'
|
|
|
|
else:
|
|
|
|
obj.uselib += ' GTKMM'
|