OSC becomes a control protocol object; make ardev_common.sh(.in) look for surfaces in the right place(s)
git-svn-id: svn://localhost/ardour2/branches/3.0@4411 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
63
libs/surfaces/osc/SConscript
Normal file
63
libs/surfaces/osc/SConscript
Normal file
@@ -0,0 +1,63 @@
|
||||
# -*- python -*-
|
||||
|
||||
import os
|
||||
import os.path
|
||||
import glob
|
||||
|
||||
Import('env final_prefix install_prefix final_config_prefix libraries i18n')
|
||||
|
||||
osc = env.Clone()
|
||||
|
||||
#
|
||||
# this defines the translation domain of libardour_osc
|
||||
#
|
||||
|
||||
domain = 'ardour_osc'
|
||||
|
||||
osc.Append(DOMAIN = domain, MAJOR = 1, MINOR = 0, MICRO = 0)
|
||||
osc.Append(CXXFLAGS = "-DPACKAGE=\\\"" + domain + "\\\"")
|
||||
osc.Append(CXXFLAGS="-DLIBSIGC_DISABLE_DEPRECATED")
|
||||
osc.Append(PACKAGE = domain)
|
||||
osc.Append(POTFILE = domain + '.pot')
|
||||
|
||||
osc_files=Split("""
|
||||
osc.cc
|
||||
osc_controllable.cc
|
||||
interface.cc
|
||||
""")
|
||||
|
||||
osc.Append(CCFLAGS="-D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE")
|
||||
osc.Append(CXXFLAGS="-DDATA_DIR=\\\""+final_prefix+"/share\\\"")
|
||||
osc.Append(CXXFLAGS="-DCONFIG_DIR=\\\""+final_config_prefix+"\\\"")
|
||||
osc.Append(CXXFLAGS="-DLOCALEDIR=\\\""+final_prefix+"/share/locale\\\"")
|
||||
osc.Append(CPPPATH = libraries['jack'].get('CPPPATH', []))
|
||||
|
||||
osc.Merge ([
|
||||
libraries['lo'],
|
||||
libraries['midi++2'],
|
||||
libraries['evoral'],
|
||||
libraries['ardour'],
|
||||
libraries['ardour_cp'],
|
||||
libraries['pbd'],
|
||||
libraries['sigc2'],
|
||||
libraries['xml'],
|
||||
libraries['glib2'],
|
||||
libraries['glibmm2']
|
||||
])
|
||||
|
||||
libardour_osc = osc.SharedLibrary('ardour_osc', osc_files)
|
||||
|
||||
if osc['HAVE_LIBLO']:
|
||||
Default(libardour_osc)
|
||||
if env['NLS']:
|
||||
i18n (osc, osc_files, env)
|
||||
env.Alias('install', env.Install(os.path.join(install_prefix,
|
||||
env['LIBDIR'],
|
||||
'ardour3',
|
||||
'surfaces'),
|
||||
libardour_osc))
|
||||
|
||||
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
||||
[ 'SConscript' ] +
|
||||
osc_files +
|
||||
glob.glob('po/*.po') + glob.glob('*.h')))
|
||||
Reference in New Issue
Block a user