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

imagesdir = $(datadir)/images/evolution

bin_PROGRAMS = evolution

INCLUDES =                      \
    -I$(top_srcdir)/widgets             \
    -I$(top_srcdir)/widgets/misc            \
    -I$(top_srcdir)                 \
    $(BONOBO_GNOME_CFLAGS)              \
    -DEVOLUTION_IMAGES=\""$(imagesdir)"\"       \
    -DEVOLUTION_VERSION=\""$(VERSION)"\"        \
    -DEVOLUTION_LOCALEDIR=\""$(datadir)/locale"\"   \
    -DEVOLUTION_DATADIR=\""$(datadir)"\"            \
    -DG_LOG_DOMAIN=\"evolution-shell\"

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

CLEANFILES = $(EVOLUTION_CORBA_GENERATED)

IDLS =                  \
    Evolution.idl           \
    Evolution-Shell.idl     \
    Evolution-ShellComponent.idl    \
    Evolution-Storage.idl

CPPFLAGS = \
    -DE_GLADEDIR=\"$(datadir)/evolution/glade\"

evolution_SOURCES =             \
    $(EVOLUTION_CORBA_GENERATED)        \
    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-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.c          \
    e-shortcuts-view.h          \
    e-shortcuts.c               \
    e-shortcuts.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-shell-component-client.c  \
    evolution-shell-component-client.h  \
    evolution-shell-component.c     \
    evolution-shell-component.h     \
    evolution-storage.c         \
    evolution-storage.h         \
    main.c

Evolution-impl.o: Evolution.h

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

evolution_LDADD =                       \
    $(top_builddir)/widgets/shortcut-bar/libshortcut-bar.a  \
    $(top_builddir)/widgets/e-paned/libepaned.a     \
    $(top_builddir)/widgets/e-text/libetext.a       \
    $(top_builddir)/widgets/misc/libemiscwidgets.a      \
    $(top_builddir)/e-util/libeutil.la          \
    $(BONOBO_GNOME_LIBS)

EXTRA_DIST = $(IDLS)

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