publish-extra.am 2.23 KB
Newer Older
1
plugin_LTLIBRARIES += plugins/shotwell-publishing-extras/shotwell-publishing-extras.la
2 3

dist_noinst_DATA += \
Jens Georg's avatar
Jens Georg committed
4 5
	plugins/shotwell-publishing-extras/gallery3.png \
	plugins/shotwell-publishing-extras/rajce.png \
6 7 8 9
	plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui \
	plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui \
	plugins/shotwell-publishing-extras/rajce_authentication_pane.ui \
	plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui \
Jens Georg's avatar
Jens Georg committed
10 11
	plugins/shotwell-publishing-extras/yandex_publish_model.ui \
	plugins/shotwell-publishing-extras/org.gnome.Shotwell.Publishing.Extras.gresource.xml
12

13
plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_SOURCES = \
14 15 16 17 18 19
	plugins/shotwell-publishing-extras/GalleryConnector.vala \
	plugins/shotwell-publishing-extras/RajcePublishing.vala \
	plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala \
	plugins/shotwell-publishing-extras/YandexPublishing.vala \
	plugins/shotwell-plugin-common.vapi

20 21
nodist_plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_SOURCES = \
	plugins/shotwell-publishing-extras/resource.c
Jens Georg's avatar
Jens Georg committed
22
MOSTLYCLEANFILES += plugins/shotwell-publishing-extras/resource.c
23 24

plugins/shotwell-publishing-extras/resource.c: plugins/shotwell-publishing-extras/org.gnome.Shotwell.Publishing.Extras.gresource.xml
Jens Georg's avatar
Jens Georg committed
25
	$(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(abs_top_srcdir)/plugins/shotwell-publishing-extras --generate $<
26 27


28
plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_VALAFLAGS = \
29
	$(COMMON_VALAFLAGS) \
30
	@PUBLISHER_VALAFLAGS@ \
31 32 33 34 35 36 37 38
	--pkg gtk+-3.0 \
	--pkg libsoup-2.4 \
	--pkg gexiv2 \
	--pkg gee-0.8 \
	--pkg json-glib-1.0 \
	--pkg shotwell-plugin-dev-1.0 \
	--pkg libxml-2.0 \
	--pkg webkit2gtk-4.0 \
39
	--vapidir $(abs_top_srcdir)/plugins
40

41
plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_CFLAGS = \
42
	-DPLUGIN_RESOURCE_PATH='"/org/gnome/Shotwell/Publishing/Extras"' \
43 44
	$(PLUGIN_CFLAGS) \
	$(COMMON_CFLAGS) \
45
	-I $(abs_top_srcdir)/plugins
46

47
plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_LDFLAGS = \
48
	$(SHOTWELL_PLUGIN_LDFLAGS)
49

50
plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_LIBADD = \
Jens Georg's avatar
Jens Georg committed
51
	$(PUBLISHING_LIBS) \
52
	$(top_builddir)/plugins/common/libshotwell-plugin-common.la