Merge branch 'patches' of https://github.com/jdekozak/ardour
[ardour.git] / libs / ardour / wscript
1 #!/usr/bin/env python
2 from waflib.extras import autowaf as autowaf
3 from waflib import Options
4 import os
5 import re
6 import subprocess
7
8 # Version of this package (even if built as a child)
9 MAJOR = '3'
10 MINOR = '0'
11 MICRO = '0'
12 LIBARDOUR_VERSION = "%s.%s.%s" % (MAJOR, MINOR, MICRO)
13
14 # Library version (UNIX style major, minor, micro)
15 # major increment <=> incompatible changes
16 # minor increment <=> compatible changes (additions)
17 # micro increment <=> no interface changes
18 LIBARDOUR_LIB_VERSION = '3.0.0'
19
20 # default state file version for this build
21 CURRENT_SESSION_FILE_VERSION = 3001
22
23 # Variables for 'waf dist'
24 APPNAME = 'libardour3'
25 VERSION = LIBARDOUR_VERSION
26 I18N_PACKAGE = 'ardour3'
27
28 # Mandatory variables
29 top = '.'
30 out = 'build'
31
32 path_prefix = 'libs/ardour/'
33
34 libardour_sources = [
35         'amp.cc',
36         'analyser.cc',
37         'audio_buffer.cc',
38         'audio_diskstream.cc',
39         'audio_library.cc',
40         'audio_playlist.cc',
41         'audio_playlist_importer.cc',
42         'audio_playlist_source.cc',
43         'audio_port.cc',
44         'audio_region_importer.cc',
45         'audio_track.cc',
46         'audio_track_importer.cc',
47         'audioanalyser.cc',
48         'audioengine.cc',
49         'audiofile_tagger.cc',
50         'audiofilesource.cc',
51         'audioregion.cc',
52         'audiosource.cc',
53         'auditioner.cc',
54         'automatable.cc',
55         'automation.cc',
56         'automation_control.cc',
57         'automation_list.cc',
58         'automation_watch.cc',
59         'beats_frames_converter.cc',
60         'broadcast_info.cc',
61         'buffer.cc',
62         'buffer_manager.cc',
63         'buffer_set.cc',
64         'bundle.cc',
65         'butler.cc',
66         'capturing_processor.cc',
67         'chan_count.cc',
68         'chan_mapping.cc',
69         'configuration.cc',
70         'config_text.cc',
71         'control_protocol_manager.cc',
72         'control_protocol_search_path.cc',
73         'cycle_timer.cc',
74         'data_type.cc',
75         'default_click.cc',
76         'debug.cc',
77         'delivery.cc',
78         'directory_names.cc',
79         'diskstream.cc',
80         'element_import_handler.cc',
81         'element_importer.cc',
82         'enums.cc',
83         'event_type_map.cc',
84         'export_channel.cc',
85         'export_channel_configuration.cc',
86         'export_failed.cc',
87         'export_filename.cc',
88         'export_format_base.cc',
89         'export_format_manager.cc',
90         'export_format_specification.cc',
91         'export_formats.cc',
92         'export_formats_search_path.cc',
93         'export_graph_builder.cc',
94         'export_handler.cc',
95         'export_preset.cc',
96         'export_profile_manager.cc',
97         'export_status.cc',
98         'export_timespan.cc',
99         'file_source.cc',
100         'filename_extensions.cc',
101         'filesystem_paths.cc',
102         'filter.cc',
103         'find_session.cc',
104         'globals.cc',
105         'graph.cc',
106         'graphnode.cc',
107         'import.cc',
108         'instrument_info.cc',
109         'internal_return.cc',
110         'internal_send.cc',
111         'interpolation.cc',
112         'io.cc',
113         'io_processor.cc',
114         'jack_slave.cc',
115         'ladspa_plugin.cc',
116         'location.cc',
117         'location_importer.cc',
118         'ltc_slave.cc',
119         'meter.cc',
120         'midi_automation_list_binder.cc',
121         'midi_buffer.cc',
122         'midi_clock_slave.cc',
123         'midi_diskstream.cc',
124         'midi_model.cc',
125         'midi_patch_manager.cc',
126         'midi_patch_search_path.cc',
127         'midi_playlist.cc',
128         'midi_playlist_source.cc',
129         'midi_port.cc',
130         'midi_region.cc',
131         'midi_ring_buffer.cc',
132         'midi_source.cc',
133         'midi_state_tracker.cc',
134         'midi_stretch.cc',
135         'midi_track.cc',
136         'midi_ui.cc',
137         'mix.cc',
138         'monitor_processor.cc',
139         'mtc_slave.cc',
140         'mtdm.cc',
141         'mute_master.cc',
142         'onset_detector.cc',
143         'operations.cc',
144         'pan_controllable.cc',
145         'pannable.cc',
146         'panner.cc',
147         'panner_manager.cc',
148         'panner_search_path.cc',
149         'panner_shell.cc',
150         'pcm_utils.cc',
151         'pi_controller.cc',
152         'playlist.cc',
153         'playlist_factory.cc',
154         'playlist_source.cc',
155         'plugin.cc',
156         'plugin_insert.cc',
157         'plugin_manager.cc',
158         'port.cc',
159         'port_insert.cc',
160         'port_set.cc',
161         'process_thread.cc',
162         'processor.cc',
163         'progress.cc',
164         'quantize.cc',
165         'rc_configuration.cc',
166         'recent_sessions.cc',
167         'region_factory.cc',
168         'resampled_source.cc',
169         'region.cc',
170         'return.cc',
171         'reverse.cc',
172         'route.cc',
173         'route_graph.cc',
174         'route_group.cc',
175         'route_group_member.cc',
176         'rb_effect.cc',
177         'send.cc',
178         'session.cc',
179         'session_butler.cc',
180         'session_click.cc',
181         'session_command.cc',
182         'session_configuration.cc',
183         'session_directory.cc',
184         'session_events.cc',
185         'session_export.cc',
186         'session_handle.cc',
187         'session_ltc.cc',
188         'session_metadata.cc',
189         'session_midi.cc',
190         'session_object.cc',
191         'session_playlists.cc',
192         'session_process.cc',
193         'session_rtevents.cc',
194         'session_state.cc',
195         'session_state_utils.cc',
196         'session_time.cc',
197         'session_transport.cc',
198         'slave.cc',
199         'smf_source.cc',
200         'sndfile_helpers.cc',
201         'sndfileimportable.cc',
202         'sndfilesource.cc',
203         'source.cc',
204         'source_factory.cc',
205         'speakers.cc',
206         'strip_silence.cc',
207         'revision.cc',
208         'tape_file_matcher.cc',
209         'template_utils.cc',
210         'tempo.cc',
211         'tempo_map_importer.cc',
212         'thread_buffers.cc',
213         'ticker.cc',
214         'track.cc',
215         'transient_detector.cc',
216         'unknown_processor.cc',
217         'user_bundle.cc',
218         'utils.cc',
219         'version.cc',
220         'worker.cc'
221 ]
222
223 def flac_supported():
224     cmd = subprocess.Popen ("sndfile-info testfile.flac",
225                             stdout = subprocess.PIPE,
226                             stderr = subprocess.STDOUT, shell = True)
227     out = cmd.communicate()[0].decode('utf-8');
228     return re.search ('unknown format', out) == None
229
230 def ogg_supported():
231     cmd = subprocess.Popen ("sndfile-info testfile.ogg",
232                             stdout = subprocess.PIPE,
233                             stderr = subprocess.STDOUT, shell = True)
234     out = cmd.communicate()[0].decode('utf-8');
235     return re.search ('unknown format', out) == None
236
237 def options(opt):
238     autowaf.set_options(opt)
239
240 def configure(conf):
241     conf.load('compiler_cxx')
242     conf.load('gas')
243     autowaf.build_version_files(
244         path_prefix + 'ardour/version.h',
245         path_prefix + 'version.cc',
246         'libardour3', MAJOR, MINOR, MICRO)
247     autowaf.configure(conf)
248     autowaf.check_pkg(conf, 'aubio', uselib_store='AUBIO',
249                       atleast_version='0.3.2')
250     autowaf.check_pkg(conf, 'jack', uselib_store='JACK',
251                       atleast_version='0.118.2')
252     autowaf.check_pkg(conf, 'libxml-2.0', uselib_store='XML')
253     autowaf.check_pkg(conf, 'lrdf', uselib_store='LRDF',
254                       atleast_version='0.4.0')
255     autowaf.check_pkg(conf, 'samplerate', uselib_store='SAMPLERATE',
256                       atleast_version='0.1.0')
257     autowaf.check_pkg(conf, 'sigc++-2.0', uselib_store='SIGCPP',
258                       atleast_version='2.0')
259     if Options.options.lv2:
260         autowaf.check_pkg(conf, 'lv2', uselib_store='LV2',
261                           atleast_version='1.0.0', mandatory=True)
262         autowaf.check_pkg(conf, 'lv2', uselib_store='NEW_LV2',
263                           atleast_version='1.0.15', mandatory=False)
264         autowaf.check_pkg(conf, 'serd-0', uselib_store='SERD',
265                           atleast_version='0.14.0', mandatory=True)
266         autowaf.check_pkg(conf, 'sord-0', uselib_store='SORD',
267                           atleast_version='0.8.0', mandatory=True)
268         autowaf.check_pkg(conf, 'sratom-0', uselib_store='SRATOM',
269                           atleast_version='0.2.0', mandatory=True)
270         autowaf.check_pkg(conf, 'lilv-0', uselib_store='LILV',
271                           atleast_version='0.14.0', mandatory=True)
272         autowaf.check_pkg(conf, 'lilv-0', uselib_store='NEW_LILV',
273                           atleast_version='0.15.0', mandatory=False)
274         autowaf.check_pkg(conf, 'suil-0', uselib_store='SUIL',
275                           atleast_version='0.6.0', mandatory=False)
276         conf.define ('LV2_SUPPORT', 1)
277
278 #    autowaf.check_pkg(conf, 'soundtouch-1.0', uselib_store='SOUNDTOUCH',
279 #                      mandatory=False)
280     autowaf.check_pkg(conf, 'cppunit', uselib_store='CPPUNIT',
281                       atleast_version='1.12.0', mandatory=False)
282     autowaf.check_pkg(conf, 'ogg', uselib_store='OGG', atleast_version='1.1.2')
283     autowaf.check_pkg(conf, 'flac', uselib_store='FLAC',
284                       atleast_version='1.2.1')
285     autowaf.check_pkg(conf, 'libcurl', uselib_store='CURL',
286                       atleast_version='7.0.0')
287
288     # we don't try to detect this, since its part of our source tree
289
290     conf.define('HAVE_RUBBERBAND', 1) # controls whether we think we have it
291     conf.define('USE_RUBBERBAND', 1)  # controls whether we actually use it
292
293     conf.define('CURRENT_SESSION_FILE_VERSION', CURRENT_SESSION_FILE_VERSION)
294
295     conf.check(header_name='sys/vfs.h', define_name='HAVE_SYS_VFS_H',mandatory=False)
296     conf.check(header_name='sys/statvfs.h', define_name='HAVE_SYS_STATVFS_H',mandatory=False)
297
298     conf.check(header_name='jack/session.h', uselib = [ 'JACK' ],
299                define_name='HAVE_JACK_SESSION')
300
301     conf.check(header_name='unistd.h', define_name='HAVE_UNISTD',mandatory=False)
302
303     conf.check_cc(fragment = '''
304 #include <jack/jack.h>
305 void callback(jack_status_t code, const char* reason, void* arg) { return; }
306 int main(int argc, char **argv) {
307     jack_client_t* c;
308     jack_on_info_shutdown(c, callback, (void*) 0);
309     return 0;
310 }''',
311                   uselib= [ 'JACK' ],
312                   msg = 'Checking for jack_on_info_shutdown',
313                   define_name = 'HAVE_JACK_ON_INFO_SHUTDOWN',
314                   okmsg = 'present')
315
316     missing_jack_message = 'missing - a version of JACK that supports jack_port_set_latency_range() is required to compile Ardour3.'
317
318     conf.check_cc(fragment = '''
319 #include <jack/jack.h>
320 int main(int argc, char **argv) {
321     jack_port_t* p;
322     jack_latency_range_t r;
323     jack_port_set_latency_range(p, JackCaptureLatency, &r);
324     return 0;
325 }''',
326                   uselib = [ 'JACK' ],
327                   msg = 'Checking for new JACK latency API',
328                   okmsg = 'present',
329                   mandatory = True,
330                   errmsg = missing_jack_message)
331
332     conf.check_cc(fragment = '''
333 #include <jack/jack.h>
334 int main(int argc, char **argv) {
335    jack_port_type_get_buffer_size((jack_client_t*)0, "");
336    return 0;
337 }''',
338                   uselib = [ 'JACK' ],
339                   msg = 'Checking for new jack_port_type_get_buffer_size',
340                   okmsg = 'present',
341                   mandatory = True,
342                   errmsg = missing_jack_message)
343
344     conf.check_cc(fragment = '''
345 #include <jack/transport.h>
346 int main(int argc, char** argv) {
347   jack_position_t pos;
348   pos.valid & JackVideoFrameOffset;
349   return 0;
350 }''',
351                   uselib= [ 'JACK' ],
352                   msg = 'Checking for JackVideoFrameOffset',
353                   define_name = 'HAVE_JACK_VIDEO_SUPPORT',
354                   mandatory = False,
355                   okmsg = 'present')
356
357     if flac_supported():
358         conf.define ('HAVE_FLAC', 1)
359     if ogg_supported():
360         conf.define ('HAVE_OGG', 1)
361
362     conf.write_config_header('libardour-config.h', remove=False)
363
364     # Boost headers
365     autowaf.check_header(conf, 'cxx', 'boost/shared_ptr.hpp')
366     autowaf.check_header(conf, 'cxx', 'boost/weak_ptr.hpp')
367     autowaf.check_header(conf, 'cxx', 'boost/scoped_ptr.hpp')
368     autowaf.check_header(conf, 'cxx', 'boost/ptr_container/ptr_list.hpp')
369
370
371 def build(bld):
372     # Library
373     if bld.is_defined ('INTERNAL_SHARED_LIBS'):
374         obj              = bld.shlib(features = 'c cxx cshlib cxxshlib', source=libardour_sources)
375     else:
376         obj              = bld.stlib(features = 'c cxx cstlib cxxstlib', source=libardour_sources)
377         obj.cxxflags     = [ '-fPIC' ]
378         obj.cflags       = [ '-fPIC' ]
379
380     obj.export_includes = ['.']
381     obj.includes     = ['.', '../surfaces/control_protocol', '..']
382     obj.name         = 'ardour'
383     obj.target       = 'ardour'
384     obj.uselib       = ['GLIBMM','GTHREAD','AUBIO','SIGCPP','XML','UUID',
385                         'JACK','SNDFILE','SAMPLERATE','LRDF','AUDIOUNITS',
386                         'OSX','BOOST','CURL','DL']
387     obj.use          = ['libpbd','libmidipp','libevoral','libvamphost',
388                         'libvampplugin','libtaglib','librubberband',
389                         'libaudiographer','libltc']
390     obj.vnum         = LIBARDOUR_LIB_VERSION
391     obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
392     obj.defines      = [
393         'PACKAGE="' + I18N_PACKAGE + '"',
394         'DATA_DIR="' + os.path.normpath(bld.env['DATADIR']) + '"',
395         'CONFIG_DIR="' + os.path.normpath(bld.env['SYSCONFDIR']) + '"',
396         'LOCALEDIR="' + os.path.join(os.path.normpath(bld.env['DATADIR']), 'locale') + '"',
397         'PROGRAM_NAME="' + bld.env['PROGRAM_NAME'] + '"',
398         'EVORAL_MIDI_XML=1' 
399         ]
400
401     #obj.source += ' st_stretch.cc st_pitch.cc '
402     #obj.uselib += ' SOUNDTOUCH '
403     #obj.add_objects = 'default/libs/surfaces/control_protocol/smpte_1.o'
404
405     if bld.is_defined('HAVE_LILV') :
406         obj.source += ['lv2_plugin.cc', 'lv2_evbuf.c', 'uri_map.cc'] 
407         obj.uselib += ['LILV']
408         if bld.is_defined('HAVE_SUIL'):
409             obj.uselib += ['SUIL']
410
411     if bld.is_defined('WINDOWS_VST_SUPPORT'):
412         obj.source += [ 'windows_vst_plugin.cc']
413         obj.includes += [ '../fst' ]
414         obj.defines += [ 'WINDOWS_VST_SUPPORT' ]
415
416     if bld.is_defined('LXVST_SUPPORT'):
417         obj.source += [ 'lxvst_plugin.cc', 'linux_vst_support.cc', 'linux_vst_info_file.cc' ]
418         obj.defines += [ 'LXVST_SUPPORT' ]
419
420     if bld.is_defined('WINDOWS_VST_SUPPORT') or bld.is_defined('LXVST_SUPPORT'):
421         obj.source += [ 'session_vst.cc', 'vst_plugin.cc' ]
422
423     if bld.is_defined('HAVE_COREAUDIO'):
424         obj.source += [ 'coreaudiosource.cc', 'caimportable.cc' ]
425         obj.use    += ['libappleutility']
426
427     if bld.is_defined('AUDIOUNIT_SUPPORT'):
428         obj.source += [ 'audio_unit.cc' ]
429
430     if Options.options.fpu_optimization:
431         if (bld.env['build_target'] == 'i386' or bld.env['build_target'] == 'i686'):
432             obj.source += [ 'sse_functions_xmm.cc', 'sse_functions.s' ]
433         elif bld.env['build_target'] == 'x86_64':
434             obj.source += [ 'sse_functions_xmm.cc', 'sse_functions_64bit.s' ]
435
436     # i18n
437     if bld.is_defined('ENABLE_NLS'):
438         mo_files = bld.path.ant_glob('po/*.mo')
439         for mo in mo_files:
440             lang = os.path.basename(mo.srcpath()).replace('.mo', '')
441             bld.install_as(os.path.join(bld.env['PREFIX'], 'share', 'locale',
442                                         lang, 'LC_MESSAGES', I18N_PACKAGE + '.mo'),
443                            mo)
444
445     if bld.env['BUILD_TESTS'] and bld.is_defined('HAVE_CPPUNIT'):
446         # Unit tests
447         testobj              = bld(features = 'cxx cxxprogram')
448         testobj.source       = '''
449                 test/dummy_lxvst.cc
450                 test/test_util.cc
451                 test/test_needing_session.cc
452                 test/audio_region_test.cc
453                 test/test_globals.cc
454                 test/audio_region_read_test.cc
455                 test/automation_list_property_test.cc
456                 test/bbt_test.cc
457                 test/tempo_test.cc
458                 test/interpolation_test.cc
459                 test/midi_clock_slave_test.cc
460                 test/resampled_source_test.cc
461                 test/framewalk_to_beats_test.cc
462                 test/framepos_plus_beats_test.cc
463                 test/framepos_minus_beats_test.cc
464                 test/playlist_layering_test.cc
465                 test/playlist_read_test.cc
466                 test/playlist_equivalent_regions_test.cc
467                 test/control_surfaces_test.cc
468                 test/combine_regions_test.cc
469                 test/region_naming_test.cc
470                 test/load_sessions_test.cc
471                 test/mtdm_test.cc
472                 test/testrunner.cc
473         '''.split()
474
475 # Tests that don't work
476 #                test/mantis_3356_test.cc
477
478         testobj.includes     = obj.includes + ['test', '../pbd', '../libltc', '../audiographer']
479         testobj.uselib       = ['CPPUNIT','SIGCPP','JACK','GLIBMM','GTHREAD',
480                                 'SAMPLERATE','XML','LRDF','COREAUDIO']
481         testobj.use          = ['libpbd','libmidipp','ardour','libltc','libaudiographer']
482         testobj.name         = 'libardour-tests'
483         testobj.target       = 'run-tests'
484         testobj.install_path = ''
485         testobj.defines      = [
486             'PACKAGE="libardour3test"',
487             'DATA_DIR="' + os.path.normpath(bld.env['DATADIR']) + '"',
488             'CONFIG_DIR="' + os.path.normpath(bld.env['SYSCONFDIR']) + '"',
489             'LOCALEDIR="' + os.path.join(
490                 os.path.normpath(bld.env['DATADIR']), 'locale') + '"',
491             'VAMP_DIR="' + os.path.join(
492                 os.path.normpath(bld.env['LIBDIR']), 'ardour3', 'vamp') + '"'
493             ]
494         if bld.env['FPU_OPTIMIZATION']:
495             testobj.source += [ 'sse_functions_xmm.cc' ]
496             if (bld.env['build_target'] == 'i386'
497                 or bld.env['build_target'] == 'i686'):
498                 testobj.source += [ 'sse_functions.s' ]
499             elif bld.env['build_target'] == 'x86_64':
500                 testobj.source += [ 'sse_functions_64bit.s' ]
501
502         # Tester to just load a session
503         session_load_tester = bld(features = 'cxx cxxprogram')
504         session_load_tester.source = '''
505                     test/test_util.cc
506                     test/load_session.cc
507                     test/dummy_lxvst.cc
508             '''.split()
509
510         session_load_tester.includes  = obj.includes
511         session_load_tester.includes.append ('test')
512         session_load_tester.uselib    = ['CPPUNIT','SIGCPP','JACK','GLIBMM','GTHREAD',
513                              'SAMPLERATE','XML','LRDF','COREAUDIO']
514         session_load_tester.use       = ['libpbd','libmidipp','ardour']
515         session_load_tester.name      = 'libardour-session-load-tester'
516         session_load_tester.target    = 'load-session'
517         session_load_tester.install_path = ''
518         session_load_tester.defines      = [
519             'PACKAGE="libardour3profile"',
520             'DATA_DIR="' + os.path.normpath(bld.env['DATADIR']) + '"',
521             'CONFIG_DIR="' + os.path.normpath(bld.env['SYSCONFDIR']) + '"',
522             'LOCALEDIR="' + os.path.join(
523                 os.path.normpath(bld.env['DATADIR']), 'locale') + '"',
524             'VAMP_DIR="' + os.path.join(
525                 os.path.normpath(bld.env['LIBDIR']), 'ardour3', 'vamp') + '"'
526             ]
527         if bld.env['FPU_OPTIMIZATION']:
528             session_load_tester.source += [ 'sse_functions_xmm.cc' ]
529             if (bld.env['build_target'] == 'i386'
530                 or bld.env['build_target'] == 'i686'):
531                 session_load_tester.source += [ 'sse_functions.s' ]
532             elif bld.env['build_target'] == 'x86_64':
533                 session_load_tester.source += [ 'sse_functions_64bit.s' ]
534
535         # Profiling
536         for p in ['runpc', 'lots_of_regions', 'load_session']:
537             profilingobj = bld(features = 'cxx cxxprogram')
538             profilingobj.source = '''
539                     test/dummy_lxvst.cc
540                     test/test_util.cc
541             '''.split()
542
543             profilingobj.source.append('test/profiling/%s.cc' % p)
544
545             profilingobj.includes  = obj.includes
546             profilingobj.includes.append ('test')
547             profilingobj.uselib    = ['CPPUNIT','SIGCPP','JACK','GLIBMM','GTHREAD',
548                              'SAMPLERATE','XML','LRDF','COREAUDIO']
549             profilingobj.use       = ['libpbd','libmidipp','ardour']
550             profilingobj.name      = 'libardour-profiling'
551             profilingobj.target    = p
552             profilingobj.install_path = ''
553             profilingobj.defines      = [
554                 'PACKAGE="libardour3profile"',
555                 'DATA_DIR="' + os.path.normpath(bld.env['DATADIR']) + '"',
556                 'CONFIG_DIR="' + os.path.normpath(bld.env['SYSCONFDIR']) + '"',
557                 'LOCALEDIR="' + os.path.join(
558                     os.path.normpath(bld.env['DATADIR']), 'locale') + '"',
559                 'VAMP_DIR="' + os.path.join(
560                     os.path.normpath(bld.env['LIBDIR']), 'ardour3', 'vamp') + '"'
561                 ]
562             if bld.env['FPU_OPTIMIZATION']:
563                 profilingobj.source += [ 'sse_functions_xmm.cc' ]
564                 if (bld.env['build_target'] == 'i386'
565                     or bld.env['build_target'] == 'i686'):
566                     profilingobj.source += [ 'sse_functions.s' ]
567                 elif bld.env['build_target'] == 'x86_64':
568                     profilingobj.source += [ 'sse_functions_64bit.s' ]
569
570 def shutdown():
571     autowaf.shutdown()
572
573 def i18n(bld):
574     autowaf.build_i18n(bld, top, 'libs/ardour', I18N_PACKAGE, libardour_sources,
575                        'Paul Davis')
576
577 def i18n_pot(bld):
578     autowaf.build_i18n(bld, top, 'libs/ardour', I18N_PACKAGE, libardour_sources,
579                        'Paul Davis')
580
581 def i18n_po(bld):
582     autowaf.build_i18n_po(bld, top, 'libs/ardour', I18N_PACKAGE, libardour_sources,
583                        'Paul Davis')
584
585 def i18n_mo(bld):
586     autowaf.build_i18n_mo(bld, top, 'libs/ardour', I18N_PACKAGE, libardour_sources,
587                        'Paul Davis')