X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Ftimecode%2Fwscript;h=fadeb0aebdcf19d142c834264eece2087108d40a;hb=e8042f584367550843306cc1c11c25d796219a37;hp=034292b1ddd01951e63a38583194cfeeec3c4606;hpb=c1ef7b14a3e1200817180cfaf6425e9bdf0eb51b;p=ardour.git diff --git a/libs/timecode/wscript b/libs/timecode/wscript index 034292b1dd..fadeb0aebd 100644 --- a/libs/timecode/wscript +++ b/libs/timecode/wscript @@ -3,21 +3,6 @@ from waflib.extras import autowaf as autowaf from waflib import Options import os -# Version of this package (even if built as a child) -TIMECODE_VERSION = '0.0.0' - -# Library version (UNIX style major, minor, micro) -# major increment <=> incompatible changes -# minor increment <=> compatible changes (additions) -# micro increment <=> no interface changes -# Version history: -# 0.0.0 = 0,0,0 -TIMECODE_LIB_VERSION = '0.0.0' - -# Variables for 'waf dist' -APPNAME = 'timecode' -VERSION = TIMECODE_VERSION - # Mandatory variables top = '.' out = 'build' @@ -30,15 +15,15 @@ def configure(conf): autowaf.configure(conf) def build(bld): - # Library - obj = bld(features = 'cxx cxxshlib') - obj.source = [ 'src/time.cc', 'src/bbt_time.cc' ] - obj.export_includes = ['.'] - obj.includes = ['.', './src'] - obj.name = 'libtimecode' - obj.target = 'timecode' - obj.vnum = TIMECODE_LIB_VERSION - obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3') + bld.shlib ( + source = [ 'src/time.cc', 'src/bbt_time.cc' ], + name = 'libtimecode', + target = 'timecode', + includes = ['.'], + export_includes = ['.'], + defines = [ 'LIBTIMECODE_DLL_EXPORTS' ], + install_path = bld.env['LIBDIR'] + ) def shutdown(): autowaf.shutdown()