aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/Makefile.am
blob: 84b7bd25dc46f761c2dafeacbc02cc7a98376fa9 (plain) (blame)
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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
if OS_WIN32
WIN32_BOOTSTRAP_LIBS = $(top_builddir)/win32/libevolution-mail.la
endif

SUBDIRS = alarm-notify dialogs

ecalendarincludedir = $(privincludedir)/calendar/gui

ecalendarinclude_HEADERS =  \
    e-cal-config.h      \
    e-cal-popup.h       \
    itip-utils.h

search_files = tasktypes.xml memotypes.xml caltypes.xml

ruledir = $(privdatadir)
rule_DATA = $(search_files)

INCLUDES =                      \
    -DG_LOG_DOMAIN=\"calendar-gui\"         \
    -I$(top_builddir)/shell             \
    -I$(top_srcdir)/shell               \
    -I$(top_srcdir)                 \
    -I$(top_srcdir)/calendar            \
    -I$(top_srcdir)/widgets             \
    -I$(top_srcdir)/widgets/misc            \
    -I$(top_srcdir)/a11y/calendar           \
    -DSEARCH_RULE_DIR=\"$(ruledir)\"        \
    -DEVOLUTION_GLADEDIR=\""$(gladedir)"\"      \
    -DEVOLUTION_ETSPECDIR=\""$(etspecdir)"\"    \
    -DEVOLUTION_GALVIEWSDIR=\""$(viewsdir)"\"   \
    -DEVOLUTION_UIDIR=\""$(evolutionuidir)"\"   \
    -DPREFIX=\""$(prefix)"\"            \
    $(LIBSOUP_CFLAGS)               \
    $(EVOLUTION_CALENDAR_CFLAGS)

module_LTLIBRARIES =                    \
    libevolution-calendar.la            \
    libevolution-memos.la               \
    libevolution-tasks.la

libevolution_calendar_la_SOURCES =          \
    calendar-config-keys.h              \
    calendar-config.c               \
    calendar-config.h               \
    e-cal-shell-module.c                \
    e-cal-shell-sidebar.c               \
    e-cal-shell-sidebar.h               \
    e-cal-shell-view-actions.c          \
    e-cal-shell-view-actions.h          \
    e-cal-shell-view-private.c          \
    e-cal-shell-view-private.h          \
    e-cal-shell-view.c              \
    e-cal-shell-view.h              \
    e-calendar-selector.c               \
    e-calendar-selector.h

libevolution_memos_la_SOURCES =             \
    calendar-config-keys.h              \
    calendar-config.c               \
    calendar-config.h               \
    e-calendar-selector.c               \
    e-calendar-selector.h               \
    e-memo-shell-module.c               \
    e-memo-shell-sidebar.c              \
    e-memo-shell-sidebar.h              \
    e-memo-shell-view-actions.c         \
    e-memo-shell-view-actions.h         \
    e-memo-shell-view-private.c         \
    e-memo-shell-view-private.h         \
    e-memo-shell-view.c             \
    e-memo-shell-view.h             \
    e-memos.c                   \
    e-memos.h

libevolution_tasks_la_SOURCES =             \
    calendar-config-keys.h              \
    calendar-config.c               \
    calendar-config.h               \
    e-calendar-selector.c               \
    e-calendar-selector.h               \
    e-task-shell-module.c               \
    e-task-shell-sidebar.c              \
    e-task-shell-sidebar.h              \
    e-task-shell-view-actions.c         \
    e-task-shell-view-actions.h         \
    e-task-shell-view-private.c         \
    e-task-shell-view-private.h         \
    e-task-shell-view.c             \
    e-task-shell-view.h

glade_DATA =                    \
    e-itip-control.glade            \
    goto-dialog.glade

etspec_DATA =               \
    e-calendar-table.etspec     \
    e-meeting-time-sel.etspec   \
    e-cal-list-view.etspec      \
    e-memo-table.etspec

