aboutsummaryrefslogtreecommitdiffstats
path: root/mail/Makefile.am
blob: b87445b32a37f2164ca80fd11b721a837db7b244 (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
bin_PROGRAMS =  evolution-mail test-mail

providerdir = $(libdir)/evolution/camel-providers/$(VERSION)

EXTRA_DIST = e-attchmt.png
pkgdata_DATA = e-attchmt.png

INCLUDES = \
    -I$(top_srcdir)/widgets             \
    -I$(top_srcdir)/widgets/e-text          \
    -I$(top_srcdir)                 \
    -I$(top_srcdir)/camel               \
    -I$(top_builddir)/shell             \
    $(BONOBO_HTML_GNOME_CFLAGS)         \
    -DEVOLUTION_VERSION=\""$(VERSION)"\"        \
    -DEVOLUTION_GLADEDIR=\""$(gladedir)"\"      \
    -DEVOLUTION_ICONSDIR=\""$(iconsdir)"\"      \
    -DEVOLUTION_LOCALEDIR=\""$(datadir)/locale"\"   \
    -DCAMEL_PROVIDERDIR=\""$(providerdir)"\"

EVOLUTION_MAIL_CORBA_GENERATED = \
    Mail.h          \
    Mail-common.c       \
    Mail-skels.c        \
    Mail-stubs.c

evolution_mail_SOURCES =        \
    $(EVOLUTION_MAIL_CORBA_GENERATED)   \
    folder-browser.c        \
    folder-browser.h        \
    folder-browser-factory.c    \
    folder-browser-factory.h    \
    mail-display.c          \
    mail-display.h          \
    mail-format.c           \
    mail-format.h           \
    mail-ops.c          \
    mail-ops.h          \
    main.c              \
    message-list.c          \
    message-list.h          \
    session.c           \
    session.h           


evolution_mail_LDADD =                  \
    ../shell/Evolution-common.o         \
    ../shell/Evolution-stubs.o          \
    ../shell/Evolution-skels.o          \
    ../shell/evolution-service-repository.o     \
    ../composer/libcomposer.la          \
    ../widgets/e-table/libetable.a          \
    ../widgets/e-text/libetext.a            \
    ../camel/libcamel.la                \
    ../e-util/libeutil.la               \
    ../libibex/libibex.la               \
    $(BONOBO_HTML_GNOME_LIBS)           \
        -lunicode

test_mail_SOURCES = \
    test-mail.c

test_mail_LDADD = \
    $(BONOBO_HTML_GNOME_LIBS)


GOAD_FILES = evolution-mail.gnorba
OAF_FILES = evolution-mail.oafinfo

if USING_OAF
oafdir = $(datadir)/oaf
oaf_DATA = $(OAF_FILES)
else
gnorbadir = $(sysconfdir)/CORBA/servers
gnorba_DATA = $(GOAD_FILES)
endif

$(EVOLUTION_MAIL_CORBA_GENERATED): Mail.idl 
    $(ORBIT_IDL) -I$(datadir)/idl -I`$(GNOME_CONFIG) --datadir`/idl -I$(srcdir) $(srcdir)/Mail.idl

EXTRA_DIST = Mail.idl $(GOAD_FILES) $(OAF_FILES)

dist-hook:
    -mkdir $(distdir)/pixmaps
    cp $(srcdir)/pixmaps/*.xpm $(distdir)/pixmaps