diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-03-22 06:40:44 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-03-22 06:40:44 +0100 |
commit | 8e1c5a834469d804d28ee8ab2cbe2da8e600a789 (patch) | |
tree | b9771456583eaead893cfd8f02e680b58a3da970 /authenticator.am | |
parent | 80a5f2d8b095e895a5424f90b2ce4684d94c1a32 (diff) | |
parent | 3253d99365813f2d2ffd05e10cbb8c11f53d746e (diff) |
Merge tag 'upstream/0.26.0'
Upstream version 0.26.0
Diffstat (limited to 'authenticator.am')
-rw-r--r-- | authenticator.am | 58 |
1 files changed, 58 insertions, 0 deletions
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 |