#libevolution_calendar_la_SOURCES =     \
#   cal-search-bar.c            \
#   cal-search-bar.h            \
#   calendar-config.c           \
#   calendar-config.h           \
#   calendar-config-keys.h          \
#   calendar-commands.c         \
#   calendar-commands.h         \
#   calendar-component.c            \
#   calendar-component.h            \
#   calendar-view.c             \
#   calendar-view.h             \
#   calendar-view-factory.c         \
#   calendar-view-factory.h         \
#   comp-editor-factory.c           \
#   comp-editor-factory.h           \
#   comp-util.c             \
#   comp-util.h             \
#   control-factory.c           \
#   control-factory.h           \
#   e-alarm-list.c              \
#   e-alarm-list.h              \
#   e-cal-component-preview.c       \
#   e-cal-component-preview.h       \
#   e-cal-component-memo-preview.c      \
#   e-cal-component-memo-preview.h      \
#   e-cal-config.c              \
#   e-cal-config.h              \
#   e-cal-event.c               \
#   e-cal-event.h               \
#   e-cal-menu.c                \
#   e-cal-menu.h                \
#   e-cal-model-calendar.h          \
#   e-cal-model-calendar.c          \
#   e-cal-model-calendar.h          \
#   e-cal-model-tasks.c         \
#   e-cal-model-tasks.h         \
#   e-cal-model.c               \
#   e-cal-model.h               \
#   e-cal-popup.h               \
#   e-cal-popup.c               \
#   e-calendar-view.c           \
#   e-calendar-view.h           \
#   e-cal-list-view.c           \
#   e-cal-list-view.h           \
#   e-cal-list-view-config.c        \
#   e-cal-list-view-config.h        \
#   e-cal-model-memos.c         \
#   e-cal-model-memos.h         \
#   e-calendar-table.c          \
#   e-calendar-table.h          \
#   e-calendar-table-config.c       \
#   e-calendar-table-config.h       \
#   e-cell-date-edit-config.c       \
#   e-cell-date-edit-config.h       \
#   e-cell-date-edit-text.h         \
#   e-cell-date-edit-text.c         \
#   e-comp-editor-registry.c        \
#   e-comp-editor-registry.h        \
#   e-date-edit-config.c            \
#   e-date-edit-config.h            \
#   e-date-time-list.c                      \
#   e-date-time-list.h                      \
#   e-day-view-config.c         \
#   e-day-view-config.h         \
#   e-day-view-layout.c         \
#   e-day-view-layout.h         \
#   e-day-view-main-item.c          \
#   e-day-view-main-item.h          \
#   e-day-view-time-item.c          \
#   e-day-view-time-item.h          \
#   e-day-view-top-item.c           \
#   e-day-view-top-item.h           \
#   e-day-view.c                \
#   e-day-view.h                \
#   e-itip-control.h            \
#   e-itip-control.c            \
#   e-meeting-attendee.c            \
#   e-meeting-attendee.h            \
#   e-meeting-list-view.c           \
#   e-meeting-list-view.h           \
#   e-meeting-store.c           \
#   e-meeting-store.h           \
#   e-meeting-time-sel.c            \
#   e-meeting-time-sel.h            \
#   e-meeting-time-sel-item.c       \
#   e-meeting-time-sel-item.h       \
#   e-meeting-types.h           \
#   e-meeting-utils.c           \
#   e-meeting-utils.h           \
#   e-memo-table.c              \
#   e-memo-table.h              \
#   e-memo-table-config.c           \
#   e-memo-table-config.h           \
#   e-memos.c               \
#   e-memos.h               \
#   e-mini-calendar-config.c        \
#   e-mini-calendar-config.h        \
#   e-select-names-editable.c       \
#   e-select-names-editable.h       \
#   e-select-names-renderer.c       \
#   e-select-names-renderer.h       \
#   e-week-view-config.c            \
#   e-week-view-config.h            \
#   e-week-view-event-item.c        \
#   e-week-view-event-item.h        \
#   e-week-view-layout.c            \
#   e-week-view-layout.h            \
#   e-week-view-main-item.c         \
#   e-week-view-main-item.h         \
#   e-week-view-titles-item.c       \
#   e-week-view-titles-item.h       \
#   e-week-view.c               \
#   e-week-view.h               \
#   e-tasks.c               \
#   e-tasks.h               \
#   e-timezone-entry.c          \
#   e-timezone-entry.h          \
#   gnome-cal.c             \
#   gnome-cal.h             \
#   goto.c                  \
#   goto.h                  \
#   itip-bonobo-control.c           \
#   itip-bonobo-control.h           \
#   itip-utils.c                \
#   itip-utils.h                \
#   main.c                  \
#   memos-component.c           \
#   memos-component.h           \
#   migration.c             \
#   migration.h             \
#   misc.c                  \
#   misc.h                  \
#   print.c                 \
#   print.h                 \
#   tag-calendar.c              \
#   tag-calendar.h              \
#   tasks-component.c           \
#   tasks-component.h           \
#   tasks-control.c             \
#   tasks-control.h             \
#   weekday-picker.c            \
#   weekday-picker.h

