-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
184 lines (162 loc) · 5.68 KB
/
Makefile.am
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
ACLOCAL_AMFLAGS = -I macros ${ACLOCAL_FLAGS}
DISTCHECK_CONFIGURE_FLAGS = --enable-maemo-launcher --with-midgard
bin_PROGRAMS = conboy
conboy_SOURCES = \
src/localisation.h \
src/main.c \
src/interface.h \
src/interface.c \
src/callbacks.h \
src/callbacks.c \
src/localisation.h \
src/metadata.h \
src/metadata.c \
src/note.h \
src/note.c \
src/search_window.h \
src/search_window.c \
src/conboy_note_store.c \
src/conboy_note_store.h \
src/note_linker.h \
src/note_linker.c \
src/app_data.h \
src/app_data.c \
src/json.h \
src/json.c \
src/settings.h \
src/settings.c \
src/settings_window.h \
src/settings_window.c \
src/search.h \
src/search.c \
src/conboy_note.h \
src/conboy_note.c \
src/conboy_oauth.h \
src/conboy_oauth.c \
src/conboy_plugin.h \
src/conboy_plugin.c \
src/conboy_storage_plugin.h \
src/conboy_storage_plugin.c \
src/conboy_plugin_info.h \
src/conboy_plugin_info.c \
src/conboy_plugin_manager.h \
src/conboy_plugin_manager.c \
src/conboy_storage.h \
src/conboy_storage.c \
src/conboy_note_buffer.h \
src/conboy_note_buffer.c \
src/conboy_plugin_store.h \
src/conboy_plugin_store.c \
src/orientation.h \
src/orientation.c \
src/ui_helper.h \
src/ui_helper.c \
src/conboy_plugin_manager_row.h \
src/conboy_plugin_manager_row.c \
src/gregex.h \
src/gregex.c \
src/conboy_xml.h \
src/conboy_xml.c \
src/conboy_http.h \
src/conboy_http.c \
src/conboy_web_sync.h \
src/conboy_web_sync.c \
src/extra_strings.h \
src/sharing.h \
src/sharing.c
conboy_CPPFLAGS = $(DEPS_CFLAGS) $(EXTRAS_CPPFLAGS) \
-I$(top_srcdir)/src -I$(top_builddir) -I$(top_builddir)/src
conboy_LDADD = $(DEPS_LIBS)
plugindir = $(pkglibdir)
plugin_LTLIBRARIES = \
src/plugins/storage_evernote/libstorageevernote.la \
src/plugins/storage_midgard/libstoragemidgard.la \
src/plugins/storage_xml/libstoragexml.la
nodist_plugin_DATA = \
src/plugins/storage_evernote/conboy_storage_evernote.plugin \
src/plugins/storage_xml/conboy_storage_xml.plugin
dist_plugin_DATA = \
src/plugins/storage_evernote/conboy_storage_evernote.plugin.desktop.in \
src/plugins/storage_midgard/conboy_storage_midgard.plugin.desktop.in \
src/plugins/storage_xml/conboy_storage_xml.plugin.desktop.in
if MIDGARD
nodist_plugin_DATA += \
src/plugins/storage_midgard/conboy_storage_midgard.plugin
midgardschemadir = $(datadir)/midgard2/schema
dist_midgardschema_DATA = data/org_gnome_tomboy.xml
src_plugins_storage_midgard_libstoragemidgard_la_SOURCES = \
src/plugins/storage_midgard/conboy_midgard_storage_plugin.h \
src/plugins/storage_midgard/conboy_midgard_storage_plugin.c
src_plugins_storage_midgard_libstoragemidgard_la_CPPFLAGS = \
$(STORAGE_MIDGARD_CFLAGS) $(EXTRA_CPPFLAGS)
src_plugins_storage_midgard_libstoragemidgard_la_LIBADD = \
$(STORAGE_MIDGARD_LIBS)
src_plugins_storage_midgard_libstoragemidgard_la_LDFLAGS = \
-module -avoid-version
endif
CLEANFILES = $(nodist_plugin_DATA)
%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
src_plugins_storage_evernote_libstorageevernote_la_SOURCES = \
src/plugins/storage_evernote/conboy_evernote_storage_plugin.h \
src/plugins/storage_evernote/conboy_evernote_storage_plugin.c
src_plugins_storage_evernote_libstorageevernote_la_CPPFLAGS = \
$(STORAGE_EVERNOTE_CFLAGS) $(EXTRA_CPPFLAGS)
src_plugins_storage_evernote_libstorageevernote_la_LIBADD = \
$(STORAGE_EVERNOTE_LIBS)
src_plugins_storage_evernote_libstorageevernote_la_LDFLAGS = \
-module -avoid-version
src_plugins_storage_xml_libstoragexml_la_SOURCES = \
src/plugins/storage_xml/conboy_xml_storage_plugin.h \
src/plugins/storage_xml/conboy_xml_storage_plugin.c
src_plugins_storage_xml_libstoragexml_la_CPPFLAGS = \
$(STORAGE_XML_CFLAGS) $(EXTRA_CPPFLAGS) -I$(top_builddir)
src_plugins_storage_xml_libstoragexml_la_LIBADD = $(STORAGE_XML_LIBS)
src_plugins_storage_xml_libstoragexml_la_LDFLAGS = -module -avoid-version
dbusdir = $(datadir)/dbus-1/services
nodist_dbus_DATA = data/de.zwong.conboy.service
desktopdir = $(datadir)/applications/hildon
nodist_desktop_DATA = data/conboy2.desktop
#miscdir = $(datadir)/conboy
#dist_misc_DATA = data/conboy_to_html.xsl
stuffdir = $(pkgdatadir)
dist_stuff_DATA = data/conboy_to_html.xsl
# Icons
icon_26x26dir=$(datadir)/icons/hicolor/26x26/hildon
icon_40x40dir=$(datadir)/icons/hicolor/40x40/hildon
icon_48x48dir=$(datadir)/icons/hicolor/48x48/hildon
icon_64x64dir=$(datadir)/icons/hicolor/64x64/hildon
icon_scalabledir=$(datadir)/icons/hicolor/scalable/hildon
dist_icon_26x26_DATA = data/icons/26x26/conboy.png
dist_icon_40x40_DATA = data/icons/40x40/conboy.png
dist_icon_48x48_DATA = data/icons/48x48/conboy.png \
data/icons/48x48/conboy-decrease_indent.png \
data/icons/48x48/conboy-hyperlink.png \
data/icons/48x48/conboy-increase_indent.png \
data/icons/48x48/conboy-text_transform.png
dist_icon_64x64_DATA = data/icons/64x64/conboy.png
dist_icon_scalable_DATA = data/icons/scalable/conboy.png
backupdir = /etc/osso-backup/applications
nodist_backup_DATA = data/conboy.conf
# List extras to package
dist_noinst_SCRIPTS = \
autogen.sh \
debian/modify_control.sh \
debian/rules
dist_noinst_DATA = \
debian/changelog \
debian/conboy.install \
debian/conboy-midgard.install \
debian/control \
debian/control_midgard \
debian/copyright \
debian/launcher \
debian/optify \
debian/postinst \
debian/postrm
# Sub directories
SUBDIRS = po
deb: distcheck
-mkdir $(top_builddir)/debian-build
cd $(top_builddir)/debian-build && tar -zxf ../$(top_builddir)/$(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.gz
cd $(top_builddir)/debian-build/$(PACKAGE_NAME)-$(PACKAGE_VERSION) && dpkg-buildpackage -rfakeroot
rm -rf $(top_builddir)/debian-build/$(PACKAGE_NAME)-$(PACKAGE_VERSION)