summaryrefslogtreecommitdiff
path: root/gdbus/meson.build
blob: 4dda78d36699121b1c771859c4d5d1fca53d04e3 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name = meson.project_name() + '-gdbus-thread'

sources = files('dconf-gdbus-thread.c')

cflags = '-DG_LOG_DOMAIN="@0@"'.format(meson.project_name())

libdconf_gdbus_thread = static_library(
  name,
  sources: sources,
  include_directories: top_inc,
  dependencies: gio_unix_dep,
  c_args: cflags
)

libdconf_gdbus_thread_shared = static_library(
  name + '-shared',
  sources: sources,
  include_directories: top_inc,
  dependencies: gio_unix_dep,
  c_args: cflags,
  pic: true
)

name = meson.project_name() + '-gdbus-filter'

sources = files('dconf-gdbus-filter.c')

libdconf_gdbus_filter = static_library(
  name,
  sources: sources,
  include_directories: top_inc,
  dependencies: gio_unix_dep,
  c_args: cflags
)

libdconf_gdbus_filter_shared = static_library(
  name + '-shared',
  sources: sources,
  include_directories: top_inc,
  dependencies: gio_unix_dep,
  c_args: cflags,
  pic: true
)