aboutsummaryrefslogblamecommitdiffstats
path: root/libemail-engine/Makefile.am
blob: 5589fe4e73a3516efca36c3a3628ede585bdfd6e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

      
                                          
 






                                                                                                               








                                                      
                                                         



                                                           
                            
                                











                                
                         



                                         
                            
                                










                                
                         



                                                          

                                                                  



                                       
                                                           








                                   




                                     



                                             
NULL =

privsolib_LTLIBRARIES = libemail-engine.la

ENUM_TYPES = e-mail-enums.h

e-mail-enumtypes.h: e-mail-enumtypes.h.template $(ENUM_TYPES)
    $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template e-mail-enumtypes.h.template $(ENUM_TYPES)) > $@

e-mail-enumtypes.c: e-mail-enumtypes.c.template $(ENUM_TYPES)
    $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template e-mail-enumtypes.c.template $(ENUM_TYPES)) > $@

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) \
    -DEVOLUTION_PRIVDATADIR=\""$(privdatadir)"\"    \
    $(NULL)

libmailengineincludedir = $(privincludedir)/libemail-engine
libmailengineinclude_HEADERS =  \
    camel-null-store.h \
    e-mail-authenticator.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 \
    mail-vfolder.h  \
    $(NULL)

libemail_engine_la_SOURCES =  \
    $(libmailengineinclude_HEADERS) \
    camel-null-store.c \
    e-mail-authenticator.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 \
    mail-vfolder.c  \
    $(NULL)

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

libemail_engine_la_LDFLAGS = -avoid-version $(NO_UNDEFINED)

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

BUILT_SOURCES = $(ENUM_GENERATED)

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

EXTRA_DIST = \
    e-mail-enumtypes.h.template \
    e-mail-enumtypes.c.template \
    $(NULL)

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

-include $(top_srcdir)/git.mk