further build system tweaks for SG

git-svn-id: svn://localhost/ardour2/branches/3.0-SG@12275 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-05-14 23:20:29 +00:00
parent e2c50db848
commit a26c42734a

View file

@ -43,20 +43,18 @@ def configure(conf):
def build(bld):
# Library
driver = bld(features = 'cxx cxxshlib')
driver.source = '''
driver.cc
'''
driver.export_includes = ['.']
driver.includes = ['.']
driver.name = 'libsgardour'
driver.target = 'sgardour'
driver.uselib = [ 'SOUNDGRID', 'GLIBMM', 'SIGCPP', 'XML', 'UUID', 'SNDFILE', 'GIOMM' ]
driver.use = [ 'libardour' ]
driver.vnum = LIBSGARDOUR_LIB_VERSION
driver.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
driver.defines = ['PACKAGE="' + I18N_PACKAGE + '"']
if bld.is_defined ('HAVE_SOUNDGRID'):
driver = bld(features = 'cxx cxxshlib')
driver.source = [ 'driver.cc' ]
driver.export_includes = ['.']
driver.includes = ['.']
driver.name = 'libsgardour'
driver.target = 'sgardour'
driver.uselib = [ 'SOUNDGRID', 'GLIBMM', 'SIGCPP', 'XML', 'UUID', 'SNDFILE', 'GIOMM' ]
driver.use = [ 'libardour' ]
driver.vnum = LIBSGARDOUR_LIB_VERSION
driver.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
driver.defines = ['PACKAGE="' + I18N_PACKAGE + '"']
def shutdown():
autowaf.shutdown()