aboutsummaryrefslogtreecommitdiffstats
path: root/composer/Makefile.am
blob: 3ba27e871eb608bd29d6f5bc99fc303e9e8bed26 (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
error_DATA = mail-composer.error
errordir = $(privdatadir)/errors

# provides error rule
@EVO_PLUGIN_RULE@

noinst_LTLIBRARIES = libcomposer.la
libcomposerincludedir = $(privincludedir)/composer
libcomposerinclude_HEADERS =            \
    e-composer-header.h         \
    e-composer-header-table.h       \
    e-composer-from-header.h        \
    e-composer-name-header.h        \
    e-composer-post-header.h        \
    e-composer-private.h            \
    e-composer-text-header.h        \
    e-composer-common.h         \
    e-composer-actions.h            \
    e-composer-autosave.h           \
    e-msg-composer.h

INCLUDES =                              \
    -I$(top_srcdir)                         \
    -I$(top_builddir)                       \
    -I$(top_builddir)/composer                  \
    -I$(top_srcdir)/widgets                     \
    -I$(top_builddir)/widgets                   \
    -I$(top_srcdir)/widgets/misc                    \
    -I$(top_builddir)/widgets/misc                  \
    -I$(top_builddir)/shell                     \
    -I$(top_srcdir)/shell                       \
    -DEVOLUTION_DATADIR=\"$(datadir)\"              \
    -DEVOLUTION_IMAGESDIR=\"$(imagesdir)\"                          \
    -DEVOLUTION_UIDIR=\"$(evolutionuidir)\"             \
    -DEVOLUTION_GLADEDIR=\"$(gladedir)\"                \
    -DPREFIX=\"$(prefix)\"                      \
    -DG_LOG_DOMAIN=\"composer\"                 \
    $(EVOLUTION_MAIL_CFLAGS)

libcomposer_la_SOURCES =            \
    $(libcomposerinclude_HEADERS)       \
    e-composer-actions.c            \
    e-composer-autosave.c           \
    e-composer-header.c         \
    e-composer-header-table.c       \
    e-composer-from-header.c        \
    e-composer-name-header.c        \
    e-composer-post-header.c        \
    e-composer-private.c            \
    e-composer-text-header.c        \
    e-msg-composer.c


libcomposer_la_LIBADD =                 \
    $(top_builddir)/widgets/misc/libemiscwidgets.la \
    $(top_builddir)/em-format/libemformat.la

uidir = $(evolutionuidir)
ui_DATA = evolution-composer.ui

EXTRA_DIST =                    \
    $(ui_DATA)              \
    mail-composer.error.xml         \
    ChangeLog.pre-1-4

BUILT_SOURCES = $(error_DATA)
CLEANFILES = $(BUILT_SOURCES)

dist-hook:
    cd $(distdir); rm -f $(BUILT_SOURCES)

-include $(top_srcdir)/git.mk