mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
moved OSC into libardour
git-svn-id: svn://localhost/trunk/ardour2@509 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
cb9686acdb
commit
69aef2cd91
5 changed files with 0 additions and 609 deletions
|
|
@ -1,52 +0,0 @@
|
|||
# -*- python -*-
|
||||
|
||||
import os
|
||||
import os.path
|
||||
import glob
|
||||
|
||||
Import('env final_prefix install_prefix final_config_prefix libraries i18n')
|
||||
|
||||
osc = env.Copy()
|
||||
|
||||
#
|
||||
# this defines the version number 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("""
|
||||
interface.cc
|
||||
osc_server.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.Merge ([
|
||||
libraries['ardour'],
|
||||
libraries['sigc2'],
|
||||
libraries['pbd3'],
|
||||
libraries['lo']
|
||||
])
|
||||
|
||||
libardour_osc = osc.SharedLibrary('ardour_osc', osc_files)
|
||||
|
||||
Default(libardour_osc)
|
||||
|
||||
if env['NLS']:
|
||||
i18n (osc, osc_files, env)
|
||||
|
||||
env.Alias('install', env.Install(os.path.join(install_prefix, 'lib/ardour2/surfaces'), libardour_osc))
|
||||
|
||||
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
||||
[ 'SConscript', 'i18n.h', 'gettext.h' ] +
|
||||
osc_files +
|
||||
glob.glob('po/*.po') + glob.glob('*.h')))
|
||||
Loading…
Add table
Add a link
Reference in a new issue