Assists music production by grouping standalone programs into sessions. Community version of "Non Session Manager".
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.1KB

  1. #!/usr/bin/env python
  2. import subprocess
  3. import waflib.Options as Options
  4. import string
  5. import os
  6. # Version of this package (even if built as a child)
  7. PACKAGE_VERSION = '1.2.0'
  8. # Variables for 'waf dist'
  9. APPNAME = 'non-session-manager'
  10. VERSION = PACKAGE_VERSION
  11. # Mandatory variables
  12. top = '.'
  13. out = 'build'
  14. def options(opt):
  15. opt.load('compiler_c')
  16. opt.load('compiler_cxx')
  17. opt.load('gnu_dirs')
  18. def configure(conf):
  19. conf.load('compiler_c')
  20. conf.load('compiler_cxx')
  21. conf.load('gnu_dirs')
  22. conf.define('VERSION', PACKAGE_VERSION)
  23. conf.write_config_header('config.h', remove=False)
  24. print('')
  25. def build(bld):
  26. libs = ''
  27. bld.program( source = '''
  28. src/nsmd.cpp
  29. ''',
  30. target = 'nsmd',
  31. includes = ['.', 'src', '../nonlib'],
  32. uselib = [ 'LIBLO' ],
  33. use = [ 'nonlib'],
  34. install_path = '${BINDIR}')
  35. bld.program( source = '''
  36. src/jackpatch.c
  37. ''',
  38. target = 'jackpatch',
  39. includes = ['.', 'src'],
  40. uselib = [ 'LIBLO', 'JACK' ],
  41. install_path = '${BINDIR}')