jack2 codebase
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.

48 lines
1.1KB

  1. #! /usr/bin/env python
  2. # encoding: utf-8
  3. import Params
  4. VERSION='1.9.0'
  5. APPNAME='jack'
  6. # these variables are mandatory ('/' are converted automatically)
  7. srcdir = '.'
  8. blddir = 'build'
  9. def set_options(opt):
  10. # options provided by the modules
  11. opt.tool_options('compiler_cxx')
  12. opt.tool_options('compiler_cc')
  13. #opt.add_option('--dbus', action='store_true', default=False, help='Compile D-Bus JACK')
  14. def configure(conf):
  15. conf.check_tool('compiler_cxx')
  16. conf.check_tool('compiler_cc')
  17. #if Params.g_options['dbus']:
  18. # conf.sub_config('linux/dbus')
  19. conf.env['LIB_PTHREAD'] = ['pthread']
  20. conf.env['LIB_DL'] = ['dl']
  21. conf.env['LIB_RT'] = ['rt']
  22. conf.define('ADDON_DIR', '/blabla')
  23. conf.define('JACK_LOCATION', conf.env['PREFIX'] + '/bin')
  24. conf.define('SOCKET_RPC_FIFO_SEMA', 1)
  25. conf.define('__SMP__', 1)
  26. conf.define('USE_POSIX_SHM', 1)
  27. conf.write_config_header('config.h')
  28. #print Params.g_options
  29. #print conf.env
  30. def build(bld):
  31. # process subfolders from here
  32. bld.add_subdirs([
  33. 'common',
  34. 'linux',
  35. # 'linux/dbus',
  36. ])