Add some more cases to the app-id unit tests
[glib.git] / gio / tests / gdbus-object-manager-example / Makefile.am
blob1d0464c5c643588ebdc0af83fe2a3eff0c460d93
1 include $(top_srcdir)/glib.mk
3 AM_CPPFLAGS = -g $(gio_INCLUDES) $(GLIB_DEBUG_FLAGS) -I$(top_builddir)/gio -I$(top_srcdir)/gio
5 # ------------------------------------------------------------------------
7 GDBUS_GENERATED = \
8         gdbus-example-objectmanager-generated.h                                                 \
9         gdbus-example-objectmanager-generated.c                                                 \
10         gdbus-example-objectmanager-generated-org.gtk.GDBus.Example.ObjectManager.Animal.xml    \
11         gdbus-example-objectmanager-generated-org.gtk.GDBus.Example.ObjectManager.Cat.xml       \
12         $(NULL)
14 $(GDBUS_GENERATED) : gdbus-example-objectmanager.xml Makefile $(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen
15         $(AM_V_GEN) UNINSTALLED_GLIB_SRCDIR=$(top_srcdir) \
16                 UNINSTALLED_GLIB_BUILDDIR=$(top_builddir) \
17                 $(PYTHON) $(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen \
18                 --interface-prefix org.gtk.GDBus.Example.ObjectManager. \
19                 --c-namespace Example \
20                 --c-generate-object-manager \
21                 --generate-c-code gdbus-example-objectmanager-generated \
22                 --generate-docbook gdbus-example-objectmanager-generated \
23                 $< \
24                 $(NULL)
26 test_ltlibraries = libgdbus-example-objectmanager.la
28 if ENABLE_GTK_DOC
29 # The docs pull these in, so we need them even if not doing 'make check'
30 BUILT_SOURCES += $(GDBUS_GENERATED)
31 noinst_LTLIBRARIES += libgdbus-example-objectmanager.la
32 endif
34 nodist_libgdbus_example_objectmanager_la_SOURCES = \
35         gdbus-example-objectmanager-generated.h         \
36         gdbus-example-objectmanager-generated.c
38 libgdbus_example_objectmanager_la_LIBADD = \
39         $(top_builddir)/glib/libglib-2.0.la             \
40         $(top_builddir)/gobject/libgobject-2.0.la       \
41         $(top_builddir)/gmodule/libgmodule-2.0.la       \
42         $(top_builddir)/gio/libgio-2.0.la               \
43         $(NULL)
45 EXTRA_DIST += gdbus-example-objectmanager.xml
47 CLEANFILES += $(GDBUS_GENERATED)
49 check-TESTS: