|
Packit |
79f644 |
-include $(INTROSPECTION_MAKEFILE)
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
NULL =
|
|
Packit |
79f644 |
BUILT_SOURCES =
|
|
Packit |
79f644 |
CLEANFILES =
|
|
Packit |
79f644 |
DISTCLEANFILES =
|
|
Packit |
79f644 |
EXTRA_DIST =
|
|
Packit |
79f644 |
INTROSPECTION_GIRS =
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
AM_CPPFLAGS = \
|
|
Packit |
79f644 |
-I$(top_builddir)/src -I$(top_srcdir)/src \
|
|
Packit |
79f644 |
-I$(top_builddir)/src/goa \
|
|
Packit |
79f644 |
-DG_LOG_DOMAIN=\"Goa\" \
|
|
Packit |
79f644 |
-DGOA_COMPILATION \
|
|
Packit |
79f644 |
-DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
|
|
Packit |
79f644 |
-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
|
|
Packit |
79f644 |
-DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" \
|
|
Packit |
79f644 |
-DPACKAGE_BIN_DIR=\""$(bindir)"\" \
|
|
Packit |
79f644 |
-DPACKAGE_LOCALSTATE_DIR=\""$(localstatedir)"\" \
|
|
Packit |
79f644 |
-DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
|
|
Packit |
79f644 |
-DPACKAGE_LIB_DIR=\""$(libdir)"\" \
|
|
Packit |
79f644 |
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT \
|
|
Packit |
79f644 |
$(WARN_CFLAGS) \
|
|
Packit |
79f644 |
$(NULL)
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
# ----------------------------------------------------------------------------------------------------
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
DISTCLEANFILES += goaconfig-stamp goaconfig.h
|
|
Packit |
79f644 |
BUILT_SOURCES += goaconfig-stamp
|
|
Packit |
79f644 |
configexecincludedir = $(libdir)/goa-1.0/include
|
|
Packit |
79f644 |
nodist_configexecinclude_HEADERS = goaconfig.h
|
|
Packit |
79f644 |
goaconfig-stamp: ../../config.status
|
|
Packit |
79f644 |
$(AM_V_GEN) cd $(top_builddir) && \
|
|
Packit |
79f644 |
$(SHELL) ./config.status src/goa/goaconfig.h
|
|
Packit |
79f644 |
@touch goaconfig-stamp
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
# ----------------------------------------------------------------------------------------------------
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
dbus_built_sources = goa-generated.c goa-generated.h goa-generated-doc-org.gnome.OnlineAccounts.Account.xml
|
|
Packit |
79f644 |
BUILT_SOURCES += $(dbus_built_sources)
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
$(dbus_built_sources) : Makefile.am $(top_srcdir)/data/dbus-interfaces.xml
|
|
Packit |
79f644 |
$(AM_V_GEN) gdbus-codegen \
|
|
Packit |
79f644 |
--interface-prefix org.gnome.OnlineAccounts. \
|
|
Packit |
79f644 |
--c-namespace Goa \
|
|
Packit |
79f644 |
--c-generate-object-manager \
|
|
Packit |
79f644 |
--generate-c-code goa-generated \
|
|
Packit |
79f644 |
--generate-docbook goa-generated-doc \
|
|
Packit |
79f644 |
$(top_srcdir)/data/dbus-interfaces.xml \
|
|
Packit |
79f644 |
$(NULL)
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
# ----------------------------------------------------------------------------------------------------
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
goaenumtypes.h: goaenums.h goaenumtypes.h.template
|
|
Packit |
79f644 |
$(AM_V_GEN) ( top_builddir=`cd $(top_builddir) && pwd`; \
|
|
Packit |
79f644 |
cd $(srcdir) && glib-mkenums --template goaenumtypes.h.template goaenums.h ) > \
|
|
Packit |
79f644 |
goaenumtypes.h.tmp && mv goaenumtypes.h.tmp goaenumtypes.h
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
goaenumtypes.c: goaenums.h goaenumtypes.h goaenumtypes.c.template
|
|
Packit |
79f644 |
$(AM_V_GEN) ( top_builddir=`cd $(top_builddir) && pwd`; \
|
|
Packit |
79f644 |
cd $(srcdir) && glib-mkenums --template goaenumtypes.c.template goaenums.h ) > \
|
|
Packit |
79f644 |
goaenumtypes.c.tmp && mv goaenumtypes.c.tmp goaenumtypes.c
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
enum_built_sources = \
|
|
Packit |
79f644 |
goaenumtypes.h goaenumtypes.c \
|
|
Packit |
79f644 |
$(NULL)
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
EXTRA_DIST += goaenumtypes.h.template goaenumtypes.c.template
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
# ----------------------------------------------------------------------------------------------------
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
lib_LTLIBRARIES = libgoa-1.0.la
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
libgoa_1_0_ladir = $(includedir)/goa-1.0/goa
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
libgoa_1_0_la_HEADERS = \
|
|
Packit |
79f644 |
goa.h \
|
|
Packit |
79f644 |
goaclient.h \
|
|
Packit |
79f644 |
goaerror.h \
|
|
Packit |
79f644 |
goaenums.h \
|
|
Packit |
79f644 |
goaenumtypes.h \
|
|
Packit |
79f644 |
goaversion.h \
|
|
Packit |
79f644 |
goa-generated.h \
|
|
Packit |
79f644 |
$(NULL)
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
libgoa_1_0_la_SOURCES = \
|
|
Packit |
79f644 |
goa.h \
|
|
Packit |
79f644 |
goaclient.h goaclient.c \
|
|
Packit |
79f644 |
goaerror.h goaerror.c \
|
|
Packit |
79f644 |
goa-generated.h goa-generated.c \
|
|
Packit |
79f644 |
goaenums.h \
|
|
Packit |
79f644 |
goaenumtypes.h goaenumtypes.c \
|
|
Packit |
79f644 |
goaversion.h goaversion.c \
|
|
Packit |
79f644 |
$(NULL)
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
libgoa_1_0_la_CFLAGS = \
|
|
Packit |
79f644 |
$(GLIB_CFLAGS) \
|
|
Packit |
79f644 |
$(NULL)
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
libgoa_1_0_la_LIBADD = \
|
|
Packit |
79f644 |
$(GLIB_LIBS) \
|
|
Packit |
79f644 |
$(NULL)
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
libgoa_1_0_la_LDFLAGS = \
|
|
Packit |
79f644 |
$(WARN_LDFLAGS) \
|
|
Packit |
79f644 |
-version-info $(GOA_LT_VERSION) \
|
|
Packit |
79f644 |
$(NULL)
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
# ----------------------------------------------------------------------------------------------------
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
pkgconfigdir = $(libdir)/pkgconfig
|
|
Packit |
79f644 |
pkgconfig_DATA = goa-1.0.pc
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
# ----------------------------------------------------------------------------------------------------
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
if HAVE_INTROSPECTION
|
|
Packit |
79f644 |
Goa-1.0.gir: libgoa-1.0.la
|
|
Packit |
79f644 |
Goa_1_0_gir_INCLUDES = Gio-2.0
|
|
Packit |
79f644 |
Goa_1_0_gir_PACKAGES = glib-2.0 gobject-2.0 gio-2.0
|
|
Packit |
79f644 |
Goa_1_0_gir_EXPORT_PACKAGES = goa-1.0
|
|
Packit |
79f644 |
Goa_1_0_gir_LIBS = goa-1.0
|
|
Packit |
79f644 |
Goa_1_0_gir_FILES = $(libgoa_1_0_la_HEADERS) $(libgoa_1_0_la_SOURCES)
|
|
Packit |
79f644 |
Goa_1_0_gir_CFLAGS = $(AM_CPPFLAGS) $(libgoa_1_0_la_CFLAGS)
|
|
Packit |
79f644 |
Goa_1_0_gir_SCANNERFLAGS = $(WARN_SCANNERFLAGS) --c-include='goa/goa.h'
|
|
Packit |
79f644 |
INTROSPECTION_GIRS += Goa-1.0.gir
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
girdir = $(datadir)/gir-1.0
|
|
Packit |
79f644 |
gir_DATA = Goa-1.0.gir
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
typelibsdir = $(libdir)/girepository-1.0
|
|
Packit |
79f644 |
typelibs_DATA = Goa-1.0.typelib
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
CLEANFILES += $(gir_DATA) $(typelibs_DATA)
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
if ENABLE_VAPIGEN
|
|
Packit |
79f644 |
-include $(VAPIGEN_MAKEFILE)
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
goa-1.0.vapi: Goa-1.0.gir Goa-1.0.metadata goa-1.0.deps
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
VAPIGEN_VAPIS = goa-1.0.vapi
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
goa_1_0_vapi_DEPS = gio-2.0
|
|
Packit |
79f644 |
goa_1_0_vapi_METADATADIRS = $(srcdir)
|
|
Packit |
79f644 |
goa_1_0_vapi_FILES = Goa-1.0.gir
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
goa-1.0.deps:
|
|
Packit |
79f644 |
$(AM_V_GEN) for pkg in $(goa_1_0_vapi_DEPS); do \
|
|
Packit |
79f644 |
echo $$pkg >> $@; \
|
|
Packit |
79f644 |
done
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
vapidir = $(datadir)/vala/vapi
|
|
Packit |
79f644 |
vapi_DATA = $(VAPIGEN_VAPIS) $(VAPIGEN_VAPIS:.vapi=.deps)
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
CLEANFILES += $(vapi_DATA)
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
EXTRA_DIST += Goa-1.0.metadata
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
endif # ENABLE_VAPIGEN
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
endif # HAVE_INTROSPECTION
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
# ----------------------------------------------------------------------------------------------------
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
CLEANFILES += \
|
|
Packit |
79f644 |
$(dbus_built_sources) \
|
|
Packit |
79f644 |
$(enum_built_sources) \
|
|
Packit |
79f644 |
goa-generated-doc-*.xml \
|
|
Packit |
79f644 |
$(NULL)
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
clean-local :
|
|
Packit |
79f644 |
rm -f *~
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
-include $(top_srcdir)/git.mk
|