1 # FIXME: set UNINSTALLED_GLIB_{SRC|BUILD}DIR=top_{src|build}dir ?
2 gdbus_example_objectmanager_generated = custom_target('gdbus-example-objectmanager-generated',
3 input : ['gdbus-example-objectmanager.xml'],
4 output : ['gdbus-example-objectmanager-generated.h',
5 'gdbus-example-objectmanager-generated.c',
6 'gdbus-example-objectmanager-generated-org.gtk.GDBus.Example.ObjectManager.Animal.xml',
7 'gdbus-example-objectmanager-generated-org.gtk.GDBus.Example.ObjectManager.Cat.xml'],
8 command : [python, gdbus_codegen,
9 '--interface-prefix', 'org.gtk.GDBus.Example.ObjectManager.',
10 '--c-namespace', 'Example',
11 '--c-generate-object-manager',
12 '--output-directory', '@OUTDIR@',
13 '--generate-c-code', 'gdbus-example-objectmanager-generated',
14 '--generate-docbook', 'gdbus-example-objectmanager-generated',
17 libgdbus_example_objectmanager = library('libgdbus-example-objectmanager',
18 gdbus_example_objectmanager_generated,
20 dependencies : [libglib_dep, libgmodule_dep, libgobject_dep, libgio_dep],
23 libgdbus_example_objectmanager_dep = declare_dependency(sources : gdbus_example_objectmanager_generated,
24 link_with : libgdbus_example_objectmanager)