aboutsummaryrefslogtreecommitdiffstats
path: root/tools/Makefile.am
blob: eb8ba15f25ae851aa9d3a3bf1dcc604e9a724511 (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
privlibexec_SCRIPTS =           \
    csv2vcard           \
    evolution-addressbook-clean

privlibexec_PROGRAMS =          \
    evolution-addressbook-import    \
    evolution-addressbook-export    \
    evolution-launch-composer   \
    killev


noinst_PROGRAMS = evolution-addressbook-abuse

INCLUDES =                      \
    -DG_LOG_DOMAIN=\"evolution-tools\"      \
    -I$(top_srcdir)                 \
    -I$(top_builddir)               \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"    \
    -DPREFIX=\""$(prefix)"\"            \
    -DSYSCONFDIR=\""$(sysconfdir)"\"        \
    -DDATADIR=\""$(datadir)"\"          \
    -DLIBDIR=\""$(libdir)"\"            \
    -I$(top_srcdir)/addressbook         \
    -I$(top_srcdir)/addressbook/backend     \
    -I$(top_builddir)/addressbook/backend       \
    -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED \
    $(GNOME_FULL_CFLAGS)

EXTRA_DIST = $(tools_SCRIPTS) verify-evolution-install.sh \
    evolution-addressbook-clean.in

CORBA_SOURCE =                          \
        Evolution-Composer.h            \
        Evolution-Composer-common.c     \
        Evolution-Composer-skels.c      \
        Evolution-Composer-stubs.c

BUILT_SOURCES = $(CORBA_SOURCE)

idls =                                                          \
        $(top_srcdir)/composer/Evolution-Composer.idl

$(CORBA_SOURCE): $(idls)
    $(ORBIT_IDL) -I $(srcdir) $(IDL_INCLUDES) $(idls)

evolution_addressbook_import_LDADD =                \
    $(GNOME_FULL_LIBS)                  \
    $(top_builddir)/addressbook/backend/ebook/libebook.la   \
    $(top_builddir)/widgets/menus/libmenus.la

evolution_addressbook_export_LDADD =                \
    $(evolution_addressbook_import_LDADD)

evolution_addressbook_abuse_LDADD =             \
    $(evolution_addressbook_import_LDADD)

evolution_launch_composer_SOURCES =             \
        $(CORBA_SOURCE)                     \
        evolution-launch-composer.c

evolution_launch_composer_LDADD =                               \
        $(GNOME_FULL_LIBS)                                      \
        $(top_builddir)/addressbook/backend/ebook/libebook.la   \
        $(top_builddir)/widgets/menus/libmenus.la

killev_SOURCES =                        \
    killev.c

killev_LDADD =                          \
    $(top_builddir)/e-util/libeutil.la

CLEANFILES = evolution-addressbook-clean $(BUILT_SOURCES)


evolution-addressbook-clean: evolution-addressbook-clean.in Makefile
## Use sed and then mv to avoid problems if the user interrupts.
    sed -e 's?\@EVOLUTION_TOOLSDIR\@?$(privlibexecdir)?g' \
       < $(srcdir)/evolution-addressbook-clean.in > evolution-addressbook-clean.tmp \
      && mv evolution-addressbook-clean.tmp evolution-addressbook-clean