4 # TODO: check these flags and how to add them to waf
5 # LIBRARIES = -DPIC -Wall
6 # CFLAGS := -g -fPIC -DPIC -Wall -Werror
8 # the following two variables are used by the target "waf dist"
12 # these variables are mandatory ('/' are converted automatically)
17 opt
.parser
.remove_option('--prefix') # prefix as commonly used concept has no use here, so we remove it to not add confusion
18 opt
.tool_options('compiler_cc')
19 opt
.tool_options('compiler_cxx')
20 opt
.tool_options('lv2plugin', tooldir
='.')
23 conf
.check_tool('compiler_cc')
24 conf
.check_tool('compiler_cxx')
25 conf
.check_tool('lv2plugin', tooldir
='.')
27 conf
.check_pkg('fftw3', mandatory
=True)
28 conf
.check_pkg('lv2core', mandatory
=True)
29 conf
.check_pkg('lv2dynparamplugin1', mandatory
=True)
32 zynadd
= bld
.create_obj('lv2plugin')
33 zynadd
.uselib
= 'LV2DYNPARAMPLUGIN1 LV2CORE FFTW3'
34 zynadd
.target
= 'zynadd'
35 zynadd
.ttl
= ['zynadd.ttl', 'manifest.ttl']
43 'zynadd_dynparam_value_changed_callbacks.c',
44 'zynadd_dynparam_forest_map.c',
45 'zynadd_dynparam_forest_map_top.c',
46 'zynadd_dynparam_forest_map_voice.c',
49 'oscillator_access.c',
54 'filter_parameters.cpp',
55 'envelope_parameters.cpp',
62 'addsynth_component_amp_globals.cpp',
63 'addsynth_component_amp_envelope.cpp',
64 'addsynth_component_lfo.cpp',
65 'addsynth_component_filter_globals.cpp',
66 'addsynth_component_filter_analog.cpp',
67 'addsynth_component_filter_formant.cpp',
68 'addsynth_component_filter_sv.cpp',
69 'addsynth_component_filter_envelope.cpp',
70 'addsynth_component_frequency_globals.cpp',
71 'addsynth_component_frequency_envelope.cpp',
72 'addsynth_component_voice_globals.cpp']