13
0

wscript: drop unused "mandatory variables" 'top' and 'out' in libs

Variables by these names are only used from the local wscript and when
running "waf configure", which already for other reasons only can run at
the top-level.

These variables are thus not mandatory and not used.
This commit is contained in:
Mads Kiilerich 2022-01-24 22:43:22 +01:00 committed by Paul Davis
parent 69e987909e
commit d220f477ed
76 changed files with 0 additions and 291 deletions

View File

@ -8,9 +8,6 @@ import re
import subprocess import subprocess
import glob import glob
# Mandatory variables
out = 'build'
@TaskGen.extension('.m') @TaskGen.extension('.m')
def m_hook(self, node): def m_hook(self, node):
"""Alias .m files to be compiled the same as .c files, gcc will do the right thing.""" """Alias .m files to be compiled the same as .c files, gcc will do the right thing."""

View File

@ -3,10 +3,6 @@ from waflib.extras import autowaf as autowaf
import os import os
import sys import sys
# Mandatory variables
top = '.'
out = 'build'
hardour_sources = [ hardour_sources = [
'load_session.cc', 'load_session.cc',
'misc.cc', 'misc.cc',

View File

@ -9,9 +9,6 @@ CURRENT_SESSION_FILE_VERSION = 7002
I18N_PACKAGE = 'ardour' I18N_PACKAGE = 'ardour'
# Mandatory variables
out = 'build'
path_prefix = 'libs/ardour/' path_prefix = 'libs/ardour/'
libardour_sources = [ libardour_sources = [

View File

@ -5,10 +5,6 @@ import os
import sys import sys
import re import re
# Mandatory variables
top = '.'
out = 'build'
path_prefix = 'libs/ardouralsautil/' path_prefix = 'libs/ardouralsautil/'
def options(opt): def options(opt):

View File

@ -13,10 +13,6 @@ AUDIOGRAPHER_VERSION = '0.0.0'
# 0.0.0 = 0,0,0 # 0.0.0 = 0,0,0
AUDIOGRAPHER_LIB_VERSION = '0.0.0' AUDIOGRAPHER_LIB_VERSION = '0.0.0'
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
# needed for code used from libardour # needed for code used from libardour
I18N_PACKAGE = 'ardour' I18N_PACKAGE = 'ardour'

View File

@ -4,10 +4,6 @@ import os
I18N_PACKAGE = 'alsa-backend' I18N_PACKAGE = 'alsa-backend'
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -5,10 +5,6 @@ import os
I18N_PACKAGE = 'coreaudio-backend' I18N_PACKAGE = 'coreaudio-backend'
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -4,10 +4,6 @@ import os
I18N_PACKAGE = 'dummy-backend' I18N_PACKAGE = 'dummy-backend'
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -7,10 +7,6 @@ import re
I18N_PACKAGE = 'jack-backend' I18N_PACKAGE = 'jack-backend'
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -4,10 +4,6 @@ import os
I18N_PACKAGE = 'portaudio-backend' I18N_PACKAGE = 'portaudio-backend'
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -4,10 +4,6 @@ import os
I18N_PACKAGE = 'pulse-backend' I18N_PACKAGE = 'pulse-backend'
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -1,10 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -16,10 +16,6 @@ CANVAS_LIB_VERSION = '0.0.0'
I18N_PACKAGE = 'libcanvas' I18N_PACKAGE = 'libcanvas'
# Mandatory variables
top = '.'
out = 'build'
path_prefix = 'libs/canvas/' path_prefix = 'libs/canvas/'
canvas_sources = [ canvas_sources = [

View File

@ -3,9 +3,6 @@ from waflib.extras import autowaf as autowaf
import os import os
import sys import sys
top = '.'
out = 'build'
path_prefix = 'libs/clearlooks-newer' path_prefix = 'libs/clearlooks-newer'
def options(opt): def options(opt):

View File

@ -1,10 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
# Mandatory variables
top = '.'
out = 'build'
controlcp_sources = [ controlcp_sources = [
'basic_ui.cc', 'basic_ui.cc',
'control_protocol.cc', 'control_protocol.cc',

View File

@ -16,10 +16,6 @@ EVORAL_LIB_VERSION = '0.0.0'
APPNAME = 'evoral' APPNAME = 'evoral'
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
opt.load('compiler_c') opt.load('compiler_c')
opt.load('compiler_cxx') opt.load('compiler_cxx')

View File

@ -9,10 +9,6 @@ LIBFLUIDSYNTH_VERSION = "%s.%s.%s" % (MAJOR, MINOR, MICRO)
I18N_PACKAGE = 'libfluidsynth' I18N_PACKAGE = 'libfluidsynth'
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -4,10 +4,6 @@ import os
import sys import sys
import re import re
# Mandatory variables
top = '.'
out = 'build'
# needed for code used from libardour # needed for code used from libardour
I18N_PACKAGE = 'ardour' I18N_PACKAGE = 'ardour'

View File

@ -47,9 +47,6 @@ gtkmm2ext_sources = [
'window_title.cc' 'window_title.cc'
] ]
# Mandatory variables
out = 'build'
path_prefix = 'libs/gtkmm2ext/' path_prefix = 'libs/gtkmm2ext/'
def options(opt): def options(opt):

View File

@ -5,10 +5,6 @@ import sys
HIDAPI_VERSION = '0.8.0' HIDAPI_VERSION = '0.8.0'
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -15,10 +15,6 @@ LIBLTC_LIB_VERSION = '1.1.1'
I18N_PACKAGE = 'libltc' I18N_PACKAGE = 'libltc'
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -3,10 +3,6 @@ from waflib.extras import autowaf as autowaf
I18N_PACKAGE = 'liblua' I18N_PACKAGE = 'liblua'
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -13,10 +13,6 @@ LIBMIDIPP_VERSION = "%s.%s.%s" % (MAJOR, MINOR, MICRO)
# micro increment <=> no interface changes # micro increment <=> no interface changes
LIBMIDIPP_LIB_VERSION = '4.1.0' LIBMIDIPP_LIB_VERSION = '4.1.0'
# Mandatory variables
top = '.'
out = 'build'
path_prefix = 'libs/midi++2/' path_prefix = 'libs/midi++2/'
libmidi_sources = [ libmidi_sources = [

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -1,10 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -19,10 +19,6 @@ LIBPBD_MAJOR_VERSION = '4'
I18N_PACKAGE = 'libpbd4' I18N_PACKAGE = 'libpbd4'
# Mandatory variables
top = '.'
out = 'build'
path_prefix = 'libs/pbd/' path_prefix = 'libs/pbd/'
libpbd_sources = [ libpbd_sources = [

View File

@ -3,10 +3,6 @@ import re
import waflib.extras.autowaf as autowaf import waflib.extras.autowaf as autowaf
import waflib.Utils as Utils import waflib.Utils as Utils
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -3,10 +3,6 @@ import re
import waflib.extras.autowaf as autowaf import waflib.extras.autowaf as autowaf
import waflib.Utils as Utils import waflib.Utils as Utils
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -3,10 +3,6 @@ import re
import waflib.extras.autowaf as autowaf import waflib.extras.autowaf as autowaf
import waflib.Utils as Utils import waflib.Utils as Utils
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -3,10 +3,6 @@ import re
import waflib.extras.autowaf as autowaf import waflib.extras.autowaf as autowaf
import waflib.Utils as Utils import waflib.Utils as Utils
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -3,10 +3,6 @@ import re
import waflib.extras.autowaf as autowaf import waflib.extras.autowaf as autowaf
import waflib.Utils as Utils import waflib.Utils as Utils
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -3,10 +3,6 @@ import re
import waflib.extras.autowaf as autowaf import waflib.extras.autowaf as autowaf
import waflib.Utils as Utils import waflib.Utils as Utils
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -3,10 +3,6 @@ import re
import waflib.extras.autowaf as autowaf import waflib.extras.autowaf as autowaf
import waflib.Utils as Utils import waflib.Utils as Utils
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -12,10 +12,6 @@ LIBPTFORMAT_LIB_VERSION = '0.0.0'
I18N_PACKAGE = 'libptformat' I18N_PACKAGE = 'libptformat'
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -10,10 +10,6 @@ QM_DSP_VERSION = '1.7.1'
# micro increment <=> no interface changes # micro increment <=> no interface changes
QM_DSP_LIB_VERSION = '1.7.1' QM_DSP_LIB_VERSION = '1.7.1'
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
fp8_16_sources = [ fp8_16_sources = [
'faderport8.cc', 'faderport8.cc',
'fp8_controls.cc', 'fp8_controls.cc',

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
mackie_sources = [ mackie_sources = [
'button.cc', 'button.cc',
'controls.cc', 'controls.cc',

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -11,10 +11,6 @@ LIBSURFACES_VERSION = '4.1.0'
# micro increment <=> no interface changes # micro increment <=> no interface changes
LIBSURFACES_LIB_VERSION = '4.1.0' LIBSURFACES_LIB_VERSION = '4.1.0'
# Mandatory variables
top = '.'
out = 'build'
children = [ children = [
'faderport', 'faderport',
'faderport8', 'faderport8',

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
# Version of this package (even if built as a child) # Version of this package (even if built as a child)
MAJOR = '0' MAJOR = '0'
MINOR = '0' MINOR = '0'

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -8,10 +8,6 @@ import os
# micro increment <=> no interface changes # micro increment <=> no interface changes
VAMP_PYIN_LIB_VERSION = '0.0.0' VAMP_PYIN_LIB_VERSION = '0.0.0'
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -2,10 +2,6 @@
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
import os import os
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -15,10 +15,6 @@ WAVEVIEW_LIB_VERSION = '0.0.0'
I18N_PACKAGE = 'libwaveview' I18N_PACKAGE = 'libwaveview'
# Mandatory variables
top = '.'
out = 'build'
waveview_sources = [ waveview_sources = [
'debug.cc', 'debug.cc',
'wave_view.cc', 'wave_view.cc',

View File

@ -15,10 +15,6 @@ WIDGETS_LIB_VERSION = '0.0.0'
I18N_PACKAGE = 'libwidgets' I18N_PACKAGE = 'libwidgets'
# Mandatory variables
top = '.'
out = 'build'
widgets_sources = [ widgets_sources = [
'ardour_ctrl_base.cc', 'ardour_ctrl_base.cc',
'ardour_button.cc', 'ardour_button.cc',

View File

@ -15,10 +15,6 @@ ZCONVOLVER_LIB_VERSION = '4.0.0'
I18N_PACKAGE = 'libzita-convolver' I18N_PACKAGE = 'libzita-convolver'
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -15,10 +15,6 @@ ZRESAMPLER_LIB_VERSION = '1.6.0'
I18N_PACKAGE = 'libzita-resampler' I18N_PACKAGE = 'libzita-resampler'
# Mandatory variables
top = '.'
out = 'build'
zresampler_sources = [ zresampler_sources = [
'resampler.cc', 'resampler.cc',
'resampler-table.cc', 'resampler-table.cc',

View File

@ -4,9 +4,6 @@ import waflib.Utils as Utils
import os import os
import sys import sys
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -4,10 +4,6 @@ import waflib.Utils as Utils
import os import os
import sys import sys
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -2,9 +2,6 @@
import os import os
top = '.'
out = 'build'
def configure(conf): def configure(conf):
pass pass

View File

@ -2,9 +2,6 @@
import os import os
top = '.'
out = 'build'
def configure(conf): def configure(conf):
pass pass

View File

@ -2,9 +2,6 @@
import os import os
top = '.'
out = 'build'
def configure(conf): def configure(conf):
pass pass

View File

@ -2,9 +2,6 @@
import os import os
top = '.'
out = 'build'
def configure(conf): def configure(conf):
pass pass

View File

@ -2,9 +2,6 @@
import os import os
top = '.'
out = 'build'
def configure(conf): def configure(conf):
pass pass

View File

@ -2,9 +2,6 @@
import os import os
top = '.'
out = 'build'
def configure(conf): def configure(conf):
pass pass

View File

@ -2,9 +2,6 @@
import os import os
top = '.'
out = 'build'
def configure(conf): def configure(conf):
pass pass

View File

@ -2,9 +2,6 @@
import os import os
top = '.'
out = 'build'
def configure(conf): def configure(conf):
pass pass

View File

@ -2,10 +2,6 @@
import waflib.Utils as Utils import waflib.Utils as Utils
import os import os
# Mandatory variables
top = '.'
out = 'build'
def options(ctx): def options(ctx):
pass pass

View File

@ -3,10 +3,6 @@ from waflib.extras import autowaf as autowaf
import re import re
import sys import sys
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)

View File

@ -1,10 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
from waflib.extras import autowaf as autowaf from waflib.extras import autowaf as autowaf
# Mandatory variables
top = '.'
out = 'build'
def options(opt): def options(opt):
autowaf.set_options(opt) autowaf.set_options(opt)