aboutsummaryrefslogtreecommitdiffstats
path: root/tools/Makefile.am
blob: a2de0296a66e1ea307c23696b6adfbd6155a8b11 (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
bin_SCRIPTS =               \
    csv2vcard           \
    evolution-move-tasks        \
    evolution-addressbook-clean \
    killev

bin_PROGRAMS =              \
    evolution-addressbook-import    \
    evolution-addressbook-export

noinst_PROGRAMS = evolution-addressbook-abuse

INCLUDES =                      \
    -DG_LOG_DOMAIN=\"evolution-tools\"      \
    -I$(top_srcdir)                 \
    -I$(top_builddir)               \
    -DEVOLUTION_BINDIR=\""$(bindir)"\"      \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"    \
    -I$(top_srcdir)/addressbook         \
    -I$(top_srcdir)/addressbook/backend     \
    -I$(top_builddir)/addressbook/backend       \
    $(GNOME_FULL_CFLAGS)

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

evolution_addressbook_import_LDADD =                \
    $(GNOME_FULL_LIBS)                  \
    $(top_builddir)/addressbook/backend/ebook/libebook.la   \
    $(top_builddir)/camel/libcamel.la           \
    $(top_builddir)/e-util/ename/libename.la        \
    $(top_builddir)/libversit/libversit.a           \
    $(top_builddir)/e-util/libeutil.la          \
    $(top_builddir)/widgets/menus/libmenus.la

evolution_addressbook_export_LDADD =                    \
    $(evolution_addressbook_import_LDADD)

evolution_addressbook_abuse_LDADD =                 \
    $(evolution_addressbook_import_LDADD)

CLEANFILES = evolution-addressbook-clean


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