blob: abc0fa3eace949b97a0f5317183402b7b1ac223a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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
|