aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/Makefile.am
blob: 5b44d76f70a6facf4b4a618cdae4fed1e0ba38d3 (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
## CORBA stuff

IDLS =                          \
        $(srcdir)/../../composer/Evolution-Composer.idl

IDL_GENERATED =                 \
        Evolution-Composer.h              \
        Evolution-Composer-common.c       \
        Evolution-Composer-skels.c        \
        Evolution-Composer-stubs.c

$(IDL_GENERATED): $(IDLS) 
    $(ORBIT_IDL) -I $(srcdir) -I $(datadir)/idl `$(GNOME_CONFIG) --cflags idl`   \
                $(srcdir)/../../composer/Evolution-Composer.idl

SUBDIRS = dialogs

help_base = $(datadir)/gnome/help/cal

bin_PROGRAMS = evolution-calendar

INCLUDES =                      \
    -DG_LOG_DOMAIN=\"calendar-gui\"         \
    -I$(top_builddir)/shell             \
    -I$(top_srcdir)/shell               \
    -I$(top_srcdir)                 \
    -I$(top_srcdir)/calendar            \
    -I$(top_srcdir)/libical/src/libical     \
    -I$(top_builddir)/libical/src/libical       \
    -I$(top_srcdir)/widgets             \
    -I$(includedir)                 \
    $(BONOBO_VFS_GNOME_CFLAGS)          \
    $(EXTRA_GNOME_CFLAGS)               \
    -DEVOLUTION_DATADIR=\""$(datadir)"\"        \
    -DEVOLUTION_GLADEDIR=\""$(gladedir)"\"      \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"

LINK_FLAGS =                            \
    $(BONOBO_VFS_GNOME_LIBS)                \
    $(EXTRA_GNOME_LIBS)                 \
    $(INTLLIBS)                     \
    dialogs/libcal-dialogs.a                \
    $(top_builddir)/calendar/cal-client/libcal-client.la    \
    $(top_builddir)/calendar/cal-util/libcal-util.la    \
    $(top_builddir)/widgets/misc/libemiscwidgets.a      \
    $(top_builddir)/e-util/libeutil.la          \
    $(top_builddir)/libversit/libversit.la          \
    $(top_builddir)/libical/src/libical/libical.a       \
    $(top_builddir)/widgets/meeting-time-sel/libevolutionmtsel.a

gladedir   = $(datadir)/evolution/glade

glade_DATA =                    \
    event-editor-dialog.glade       \
    e-meeting-dialog.glade          \
    e-itip-control.glade

glade_messages = event-editor-dialog.glade.h

evolution_calendar_SOURCES =            \
    $(IDL_GENERATED)            \
    alarm.c                 \
    alarm.h                 \
    calendar-config.c           \
    calendar-config.h           \
    calendar-commands.c         \
    calendar-commands.h         \
    calendar-model.c            \
    calendar-model.h            \
    comp-util.c             \
    comp-util.h             \
    control-factory.c           \
    control-factory.h           \
    component-factory.c         \
    component-factory.h         \
    e-calendar-table.h          \
    e-calendar-table.c          \
    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-edit.h            \
    e-meeting-edit.c            \
    e-week-view-event-item.c        \
    e-week-view-event-item.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               \
    event-editor.c              \
    event-editor.h              \
    getdate.y               \
    gncal-todo.c                \
    gncal-todo.h                \
    gnome-cal.c             \
    gnome-cal.h             \
    gnome-month-item.c          \
    gnome-month-item.h          \
    goto.c                  \
    itip-utils.c                \
    itip-utils.h                \
    main.c                  \
    mark.c                  \
    mark.h                  \
    popup-menu.c                \
    popup-menu.h                \
    print.c                 \
    print.h                 \
    prop.c                  \
    tag-calendar.c              \
    tag-calendar.h              \
    weekday-picker.c            \
    weekday-picker.h

evolution_calendar_LDADD =                  \
    $(top_builddir)/shell/libeshell.a           \
    $(EXTRA_GNOME_LIBS)                 \
    $(BONOBO_HTML_GNOME_LIBS)               \
    $(top_builddir)/e-util/libeutil.la          \
    $(LINK_FLAGS)

evolution_calendar_LDFLAGS = `gnome-config --libs gdk_pixbuf`

oafdir = $(datadir)/oaf
oaf_DATA = calendar-control.oafinfo evolution-calendar.oafinfo 

EXTRA_DIST =                \
    $(glade_DATA)           \
    $(glade_messages)       \
    bell.xpm            \
    check-filled.xpm        \
    dayview.xpm         \
    jump.xpm            \
    monthview.xpm           \
    recur.xpm           \
    task-assigned-to.xpm        \
    task-assigned.xpm       \
    task-recurring.xpm      \
    task.xpm            \
    weekview.xpm            \
    workweekview.xpm        \
    yearview.xpm            \
    calendar-control.oafinfo    \
    evolution-calendar.oafinfo

install-data-local:
    $(mkinstalldirs) $(DESTDIR)$(help_base)/C
    $(mkinstalldirs) $(Conduitsdir)

if ENABLE_PURIFY
PLINK = $(LIBTOOL) --mode=link $(PURIFY) $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@

all-local: evolution-calendar.pure

evolution-calendar.pure: evolution-calendar
    @rm -f evolution-calendar.pure
    $(PLINK) $(evolution_calendar_LDFLAGS) $(evolution_calendar_OBJECTS) $(evolution_calendar_LDADD) $(LIBS)

endif

BUILT_SOURCES = $(IDL_GENERATED)
CLEANFILES += $(BUILT_SOURCES)