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

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)          \
    evolution-mail-folder.c         \
    evolution-mail-folder.h         \
    evolution-mail-session.c        \
    evolution-mail-session.h        \
    evolution-mail-store.c          \
    evolution-mail-store.h          \
    mail-remote.c

liborg_gnome_evolution_mail_remote_la_LDFLAGS = -module -avoid-version

client_SOURCES = \
    client.c

client_LDADD = \
    $(EVOLUTION_MAIL_LIBS)          \
    liborg-gnome-evolution-mail-remote.la

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

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

# installed idls

#idl_DATA = $(IDL)

EXTRA_DIST =                \
    $(IDL)

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