fix generic GUI for AU.
[ardour.git] / libs / pbd / wscript
index 1702627cc0294c855b6fc51a53292d0aae9b5ff8..8f947fbb2658d94887f9ac7d5ec9fddf5c1f77f1 100644 (file)
@@ -34,6 +34,7 @@ libpbd_sources = [
     'boost_debug.cc',
     'cartesian.cc',
     'command.cc',
+    'configuration_variable.cc',
     'convert.cc',
     'controllable.cc',
     'controllable_descriptor.cc',
@@ -74,10 +75,11 @@ libpbd_sources = [
     'strsplit.cc',
     'system_exec.cc',
     'textreceiver.cc',
+    'timer.cc',
+    'timing.cc',
     'transmitter.cc',
     'undo.cc',
     'uuid.cc',
-    'version.cc',
     'whitespace.cc',
     'xml++.cc',
 ]
@@ -87,8 +89,6 @@ def options(opt):
 
 def configure(conf):
     conf.load('compiler_cxx')
-    autowaf.build_version_files(path_prefix+'pbd/version.h', path_prefix+'version.cc',
-                    'libpbd', MAJOR, MINOR, MICRO, 'LIBPBD_API', 'pbd/libpbd_visibility.h')
     autowaf.configure(conf)
     autowaf.check_pkg(conf, 'libxml-2.0', uselib_store='XML')
     autowaf.check_pkg(conf, 'sigc++-2.0', uselib_store='SIGCPP', atleast_version='2.0')
@@ -117,11 +117,9 @@ def build(bld):
 
     # Library
     if bld.is_defined ('INTERNAL_SHARED_LIBS'):
-        print('BUILD SHARED LIB')
         obj              = bld.shlib(features = 'cxx cxxshlib', source=libpbd_sources)
         obj.defines = [ 'LIBPBD_DLL_EXPORTS=1' ]
     else:
-        print('BUILD STATIC LIB')
         obj              = bld.stlib(features = 'cxx cxxstlib', source=libpbd_sources)
         obj.cxxflags     = [ '-fPIC' ]
         obj.cflags     = [ '-fPIC' ]
@@ -159,6 +157,7 @@ def build(bld):
                 test/mutex_test.cc
                 test/scalar_properties.cc
                 test/signals_test.cc
+                test/timer_test.cc
                 test/convert_test.cc
                 test/filesystem_test.cc
                 test/test_common.cc