aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/backup-restore/Makefile.am
blob: c4e033f733006712fe1be374e998b83e24ece41e (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
@EVO_PLUGIN_RULE@

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

plugin_DATA = org-gnome-backup-restore.eplug
plugin_LTLIBRARIES = liborg-gnome-backup-restore.la

liborg_gnome_backup_restore_la_CPPFLAGS =       \
    $(AM_CPPFLAGS)                  \
    -I$(top_srcdir)                 \
    -I$(top_srcdir)/widgets             \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"    \
    -DEVOLUTION_TOOLSDIR=\""$(privlibexecdir)"\"    \
    -DPREFIX=\""$(prefix)"\"            \
    -DSYSCONFDIR=\""$(sysconfdir)"\"        \
    -DDATADIR=\""$(datadir)"\"          \
    -DLIBDIR=\""$(libdir)"\"            \
    $(GNOME_PLATFORM_CFLAGS)            \
    $(EVOLUTION_CALENDAR_CFLAGS)            \
    $(SHELL_CFLAGS)                 \
    $(E_UTIL_CFLAGS)

liborg_gnome_backup_restore_la_SOURCES = backup-restore.c
liborg_gnome_backup_restore_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED)
liborg_gnome_backup_restore_la_LIBADD =     \
    $(top_builddir)/e-util/libeutil.la  \
    $(top_builddir)/shell/libeshell.la  \
    $(SHELL_LIBS)               \
    $(GNOME_PLATFORM_LIBS)

privlibexec_PROGRAMS = evolution-backup
evolution_backup_SOURCES = backup.c
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)"\"            \
    $(GNOME_PLATFORM_CFLAGS)            \
    $(EVOLUTION_CALENDAR_CFLAGS)            \
    $(SHELL_CFLAGS)                 \
    $(E_UTIL_CFLAGS)

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

if OS_WIN32
evolution_backup_LDFLAGS = -mwindows
endif

EXTRA_DIST =                    \
    org-gnome-backup-restore.eplug.xml  \
    org-gnome-backup-restore.error.xml

BUILT_SOURCES = org-gnome-backup-restore.eplug \
        org-gnome-backup-restore.error

CLEANFILES = $(BUILT_SOURCES)

-include $(top_srcdir)/git.mk