abort if configuration fails
[ardour.git] / libs / ardour / wscript
index 22aeb21dfaed0f2e0fcc08df6162b2ce821cf65c..070f24ef46db7de7d92dcd6bc8e289d8f85fa3d8 100644 (file)
@@ -21,6 +21,7 @@ path_prefix = 'libs/ardour/'
 libardour_sources = [
         'amp.cc',
         'analyser.cc',
+        'analysis_graph.cc',
         'async_midi_port.cc',
         'audio_backend.cc',
         'audio_buffer.cc',
@@ -65,6 +66,7 @@ libardour_sources = [
         'delivery.cc',
         'directory_names.cc',
         'diskstream.cc',
+        'dsp_filter.cc',
         'ebur128_analysis.cc',
         'element_import_handler.cc',
         'element_importer.cc',
@@ -110,6 +112,10 @@ libardour_sources = [
         'location_importer.cc',
         'ltc_file_reader.cc',
         'ltc_slave.cc',
+        'lua_api.cc',
+        'luabindings.cc',
+        'luaproc.cc',
+        'luascripting.cc',
         'meter.cc',
         'midi_automation_list_binder.cc',
         'midi_buffer.cc',
@@ -290,6 +296,10 @@ def configure(conf):
                           atleast_version='0.6.0', mandatory=False)
         conf.define ('LV2_SUPPORT', 1)
 
+    # non-standard LV2 extention -- TODO: add option to disable??
+    if conf.is_defined ('HAVE_LV2_1_10_0'):
+        conf.define ('LV2_EXTENDED', 1)
+
 #    autowaf.check_pkg(conf, 'soundtouch-1.0', uselib_store='SOUNDTOUCH',
 #                      mandatory=False)
     autowaf.check_pkg(conf, 'cppunit', uselib_store='CPPUNIT',
@@ -357,12 +367,13 @@ def build(bld):
     obj.includes     = ['.', '../surfaces/control_protocol', '..']
     obj.name         = 'libardour'
     obj.target       = 'ardour'
-    obj.uselib       = ['GLIBMM','GTHREAD','AUBIO','SIGCPP','XML','UUID',
-                        'SNDFILE','SAMPLERATE','LRDF','AUDIOUNITS',
+    obj.uselib       = ['GLIBMM','GTHREAD','AUBIO','SIGCPP','XML','UUID', 'LO',
+                        'SNDFILE','SAMPLERATE','LRDF','AUDIOUNITS', 'GIOMM',
                         'OSX','BOOST','CURL','TAGLIB','VAMPSDK','VAMPHOSTSDK','RUBBERBAND']
     obj.use          = ['libpbd','libmidipp','libevoral',
                         'libaudiographer',
                         'libtimecode',
+                        'liblua',
                         ]
     if bld.env['build_target'] != 'mingw':
         obj.uselib += ['DL']
@@ -442,7 +453,8 @@ def build(bld):
                 source   = avx_sources,
                 cxxflags = avx_cxxflags,
                 includes = [ '.' ],
-                use = [ 'libtimecode', 'libpbd', 'libevoral', ],
+                use = [ 'libtimecode', 'libpbd', 'libevoral', 'liblua' ],
+                uselib = [ 'GLIBMM', 'XML' ],
                 target   = 'sse_avx_functions')
 
             obj.use += ['sse_avx_functions' ]