aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mail-remote/Makefile.am
blob: 800cf71dc6e946274d7c00c35b8c52b3c741e1ea (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

INCLUDES =                      \
    -I$(top_srcdir)                 \
    $(EVOLUTION_MAIL_CFLAGS)

@EVO_PLUGIN_RULE@

plugin_DATA = org-gnome-evolution-mail-remote.eplug
plugin_LTLIBRARIES = liborg-gnome-evolution-mail-remote.la

liborg_gnome_evolution_mail_remote_la_SOURCES = \
    $(IDL_GENERATED_C)          \
    $(IDL_GENERATED_H)          \
    e-corba-utils.c             \
    e-corba-utils.h             \
    em-message-stream.c         \
    em-message-stream.h         \
    evolution-mail-folder.c         \
    evolution-mail-folder.h         \
    evolution-mail-folderlistener.c     \
    evolution-mail-folderlistener.h     \
    evolution-mail-marshal.c        \
    evolution-mail-marshal.h        \
    evolution-mail-messageiterator.c    \
    evolution-mail-messageiterator.h    \
    evolution-mail-messagestream.c      \
    evolution-mail-messagestream.h      \
    evolution-mail-session.c        \
    evolution-mail-session.h        \
    evolution-mail-sessionlistener.c    \
    evolution-mail-sessionlistener.h    \
    evolution-mail-store.c          \
    evolution-mail-store.h          \
    evolution-mail-storelistener.c      \
    evolution-mail-storelistener.h      \
    mail-remote.c

liborg_gnome_evolution_mail_remote_la_LDFLAGS = -module -avoid-version

client_SOURCES = \
    client.c

client_LDADD = \
    $(EVOLUTION_MAIL_LIBS)          \
    evolution-mail-sessionlistener.o    \
    evolution-mail-storelistener.o      \
    evolution-mail-folderlistener.o     \
    evolution-mail-marshal.o        \
    evolution-mail-messagestream.o      \
    Evolution-DataServer-Mail-common.o  \
    Evolution-DataServer-Mail-stubs.o   \
    Evolution-DataServer-Mail-skels.o   \
    Evolution-common.o          \
    Evolution-stubs.o

noinst_PROGRAMS =               \
    client

# mail idl

IDL = Evolution-DataServer-Mail.idl

IDL_GENERATED_H = \
    Evolution-DataServer-Mail.h

IDL_GENERATED_C = \
    Evolution-DataServer-Mail-common.c  \
    Evolution-DataServer-Mail-skels.c   \
    Evolution-DataServer-Mail-stubs.c

EVO_GENERATED = Evolution.h Evolution-common.c Evolution-stubs.c Evolution-skels.c

$(IDL_GENERATED_H) $(IDL_GENERATED_C): $(IDL)
    $(ORBIT_IDL) -I $(srcdir) -I $(datadir)/idl $(IDL_INCLUDES) $^

$(EVO_GENERATED): $(srcdir)/Evolution.idl
    $(ORBIT_IDL) -I $(top_srcdir) -I $(top_srcdir)/shell -I $(datadir)/idl $(IDL_INCLUDES) $^

# installed idls

#idl_DATA = $(IDL)

# marshallers for glib
MARSHAL_GENERATED = evolution-mail-marshal.c evolution-mail-marshal.h
@EVO_MARSHAL_RULE@

EXTRA_DIST =                \
    $(IDL)              \
    Evolution.idl           \
    evolution-mail-marshal.list

BUILT_SOURCES = $(IDL_GENERATED_H) $(IDL_GENERATED_C) $(MARSHAL_GENERATED) $(SHELL_GENERATED)
CLEANFILES = $(BUILT_SOURCES)