Paul Davis
028e1ebc4a
b) single-thread Tranzport implementation c) implement BasicUI to share functionality across multiple controllers d) various minor fixes here and there git-svn-id: svn://localhost/trunk/ardour2@468 d708f5d6-7413-0410-9779-e7cbd77b26cf
55 lines
1.7 KiB
Python
55 lines
1.7 KiB
Python
# -*- python -*-
|
|
|
|
import os
|
|
import glob
|
|
|
|
Import('env final_prefix install_prefix final_config_prefix libraries i18n')
|
|
|
|
genericmidi = env.Copy()
|
|
|
|
#
|
|
# this defines the version number of libardour_genericmidi
|
|
#
|
|
|
|
domain = 'ardour_genericmidi'
|
|
|
|
genericmidi.Append(DOMAIN = domain, MAJOR = 1, MINOR = 0, MICRO = 0)
|
|
genericmidi.Append(CXXFLAGS = "-DPACKAGE=\\\"" + domain + "\\\"")
|
|
genericmidi.Append(CXXFLAGS="-DLIBSIGC_DISABLE_DEPRECATED")
|
|
genericmidi.Append(PACKAGE = domain)
|
|
genericmidi.Append(POTFILE = domain + '.pot')
|
|
|
|
genericmidi_files=Split("""
|
|
interface.cc
|
|
generic_midi_control_protocol.cc
|
|
""")
|
|
|
|
genericmidi.Append(CCFLAGS="-D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE")
|
|
genericmidi.Append(CXXFLAGS="-DDATA_DIR=\\\""+final_prefix+"/share\\\"")
|
|
genericmidi.Append(CXXFLAGS="-DCONFIG_DIR=\\\""+final_config_prefix+"\\\"")
|
|
genericmidi.Append(CXXFLAGS="-DLOCALEDIR=\\\""+final_prefix+"/share/locale\\\"")
|
|
|
|
genericmidi.Append(CPPPATH=libraries['ardour'].get ('CPPPATH', []))
|
|
genericmidi.Append(CPPPATH=libraries['sigc2'].get ('CPPPATH', []))
|
|
genericmidi.Append(CPPPATH=libraries['pbd3'].get ('CPPPATH', []))
|
|
genericmidi.Append(CPPPATH=libraries['midi++2'].get ('CPPPATH', []))
|
|
|
|
genericmidi.Merge ([
|
|
libraries['usb'],
|
|
libraries['xml']
|
|
])
|
|
|
|
libardour_genericmidi = genericmidi.SharedLibrary('ardour_genericmidi', genericmidi_files)
|
|
|
|
Default(libardour_genericmidi)
|
|
|
|
if env['NLS']:
|
|
i18n (genericmidi, genericmidi_files, env)
|
|
|
|
env.Alias('install', env.Install(os.path.join(install_prefix, 'lib/ardour2/surfaces'), libardour_genericmidi))
|
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
[ 'SConscript', 'i18n.h', 'gettext.h' ] +
|
|
genericmidi_files +
|
|
glob.glob('po/*.po') + glob.glob('*.h')))
|