1# Copyright (C) 2020 Alexandros Theodotou <alex at zrythm dot org>
2#
3# This file is part of Zrythm
4#
5# Zrythm is free software: you can redistribute it and/or modify
6# it under the terms of the GNU Affero General Public License as published by
7# the Free Software Foundation, either version 3 of the License, or
8# (at your option) any later version.
9#
10# Zrythm is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13# GNU Affero General Public License for more details.
14#
15# You should have received a copy of the GNU Affero General Public License
16# along with Zrythm.  If not, see <https://www.gnu.org/licenses/>.
17
18eg_fifths_cdata = configuration_data ()
19if os_windows
20  eg_fifths_cdata.set ('LIB_EXT', '.dll')
21else
22  eg_fifths_cdata.set ('LIB_EXT', '.so')
23endif
24manifest_ttl = configure_file (
25  input: 'manifest.ttl.in',
26  output: 'manifest.ttl',
27  configuration: eg_fifths_cdata,
28  )
29fifths_ttl = configure_file (
30  input: 'fifths.ttl',
31  output: 'fifths.ttl',
32  configuration: eg_fifths_cdata,
33  )
34
35eg_fifths_lv2 = shared_library (
36  'fifths',
37  name_prefix: '',
38  sources: [
39    'fifths.c',
40    ],
41  dependencies: [ lv2_dep, libm ],
42  install: false,
43  )
44