blob: 8ca726f78d38cec271640d7abfd110e05c336a04 [file] [log] [blame]
Patrick Williamsbba48ea2024-10-04 08:42:03 -04001gnome = import('gnome')
2
3openbmc_intf_src = gnome.gdbus_codegen(
4 'openbmc_intf',
5 sources: 'openbmc_intf.xml',
6 interface_prefix: 'org.openbmc',
7 object_manager: true,
8)
9
10libopenbmc_intf = library(
11 'libopenbmc_intf',
12 'gpio.c',
13 'gpio_configs.c',
14 'gpio_json.c',
15 openbmc_intf_src,
16 # The gdbus generated code cannot be compiled with -Wpedantic.
17 c_args : '-Wno-pedantic',
18 dependencies: [cjson_dep, gio_unix_dep, glib_dep],
19 version: meson.project_version(),
20 install: true,
21)
22
23libopenbmc_intf_includes = include_directories('.')
24
25import('pkgconfig').generate(
26 libopenbmc_intf,
27 name: 'libopenbmc_intf',
28 version: meson.project_version(),
29 requires: [gio_unix_dep, glib_dep],
30 description: '[deprecated] OpenBMC interface library from skeleton',
31)