fix initial display of name/id on meterbridge
[ardour.git] / libs / appleutility / wscript
index 2d164a025a5dba2ee5b5ce0613cf9e451c91b752..e9968f80e80c4cf4c38015b52020e7bad293b21f 100644 (file)
@@ -1,4 +1,5 @@
-import autowaf
+#!/usr/bin/env python
+from waflib.extras import autowaf as autowaf
 import os
 
 libappleutility_sources = [
@@ -20,25 +21,25 @@ libappleutility_sources = [
         'CAXException.cpp'
 ]
 
-def set_options(opt):
-        autowaf.set_options(opt)
-        
+def options(opt):
+    autowaf.set_options(opt)
+
 def configure(conf):
-        autowaf.configure(conf)
-        
+    autowaf.configure(conf)
+
 def build(bld):
-        obj                = bld.new_task_gen('cxx', 'shlib')
-        obj.uselib         = 'AUDIOUNITS OSX'
-        obj.source         = libappleutility_sources
-        obj.export_incdirs = ['.']
-        obj.includes       = ['.']
-        obj.name           = 'libappleutility'
-        obj.target         = 'appleutility'
-        obj.install_path   = os.path.join(bld.env['LIBDIR'], 'appleutility')
+    obj                = bld(features = 'cxx cxxshlib')
+    obj.uselib         = 'AUDIOUNITS OSX'
+    obj.source         = libappleutility_sources
+    obj.export_includes = ['.']
+    obj.includes       = ['.']
+    obj.name           = 'libappleutility'
+    obj.target         = 'appleutility'
+    obj.install_path   = os.path.join(bld.env['LIBDIR'], 'appleutility')
 
 
 def shutdown():
-        autowaf.shutdown()
+    autowaf.shutdown()
 
 def i18n(bld):
-        pass
+    pass