From 3253d99365813f2d2ffd05e10cbb8c11f53d746e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 22 Mar 2017 06:39:17 +0100 Subject: New upstream version 0.26.0 --- authenticator.am | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 authenticator.am (limited to 'authenticator.am') diff --git a/authenticator.am b/authenticator.am new file mode 100644 index 0000000..abc0fa3 --- /dev/null +++ b/authenticator.am @@ -0,0 +1,58 @@ +lib_LTLIBRARIES += plugins/authenticator/libshotwell-authenticator.la + +dist_noinst_DATA += \ + plugins/authenticator/shotwell/flickr_pin_entry_pane.ui \ + plugins/authenticator/shotwell/org.gnome.Shotwell.Authenticator.gresource.xml \ + plugins/authenticator/shotwell-authenticator.h + +plugins/authenticator/shotwell-authenticator.vapi plugins/authenticator/shotwell-authenticator.h: \ + plugins_authenticator_libshotwell_authenticator_la_vala.stamp + +plugins_authenticator_libshotwell_authenticator_la_SOURCES = \ + plugins/shotwell-plugin-common.vapi \ + plugins/shotwell-plugin-dev-1.0.vapi + +plugins_authenticator_libshotwell_authenticator_la_VALAFLAGS = \ + $(COMMON_VALAFLAGS) \ + --library shotwell-authenticator \ + --vapi=plugins/authenticator/shotwell-authenticator.vapi \ + --header=plugins/authenticator/shotwell-authenticator.h \ + $(AUTHENTICATOR_PACKAGES) \ + --vapidir $(abs_top_srcdir)/plugins + +plugins_authenticator_libshotwell_authenticator_la_LIBADD = \ + $(AUTHENTICATOR_LIBS) \ + $(top_builddir)/plugins/common/libshotwell-plugin-common.la + +plugins_authenticator_libshotwell_authenticator_la_CFLAGS = \ + $(COMMON_CFLAGS) \ + $(AUTHENTICATOR_CFLAGS) \ + -I $(top_srcdir)/plugins \ + -DPLUGIN_RESOURCE_PATH='"/org/gnome/Shotwell/Authenticator"' + +## Resource handling + +nodist_plugins_authenticator_libshotwell_authenticator_la_SOURCES = \ + plugins/authenticator/resource.c +MOSTLYCLEANFILES += plugins/authenticator/resource.c + +AUTHENTICATOR_RESOURCE_DEPS = $(shell $(GLIB_COMPILE_RESOURCES) \ + --sourcedir=$(AUTHENTICATOR_RESOURCE_SOURCEDIR) \ + --generate-dependencies $(AUTHENTICATOR_SHOTWELL_RESOURCE_FILE)) + +plugins/authenticator/resource.c: $(AUTHENTICATOR_RESOURCE_DEPS) $(AUTHENTICATOR_RESOURCE_FILE) + $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) \ + --target=$@ \ + --sourcedir=$(AUTHENTICATOR_RESOURCE_SOURCEDIR) \ + --generate $(AUTHENTICATOR_RESOURCE_FILE) + +if AUTHENTICATOR_SHOTWELL +AUTHENTICATOR_RESOURCE_FILE := $(abs_top_srcdir)/plugins/authenticator/shotwell/org.gnome.Shotwell.Authenticator.gresource.xml +AUTHENTICATOR_RESOURCE_SOURCEDIR := $(abs_top_srcdir)/plugins/authenticator/shotwell + +plugins_authenticator_libshotwell_authenticator_la_SOURCES += \ + plugins/authenticator/shotwell/ShotwellAuthenticatorFactory.vala \ + plugins/authenticator/shotwell/FacebookPublishingAuthenticator.vala \ + plugins/authenticator/shotwell/FlickrPublishingAuthenticator.vala \ + plugins/authenticator/shotwell/GoogleAuthenticator.vala +endif -- cgit v1.2.3