aboutsummaryrefslogtreecommitdiffstats
path: root/modules/backup-restore/Makefile.am
blob: 42f2477904b0db9dc80c4dbb391a32fdf56568a3 (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
NULL =

module_LTLIBRARIES = module-backup-restore.la

module_backup_restore_la_CPPFLAGS = \
    $(AM_CPPFLAGS)                      \
    -I$(top_srcdir)                     \
    -I$(top_srcdir)/widgets                 \
    -DG_LOG_DOMAIN=\"evolution-backup-restore\"     \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"        \
    -DEVOLUTION_TOOLSDIR=\""$(privlibexecdir)"\"        \
    -DPREFIX=\""$(prefix)"\"                \
    -DSYSCONFDIR=\""$(sysconfdir)"\"            \
    -DDATADIR=\""$(datadir)"\"              \
    -DLIBDIR=\""$(libdir)"\"                \
    $(EVOLUTION_DATA_SERVER_CFLAGS)             \
    $(GNOME_PLATFORM_CFLAGS)                \
    $(GTKHTML_CFLAGS)                   \
    $(NULL)

module_backup_restore_la_SOURCES = \
    evolution-backup-restore.c              \
    e-mail-config-restore-page.c                \
    e-mail-config-restore-page.h                \
    e-mail-config-restore-ready-page.c          \
    e-mail-config-restore-ready-page.h          \
    $(NULL)

module_backup_restore_la_LIBADD = \
    $(top_builddir)/e-util/libeutil.la          \
    $(top_builddir)/shell/libeshell.la          \
    $(top_builddir)/mail/libevolution-mail.la       \
    $(top_builddir)/widgets/misc/libemiscwidgets.la     \
    $(top_builddir)/libemail-engine/libemail-engine.la  \
    $(top_builddir)/libevolution-utils/libevolution-utils.la \
    $(EVOLUTION_DATA_SERVER_LIBS)               \
    $(GNOME_PLATFORM_LIBS)                  \
    $(GTKHTML_LIBS)                     \
    $(NULL)

module_backup_restore_la_LDFLAGS = \
    -module -avoid-version $(NO_UNDEFINED)

privlibexec_PROGRAMS = evolution-backup

evolution_backup_CPPFLAGS =                 \
    $(AM_CPPFLAGS)                      \
    -I$(top_srcdir)                     \
    -I$(top_srcdir)/widgets                 \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"        \
    -DEVOLUTION_TOOLSDIR=\""$(privlibexecdir)"\"        \
    -DPREFIX=\""$(prefix)"\"                \
    -DSYSCONFDIR=\""$(sysconfdir)"\"            \
    -DDATADIR=\""$(datadir)"\"              \
    -DLIBDIR=\""$(libdir)"\"                \
    $(EVOLUTION_DATA_SERVER_CFLAGS)             \
    $(GNOME_PLATFORM_CFLAGS)                \
    $(NULL)

evolution_backup_SOURCES =                  \
    evolution-backup-tool.c                 \
    $(NULL)

evolution_backup_LDADD =                    \
    $(top_builddir)/e-util/libeutil.la          \
    $(EVOLUTION_DATA_SERVER_LIBS)               \
    $(GNOME_PLATFORM_LIBS)                  \
    $(NULL)

if OS_WIN32
evolution_backup_LDFLAGS = -mwindows
endif

error_DATA = org-gnome-backup-restore.error
errordir = $(privdatadir)/errors
@EVO_PLUGIN_RULE@

BUILT_SOURCES = $(error_DATA)

EXTRA_DIST =                            \
    org-gnome-backup-restore.error.xml          \
    $(NULL)

-include $(top_srcdir)/git.mk