1 | SUBDIRS = glade importer |
---|
2 | |
---|
3 | INCLUDES = -O \ |
---|
4 | -I$(top_srcdir)/widgets \ |
---|
5 | -I$(top_srcdir)/widgets/misc \ |
---|
6 | -I$(top_srcdir)/libical/src/libical \ |
---|
7 | -I$(top_builddir)/libical/src/libical \ |
---|
8 | -I$(top_srcdir) \ |
---|
9 | -DEVOLUTION_IMAGES=\""$(datadir)/images/evolution"\" \ |
---|
10 | -DEVOLUTION_LOCALEDIR=\""$(localedir)"\" \ |
---|
11 | -DEVOLUTION_DATADIR=\""$(datadir)"\" \ |
---|
12 | -DEVOLUTION_GLADEDIR=\"$(datadir)/evolution/glade\" \ |
---|
13 | -DEVOLUTION_ETSPECDIR=\""$(etspecdir)"\" \ |
---|
14 | -DPREFIX=\"$(prefix)\" \ |
---|
15 | -DG_LOG_DOMAIN=\"evolution-shell\" \ |
---|
16 | $(SHELL_CFLAGS) |
---|
17 | |
---|
18 | # Shell CORBA stuff |
---|
19 | |
---|
20 | IDLS = \ |
---|
21 | Evolution-Activity.idl \ |
---|
22 | Evolution-ConfigControl.idl \ |
---|
23 | Evolution-Offline.idl \ |
---|
24 | Evolution-Session.idl \ |
---|
25 | Evolution-Shell.idl \ |
---|
26 | Evolution-ShellComponent.idl \ |
---|
27 | Evolution-ShellComponentDnd.idl \ |
---|
28 | Evolution-ShellView.idl \ |
---|
29 | Evolution-Shortcuts.idl \ |
---|
30 | Evolution-Storage.idl \ |
---|
31 | Evolution-StorageSetView.idl \ |
---|
32 | Evolution-Wizard.idl \ |
---|
33 | Evolution-common.idl \ |
---|
34 | Evolution.idl |
---|
35 | |
---|
36 | IDL_GENERATED = \ |
---|
37 | Evolution.h \ |
---|
38 | Evolution-common.c \ |
---|
39 | Evolution-skels.c \ |
---|
40 | Evolution-stubs.c |
---|
41 | |
---|
42 | Evolution-impl.o: Evolution.h |
---|
43 | |
---|
44 | $(IDL_GENERATED): $(IDLS) |
---|
45 | $(ORBIT_IDL) -I $(srcdir) -I $(datadir)/idl `$(GNOME_CONFIG) --cflags idl` \ |
---|
46 | $(srcdir)/Evolution.idl |
---|
47 | |
---|
48 | # SelectNames CORBA stuff |
---|
49 | |
---|
50 | SELECT_NAMES_IDL = \ |
---|
51 | $(top_srcdir)/addressbook/gui/component/select-names/Evolution-Addressbook-SelectNames.idl |
---|
52 | |
---|
53 | SELECT_NAMES_IDL_GENERATED = \ |
---|
54 | Evolution-Addressbook-SelectNames.h \ |
---|
55 | Evolution-Addressbook-SelectNames-common.c \ |
---|
56 | Evolution-Addressbook-SelectNames-skels.c \ |
---|
57 | Evolution-Addressbook-SelectNames-stubs.c |
---|
58 | |
---|
59 | $(SELECT_NAMES_IDL_GENERATED): $(SELECT_NAMES_IDL) |
---|
60 | $(ORBIT_IDL) -I $(srcdir) -I $(datadir)/idl `$(GNOME_CONFIG) --cflags idl` \ |
---|
61 | $(SELECT_NAMES_IDL) |
---|
62 | |
---|
63 | # Wombat CORBA stuff |
---|
64 | |
---|
65 | WOMBAT_IDL = $(top_srcdir)/wombat/Evolution-Wombat.idl |
---|
66 | |
---|
67 | WOMBAT_IDL_GENERATED = \ |
---|
68 | Evolution-Wombat.h \ |
---|
69 | Evolution-Wombat-common.c \ |
---|
70 | Evolution-Wombat-skels.c \ |
---|
71 | Evolution-Wombat-stubs.c |
---|
72 | |
---|
73 | $(WOMBAT_IDL_GENERATED): $(WOMBAT_IDL) |
---|
74 | $(ORBIT_IDL) -I $(srcdir) -I $(datadir)/idl `$(GNOME_CONFIG) --cflags idl` $(WOMBAT_IDL) |
---|
75 | |
---|
76 | # IDL install |
---|
77 | |
---|
78 | idldir = $(datadir)/idl |
---|
79 | |
---|
80 | idl_DATA = $(IDLS) |
---|
81 | |
---|
82 | # Shell library |
---|
83 | |
---|
84 | lib_LTLIBRARIES = \ |
---|
85 | libeshell.la |
---|
86 | |
---|
87 | eshellincludedir = $(includedir)/evolution/shell |
---|
88 | |
---|
89 | eshellinclude_HEADERS = \ |
---|
90 | Evolution.h \ |
---|
91 | e-folder.h \ |
---|
92 | e-folder-list.h \ |
---|
93 | e-folder-tree.h \ |
---|
94 | e-shell-corba-icon-utils.h \ |
---|
95 | evolution-activity-client.h \ |
---|
96 | evolution-config-control.h \ |
---|
97 | evolution-folder-selector-button.h \ |
---|
98 | evolution-session.h \ |
---|
99 | evolution-shell-client.h \ |
---|
100 | evolution-shell-component-client.h \ |
---|
101 | evolution-shell-component.h \ |
---|
102 | evolution-shell-component-dnd.h \ |
---|
103 | evolution-shell-component-utils.h \ |
---|
104 | evolution-shell-view.h \ |
---|
105 | evolution-storage-listener.h \ |
---|
106 | evolution-storage-set-view-listener.h \ |
---|
107 | evolution-storage.h \ |
---|
108 | evolution-wizard.h |
---|
109 | |
---|
110 | libeshell_la_SOURCES = \ |
---|
111 | $(IDL_GENERATED) \ |
---|
112 | e-folder.c \ |
---|
113 | e-folder-list.c \ |
---|
114 | e-folder-tree.c \ |
---|
115 | e-shell-corba-icon-utils.c \ |
---|
116 | evolution-activity-client.c \ |
---|
117 | evolution-config-control.c \ |
---|
118 | evolution-folder-selector-button.c \ |
---|
119 | evolution-session.c \ |
---|
120 | evolution-shell-client.c \ |
---|
121 | evolution-shell-component-client.c \ |
---|
122 | evolution-shell-component.c \ |
---|
123 | evolution-shell-component-dnd.c \ |
---|
124 | evolution-shell-component-utils.c \ |
---|
125 | evolution-shell-view.c \ |
---|
126 | evolution-storage-listener.c \ |
---|
127 | evolution-storage-set-view-listener.c \ |
---|
128 | evolution-storage.c \ |
---|
129 | evolution-wizard.c \ |
---|
130 | $(eshellinclude_HEADERS) |
---|
131 | |
---|
132 | # Evolution executable |
---|
133 | |
---|
134 | bin_PROGRAMS = evolution |
---|
135 | |
---|
136 | evolution_SOURCES = \ |
---|
137 | $(SELECT_NAMES_IDL_GENERATED) \ |
---|
138 | $(WOMBAT_IDL_GENERATED) \ |
---|
139 | e-activity-handler.c \ |
---|
140 | e-activity-handler.h \ |
---|
141 | e-component-info.c \ |
---|
142 | e-component-info.h \ |
---|
143 | e-component-registry.c \ |
---|
144 | e-component-registry.h \ |
---|
145 | e-corba-config-page.c \ |
---|
146 | e-corba-config-page.h \ |
---|
147 | e-corba-shortcuts.c \ |
---|
148 | e-corba-shortcuts.h \ |
---|
149 | e-corba-storage-registry.c \ |
---|
150 | e-corba-storage-registry.h \ |
---|
151 | e-corba-storage.c \ |
---|
152 | e-corba-storage.h \ |
---|
153 | e-folder-dnd-bridge.c \ |
---|
154 | e-folder-dnd-bridge.h \ |
---|
155 | e-folder-type-registry.c \ |
---|
156 | e-folder-type-registry.h \ |
---|
157 | e-gray-bar.c \ |
---|
158 | e-gray-bar.h \ |
---|
159 | e-history.c \ |
---|
160 | e-history.h \ |
---|
161 | e-icon-factory.c \ |
---|
162 | e-icon-factory.h \ |
---|
163 | e-local-folder.c \ |
---|
164 | e-local-folder.h \ |
---|
165 | e-local-storage.c \ |
---|
166 | e-local-storage.h \ |
---|
167 | e-setup.c \ |
---|
168 | e-setup.h \ |
---|
169 | e-shell-about-box.c \ |
---|
170 | e-shell-about-box.h \ |
---|
171 | e-shell-config.c \ |
---|
172 | e-shell-config.h \ |
---|
173 | e-shell-config-autocompletion.c \ |
---|
174 | e-shell-config-autocompletion.h \ |
---|
175 | e-shell-config-offline.c \ |
---|
176 | e-shell-config-offline.h \ |
---|
177 | e-shell-config-default-folders.c \ |
---|
178 | e-shell-config-default-folders.h \ |
---|
179 | e-shell-config-folder-settings.c \ |
---|
180 | e-shell-config-folder-settings.h \ |
---|
181 | e-shell-constants.h \ |
---|
182 | e-shell-folder-commands.c \ |
---|
183 | e-shell-folder-commands.h \ |
---|
184 | e-shell-folder-creation-dialog.c \ |
---|
185 | e-shell-folder-creation-dialog.h \ |
---|
186 | e-shell-folder-selection-dialog.c \ |
---|
187 | e-shell-folder-selection-dialog.h \ |
---|
188 | e-shell-folder-title-bar.c \ |
---|
189 | e-shell-folder-title-bar.h \ |
---|
190 | e-shell-importer.c \ |
---|
191 | e-shell-importer.h \ |
---|
192 | e-shell-offline-handler.c \ |
---|
193 | e-shell-offline-handler.h \ |
---|
194 | e-shell-offline-sync.c \ |
---|
195 | e-shell-offline-sync.h \ |
---|
196 | e-shell-settings-dialog.c \ |
---|
197 | e-shell-settings-dialog.h \ |
---|
198 | e-shell-shared-folder-picker-dialog.c \ |
---|
199 | e-shell-shared-folder-picker-dialog.h \ |
---|
200 | e-shell-startup-wizard.c \ |
---|
201 | e-shell-startup-wizard.h \ |
---|
202 | e-shell-user-creatable-items-handler.c \ |
---|
203 | e-shell-user-creatable-items-handler.h \ |
---|
204 | e-shell-utils.c \ |
---|
205 | e-shell-utils.h \ |
---|
206 | e-shell-view-menu.c \ |
---|
207 | e-shell-view-menu.h \ |
---|
208 | e-shell-view.c \ |
---|
209 | e-shell-view.h \ |
---|
210 | e-shell.c \ |
---|
211 | e-shell.h \ |
---|
212 | e-shortcuts-view-model.c \ |
---|
213 | e-shortcuts-view-model.h \ |
---|
214 | e-shortcuts-view.c \ |
---|
215 | e-shortcuts-view.h \ |
---|
216 | e-shortcuts.c \ |
---|
217 | e-shortcuts.h \ |
---|
218 | e-splash.c \ |
---|
219 | e-splash.h \ |
---|
220 | e-storage-set-view.c \ |
---|
221 | e-storage-set-view.h \ |
---|
222 | e-storage-set.c \ |
---|
223 | e-storage-set.h \ |
---|
224 | e-storage.c \ |
---|
225 | e-storage.h \ |
---|
226 | e-task-bar.c \ |
---|
227 | e-task-bar.h \ |
---|
228 | e-task-widget.c \ |
---|
229 | e-task-widget.h \ |
---|
230 | e-uri-schema-registry.c \ |
---|
231 | e-uri-schema-registry.h \ |
---|
232 | evolution-storage-set-view.c \ |
---|
233 | evolution-storage-set-view.h \ |
---|
234 | evolution-storage-set-view-factory.c \ |
---|
235 | evolution-storage-set-view-factory.h \ |
---|
236 | main.c |
---|
237 | |
---|
238 | evolution_LDADD = \ |
---|
239 | libeshell.la \ |
---|
240 | importer/libevolution-importer.la \ |
---|
241 | $(top_builddir)/widgets/e-timezone-dialog/libetimezonedialog.a \ |
---|
242 | $(top_builddir)/widgets/misc/libemiscwidgets.a \ |
---|
243 | $(top_builddir)/e-util/libeutil.la \ |
---|
244 | $(top_builddir)/libical/src/libical/libical-evolution.la \ |
---|
245 | $(SHELL_LIBS) |
---|
246 | |
---|
247 | # Test component |
---|
248 | |
---|
249 | noinst_PROGRAMS = \ |
---|
250 | evolution-test-component |
---|
251 | |
---|
252 | evolution_test_component_SOURCES = \ |
---|
253 | evolution-test-component.c |
---|
254 | |
---|
255 | evolution_test_component_LDADD = \ |
---|
256 | libeshell.la \ |
---|
257 | $(SHELL_LIBS) |
---|
258 | |
---|
259 | install-test-component: evolution-test-component |
---|
260 | $(mkinstalldirs) $(DESTDIR)$(bindir) |
---|
261 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) evolution-test-component $(DESTDIR)$(bindir)/evolution-test-component |
---|
262 | $(mkinstalldirs) $(DESTDIR)$(oafdir) |
---|
263 | $(INSTALL_DATA) $(srcdir)/GNOME_Evolution_TestComponent.oaf $(DESTDIR)$(oafdir)/GNOME_Evolution_TestComponent.oaf |
---|
264 | |
---|
265 | # Misc stuff |
---|
266 | |
---|
267 | oafdir = $(datadir)/oaf |
---|
268 | oaf_in_files = GNOME_Evolution_Shell.oaf.in |
---|
269 | oaf_DATA = $(oaf_in_files:.oaf.in=.oaf) |
---|
270 | |
---|
271 | etspecdir = $(datadir)/evolution/etspec/ |
---|
272 | etspec_DATA = \ |
---|
273 | e-storage-set-view.etspec |
---|
274 | |
---|
275 | @XML_I18N_MERGE_OAF_RULE@ |
---|
276 | |
---|
277 | icons = \ |
---|
278 | check-empty.xpm \ |
---|
279 | check-filled.xpm \ |
---|
280 | check-missing.xpm |
---|
281 | |
---|
282 | EXTRA_DIST = \ |
---|
283 | $(IDLS) \ |
---|
284 | $(oaf_in_files) \ |
---|
285 | $(oaf_DATA) \ |
---|
286 | $(etspec_DATA) \ |
---|
287 | $(icons) \ |
---|
288 | GNOME_Evolution_TestComponent.oaf \ |
---|
289 | evolution-nognome.in |
---|
290 | |
---|
291 | # Purify support |
---|
292 | |
---|
293 | if ENABLE_PURIFY |
---|
294 | |
---|
295 | PLINK = $(LIBTOOL) --mode=link $(PURIFY) $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ |
---|
296 | |
---|
297 | all-local: evolution.pure |
---|
298 | |
---|
299 | evolution.pure: evolution |
---|
300 | @rm -f evolution.pure |
---|
301 | $(PLINK) $(evolution_LDFLAGS) $(evolution_OBJECTS) $(evolution_LDADD) $(LIBS) |
---|
302 | |
---|
303 | endif |
---|
304 | |
---|
305 | CLEANFILES = $(IDL_GENERATED) $(SELECT_NAMES_IDL_GENERATED) |
---|
306 | BUILT_SOURCES = $(IDL_GENERATED) $(SELECT_NAMES_IDL_GENERATED) |
---|
307 | |
---|
308 | dist-hook: |
---|
309 | cd $(distdir); rm -f $(BUILT_SOURCES) |
---|
310 | |
---|
311 | |
---|
312 | if HAVE_DTAPPINTEGRATE |
---|
313 | |
---|
314 | bin_SCRIPTS = evolution-nognome |
---|
315 | |
---|
316 | endif |
---|