blob: 4568e29401a5b52a901ed3e68cd2959b00a3ebac (
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
|
SUBDIRS = misc help po app-icons icons ui
EXTRA_DIST = AUTHORS
AUTHORS:
$(AM_V_GEN)if test -d "$(srcdir)/.git"; \
then \
echo Creating $@ && \
( cd "$(top_srcdir)" && \
echo '# Generated by Makefile. Do not edit.'; echo; \
git log --no-merges --pretty=format:"%an" $(SUBDIRS) \
| sort | uniq ) > $@.tmp \
&& mv -f $@.tmp $@ \
|| ( rm -f $@.tmp ; \
echo Failed to generate $@ >&2 ); \
else touch $@; fi
# Generate the ChangeLog and clean the dist tarball
@GENERATE_CHANGELOG_RULES@
dist-hook: dist-ChangeLog
# find $(distdir) -name "*.c" -o -name "shotwell*.h" -o -name "shotwell*.vapi" -o -name "*vala.stamp" -exec rm {} \;
MAINTAINERCLEANFILES = \
$(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
$(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN) \
$(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL)
GITIGNOREFILES = \
ABOUT-NLS \
plugins/**/*.h \
plugins/**/*.vapi \
**/*.sw[nop] \
**/*~ \
*.o \
m4/* \
**/resource.c \
aclocal.m4 \
build-aux \
ChangeLog \
config \
config.h.in \
gtk-doc.m4 \
gtk-doc.make \
INSTALL \
$(NULL)
#
# Generate utility library for plugins
#
lib_LTLIBRARIES = \
plugins/common/libshotwell-plugin-common.la
plugins_common_libshotwell_plugin_common_la_SOURCES = \
plugins/common/RESTSupport.vala \
plugins/common/Resources.vala \
plugins/common/WebAuthenticationPane.vala \
plugins/common/BuilderPane.vala \
plugins/shotwell-plugin-dev-1.0.vapi
$(top_srcdir)/plugins/shotwell-plugin-common.vapi plugins/shotwell-plugin-common.h: \
plugins_common_libshotwell_plugin_common_la_vala.stamp
plugins_common_libshotwell_plugin_common_la_VALAFLAGS = \
$(COMMON_VALAFLAGS) \
--library publishing-support \
--pkg gtk+-3.0 \
--pkg json-glib-1.0 \
--pkg libsoup-2.4 \
--pkg libxml-2.0 \
--pkg webkit2gtk-4.0 \
--pkg gee-0.8 \
--vapi=plugins/shotwell-plugin-common.vapi \
--header=plugins/shotwell-plugin-common.h
plugins_common_libshotwell_plugin_common_la_CFLAGS = \
$(PLUGIN_CFLAGS) \
-Wno-incompatible-pointer-types -Wno-discarded-qualifiers \
-DGETTEXT_PACKAGE='"$(GETTEXT_PACKAGE)"' \
-I $(top_srcdir)/plugins -I$(top_builddir)/plugins
plugins_common_libshotwell_plugin_common_la_LIBADD = \
$(PLUGIN_LIBS)
plugins/shotwell-plugin-dev-1.0.vapi plugins/shotwell-plugin-dev-1.0.h: src_plugins_libplugin_la_vala.stamp
#
# Create intermediate library for the Plugin API
#
noinst_LTLIBRARIES = \
src/plugins/libplugin.la
src_plugins_libplugin_la_SOURCES = \
src/plugins/SpitInterfaces.vala \
src/plugins/TransitionsInterfaces.vala \
src/plugins/PublishingInterfaces.vala \
src/plugins/DataImportsInterfaces.vala
src_plugins_libplugin_la_VALAFLAGS = \
$(COMMON_VALAFLAGS) \
--pkg gio-2.0 \
--pkg gtk+-3.0 \
--pkg gmodule-2.0 \
--pkg gee-0.8 \
--library plugins \
--vapi=plugins/shotwell-plugin-dev-1.0.vapi \
--header=plugins/shotwell-plugin-dev-1.0.h
src_plugins_libplugin_la_CFLAGS = $(PLUGIN_CFLAGS)
SHOTWELL_PLUGIN_LDFLAGS = \
-no-undefined \
-module \
-shared \
-export_dynamic \
-avoid-version
-include $(top_srcdir)/git.mk
plugindir = $(pkglibdir)/plugins/builtin
plugin_LTLIBRARIES =
dist_plugin_DATA =
pkglibexec_PROGRAMS =
dist_pkglibexec_SCRIPTS = $(top_srcdir)/settings-migrator/shotwell-settings-migrator
dist_noinst_DATA = $(NULL)
MOSTLYCLEANFILES = $(NULL)
include $(top_srcdir)/common.am
include $(top_srcdir)/shotwell.am
include $(top_srcdir)/thumbnailer.am
# Plugins
include $(top_srcdir)/publish.am
if HAVE_EXTRA_PLUGINS
include $(top_srcdir)/publish-extra.am
endif
include $(top_srcdir)/transition.am
include $(top_srcdir)/import.am
dist_noinst_SCRIPTS = \
autogen.sh
dist_noinst_DATA += \
plugins/shotwell-plugin-dev-1.0.h \
plugins/shotwell-plugin-common.h \
vapi/gphoto.h \
vapi/libexif.vapi \
vapi/libgphoto2.vapi \
vapi/libraw.vapi \
vapi/unity.deps \
vapi/unity.vapi \
vapi/misc.vapi
|