2011-06-03 19:22:31 +02:00
|
|
|
NULL =
|
|
|
|
BUILT_SOURCES =
|
|
|
|
CLEANFILES =
|
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.decl
|
|
|
|
|
2013-02-03 04:54:15 +01:00
|
|
|
AM_CPPFLAGS = \
|
2011-06-03 19:22:31 +02:00
|
|
|
-g \
|
|
|
|
$(gio_INCLUDES) \
|
|
|
|
$(GLIB_DEBUG_FLAGS) \
|
|
|
|
-I$(top_builddir)/gio \
|
|
|
|
-I$(top_srcdir)/gio \
|
|
|
|
-DSRCDIR=\""$(srcdir)"\"
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------
|
|
|
|
|
|
|
|
GDBUS_GENERATED = \
|
|
|
|
gdbus-example-objectmanager-generated.h \
|
|
|
|
gdbus-example-objectmanager-generated.c \
|
|
|
|
gdbus-example-objectmanager-generated-org.gtk.GDBus.Example.ObjectManager.Animal.xml \
|
|
|
|
gdbus-example-objectmanager-generated-org.gtk.GDBus.Example.ObjectManager.Cat.xml \
|
|
|
|
$(NULL)
|
|
|
|
|
2011-10-05 18:33:55 +02:00
|
|
|
$(GDBUS_GENERATED) : gdbus-example-objectmanager.xml Makefile $(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen
|
2011-08-23 17:38:36 +02:00
|
|
|
$(AM_V_GEN) UNINSTALLED_GLIB_SRCDIR=$(top_srcdir) \
|
|
|
|
UNINSTALLED_GLIB_BUILDDIR=$(top_builddir) \
|
2011-08-23 17:37:35 +02:00
|
|
|
$(PYTHON) $(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen \
|
|
|
|
--interface-prefix org.gtk.GDBus.Example.ObjectManager. \
|
|
|
|
--c-namespace Example \
|
|
|
|
--c-generate-object-manager \
|
|
|
|
--generate-c-code gdbus-example-objectmanager-generated \
|
|
|
|
--generate-docbook gdbus-example-objectmanager-generated \
|
|
|
|
$< \
|
2011-06-03 19:22:31 +02:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(GDBUS_GENERATED)
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libgdbus-example-objectmanager.la
|
|
|
|
libgdbus_example_objectmanager_la_SOURCES = gdbus-example-objectmanager-generated.h gdbus-example-objectmanager-generated.c
|
|
|
|
libgdbus_example_objectmanager_la_LIBADD = \
|
|
|
|
$(top_builddir)/glib/libglib-2.0.la \
|
|
|
|
$(top_builddir)/gobject/libgobject-2.0.la \
|
|
|
|
$(top_builddir)/gmodule/libgmodule-2.0.la \
|
|
|
|
$(top_builddir)/gio/libgio-2.0.la \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXTRA_DIST += gdbus-example-objectmanager.xml
|
|
|
|
|
|
|
|
CLEANFILES += $(GDBUS_GENERATED)
|
|
|
|
|