aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-engine/Makefile.am
blob: ce0a1ab39224a1b84b8a095013e7b3b37c827b9d (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
NULL =

lib_LTLIBRARIES = libemail-engine.la

include $(top_srcdir)/glib-gen.mak
glib_enum_headers=e-mail-enums.h
glib_enum_output=e-mail-enumtypes
glib_enum_define=E_MAIL
glib_enum_prefix=e_mail

ENUM_GENERATED = e-mail-enumtypes.h e-mail-enumtypes.c

libemail_engine_la_CPPFLAGS = \
    $(AM_CPPFLAGS) \
    -I$(top_srcdir) \
    -I$(top_builddir) \
    $(EVOLUTION_DATA_SERVER_CFLAGS) \
    $(GNOME_PLATFORM_CFLAGS) \
    $(NULL)

libmailengineincludedir = $(privincludedir)/libemail-engine
libmailengineinclude_HEADERS =  \
    camel-null-store.h \
    e-mail-enums.h \
    e-mail-enumtypes.h \
    e-mail-folder-utils.h \
    e-mail-junk-filter.h \
    e-mail-session-utils.h \
    e-mail-session.h \
    e-mail-store-utils.h \
    e-mail-utils.h \
    mail-config.h \
    mail-folder-cache.h \
    mail-ops.h \
    mail-tools.h \
    $(NULL)

libemail_engine_la_SOURCES =  \
    $(libmailengineinclude_HEADERS) \
    camel-null-store.c \
    e-mail-enumtypes.c \
    e-mail-folder-utils.c \
    e-mail-junk-filter.c \
    e-mail-session-utils.c \
    e-mail-session.c \
    e-mail-store-utils.c \
    e-mail-utils.c \
    mail-config.c \
    mail-folder-cache.c \
    mail-ops.c \
    mail-tools.c \
    $(NULL)

libemail_engine_la_LIBADD = \
    $(top_builddir)/libemail-utils/libemail-utils.la \
    $(EVOLUTION_DATA_SERVER_LIBS) \
    $(GNOME_PLATFORM_LIBS) \
    $(NULL)

libemail_engine_la_LDFLAGS = $(NO_UNDEFINED)

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libemail-engine.pc

BUILT_SOURCES = $(ENUM_GENERATED)

CLEANFILES = $(BUILT_SOURCES)
DISTCLEANFILES = $(pkgconfig_DATA)

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

-include $(top_srcdir)/git.mk