libevolution_calendar_la_LIBADD =                   \
    $(WIN32_BOOTSTRAP_LIBS)                     \
    $(top_builddir)/widgets/menus/libmenus.la           \
    $(top_builddir)/shell/libeshell.la              \
    $(top_builddir)/calendar/common/libevolution-calendarprivate.la \
    $(top_builddir)/calendar/gui/dialogs/libcal-dialogs.la      \
    $(top_builddir)/calendar/importers/libevolution-calendar-importers.la \
    $(top_builddir)/widgets/e-timezone-dialog/libetimezonedialog.la \
    $(top_builddir)/widgets/misc/libemiscwidgets.la         \
    $(top_builddir)/filter/libfilter.la             \
    $(top_builddir)/e-util/libeutil.la              \
    $(top_builddir)/a11y/calendar/libevolution-calendar-a11y.la \
    $(LIBSOUP_LIBS)                         \
    $(CAMEL_LIBS)                           \
    $(EVOLUTION_CALENDAR_LIBS)

libevolution_memos_la_LIBADD =                      \
    $(WIN32_BOOTSTRAP_LIBS)                     \
    $(top_builddir)/widgets/menus/libmenus.la           \
    $(top_builddir)/shell/libeshell.la              \
    $(top_builddir)/calendar/common/libevolution-calendarprivate.la \
    $(top_builddir)/calendar/gui/dialogs/libcal-dialogs.la      \
    $(top_builddir)/calendar/importers/libevolution-calendar-importers.la \
    $(top_builddir)/widgets/e-timezone-dialog/libetimezonedialog.la \
    $(top_builddir)/widgets/misc/libemiscwidgets.la         \
    $(top_builddir)/filter/libfilter.la             \
    $(top_builddir)/e-util/libeutil.la              \
    $(LIBSOUP_LIBS)                         \
    $(CAMEL_LIBS)                           \
    $(EVOLUTION_CALENDAR_LIBS)

libevolution_tasks_la_LIBADD =                      \
    $(WIN32_BOOTSTRAP_LIBS)                     \
    $(top_builddir)/widgets/menus/libmenus.la           \
    $(top_builddir)/shell/libeshell.la              \
    $(top_builddir)/calendar/common/libevolution-calendarprivate.la \
    $(top_builddir)/calendar/gui/dialogs/libcal-dialogs.la      \
    $(top_builddir)/calendar/importers/libevolution-calendar-importers.la \
    $(top_builddir)/widgets/e-timezone-dialog/libetimezonedialog.la \
    $(top_builddir)/widgets/misc/libemiscwidgets.la         \
    $(top_builddir)/filter/libfilter.la             \
    $(top_builddir)/e-util/libeutil.la              \
    $(LIBSOUP_LIBS)                         \
    $(CAMEL_LIBS)                           \
    $(EVOLUTION_CALENDAR_LIBS)

libevolution_calendar_la_LDFLAGS = -avoid-version -module $(NO_UNDEFINED)
libevolution_memos_la_LDFLAGS = -avoid-version -module $(NO_UNDEFINED)
libevolution_tasks_la_LDFLAGS = -avoid-version -module $(NO_UNDEFINED)

@INTLTOOL_SERVER_RULE@

# GConf schemas

schemadir   = $(GCONF_SCHEMA_FILE_DIR)
schema_in_files = apps_evolution_calendar.schemas.in
schema_DATA = $(schema_in_files:.schemas.in=.schemas)

@INTLTOOL_SCHEMAS_RULE@

EXTRA_DIST =                \
    $(glade_DATA)           \
    $(schema_in_files)              \
    $(etspec_DATA)          \
    $(search_files) 

CLEANFILES = $(BUILT_SOURCES)

DISTCLEANFILES = $(schema_DATA)

if OS_WIN32
install-data-local:
    if test -z "$(DESTDIR)"; then \
        for p in $(schema_DATA); do \
            (echo set GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE); \
             echo $(GCONFTOOL) --makefile-install-rule $$p) >_temp.bat; \
            cmd /c _temp.bat; \
        done; \
    fi
else
install-data-local:
    if test -z "$(DESTDIR)"; then \
        for p in $(schema_DATA); do \
            GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $$p; \
        done; \
    fi
endif

dist-hook:
    cd $(distdir); rm -f $(BUILT_SOURCES)