aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Makefile.am
blob: e56bc6af67e429a8b35e69a7c3033874f31a6c93 (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
SUBDIRS = glade importer

INCLUDES =                              \
    -I$(top_srcdir)/widgets                     \
    -I$(top_srcdir)/widgets/misc                    \
    -I$(top_srcdir)                         \
    $(BONOBO_GNOME_CFLAGS)                      \
    $(EXTRA_GNOME_CFLAGS)                       \
    -DEVOLUTION_IMAGES=\""$(datadir)/images/evolution"\"        \
    -DEVOLUTION_VERSION=\""$(VERSION)"\"                \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"        \
    -DEVOLUTION_DATADIR=\""$(datadir)"\"                    \
    -DEVOLUTION_GLADEDIR=\"$(datadir)/evolution/glade\"     \
    -DG_LOG_DOMAIN=\"evolution-shell\"

CLEANFILES = $(IDL_GENERATED)

# CORBA stuff

IDLS = \
    Evolution-LocalStorage.idl  \
    Evolution-Session.idl       \
    Evolution-Shell.idl     \
    Evolution-ShellComponent.idl    \
    Evolution-ShellView.idl     \
    Evolution-Storage.idl       \
    Evolution-StorageSetView.idl    \
    Evolution.idl

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

Evolution-impl.o: Evolution.h

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

# IDL install

idldir = $(datadir)/idl

idl_DATA = $(IDLS)

# Shell library

noinst_LIBRARIES =  \
    libeshell.a

libeshell_a_SOURCES =               \
    $(IDL_GENERATED)            \
    e-folder-tree.c             \
    e-folder-tree.h             \
    evolution-local-storage.c       \
    evolution-local-storage.h       \
    evolution-session.c         \
    evolution-session.h         \
    evolution-shell-client.c        \
    evolution-shell-client.h        \
    evolution-shell-component-client.c  \
    evolution-shell-component-client.h  \
    evolution-shell-component.c     \
    evolution-shell-component.h     \
    evolution-shell-view.c          \
    evolution-shell-view.h          \
    evolution-storage-listener.c        \
    evolution-storage-listener.h        \
    evolution-storage-set-view-listener.c   \
    evolution-storage-set-view-listener.h   \
    evolution-storage.c         \
    evolution-storage.h

# Evolution executable

bin_PROGRAMS = evolution

evolution_SOURCES =             \
    e-component-registry.c          \
    e-component-registry.h          \
    e-corba-storage-registry.c      \
    e-corba-storage-registry.h      \
    e-corba-storage.c           \
    e-corba-storage.h           \
    e-folder-type-registry.c        \
    e-folder-type-registry.h        \
    e-folder.c              \
    e-folder.h              \
    e-local-folder.c            \
    e-local-folder.h            \
    e-local-storage.c           \
    e-local-storage.h           \
    e-setup.c               \
    e-setup.h               \
    e-shell-constants.h         \
    e-shell-folder-creation-dialog.c    \
    e-shell-folder-creation-dialog.h    \
    e-shell-folder-selection-dialog.c   \
    e-shell-folder-selection-dialog.h   \
    e-shell-folder-title-bar.c      \
    e-shell-folder-title-bar.h      \
    e-shell-utils.c             \
    e-shell-utils.h             \
    e-shell-view-menu.c         \
    e-shell-view-menu.h         \
    e-shell-view.c              \
    e-shell-view.h              \
    e-shell.c               \
    e-shell.h               \
    e-shortcuts-view-model.c        \
    e-shortcuts-view-model.h        \
    e-shortcuts-view.c          \
    e-shortcuts-view.h          \
    e-shortcuts.c               \
    e-shortcuts.h               \
    e-splash.c              \
    e-splash.h              \
    e-storage-set-view.c            \
    e-storage-set-view.h            \
    e-storage-set.c             \
    e-storage-set.h             \
    e-storage.c             \
    e-storage.h             \
    evolution-storage-set-view.c        \
    evolution-storage-set-view.h        \
    evolution-storage-set-view-factory.c    \
    evolution-storage-set-view-factory.h    \
    main.c

evolution_LDADD =                       \
    libeshell.a                     \
    importer/libevolution-importer.la           \
    $(top_builddir)/widgets/shortcut-bar/libshortcut-bar.a  \
    $(top_builddir)/widgets/misc/libemiscwidgets.a      \
    $(top_builddir)/e-util/libeutil.la          \
    $(EXTRA_GNOME_LIBS)                 \
    $(UNICODE_LIBS)                     \
    $(GNOME_PRINT_LIBS)                 \
    $(GTKHTML_LIBS)                     \
    $(BONOBO_GNOME_LIBS)

oafdir = $(datadir)/oaf
oaf_DATA = GNOME_Evolution_Shell.oafinfo

EXTRA_DIST = $(IDLS) $(oaf_DATA)

# Purify support

if ENABLE_PURIFY

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

all-local: evolution.pure

evolution.pure: evolution
    @rm -f evolution.pure
    $(PLINK) $(evolution_LDFLAGS) $(evolution_OBJECTS) $(evolution_LDADD) $(LIBS)

endif