summaryrefslogtreecommitdiffstats
path: root/contrib/meson.build
blob: 5d97e8891a4600e26ebb4a33ae1d2bc9c63e491a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# contrib
# SPDX-License-Identifier: GPL-3.0-or-later

contrib_src = files([
  'ccan/asprintf/asprintf.c',
  'ccan/json/json.c',
  'ucw/mempool.c',
  'ucw/mempool-fmt.c',
  'mempattern.c',
  'murmurhash3/murmurhash3.c',
  'base32hex.c',
  'base64.c',
  'base64url.c'
])

contrib_inc = include_directories('.', '..')

contrib_lib = static_library(
  'contrib',
  contrib_src,
  include_directories: contrib_inc,
  dependencies: libknot,
)

contrib_dep = declare_dependency(
  include_directories: contrib_inc,
  link_with: contrib_lib,
)