diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-10-19 02:22:58 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-19 02:31:16 +0800 |
commit | ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961 (patch) | |
tree | 0e7ad99f50070f6c52d7c4b6e225c3c044afe04c /mail/Makefile.am | |
parent | 0e7b23b94da808d3935f76aae53ad8a96ac06dd9 (diff) | |
download | gsoc2013-evolution-ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961.tar.gz gsoc2013-evolution-ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961.tar.zst gsoc2013-evolution-ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961.zip |
Collect mail enum types in e-mail-enums.h.
And generate GTypes for each of them in e-mail-enumtypes.[ch].
Also, the glib-gen.mak script forced me to add a <mail/e-mail.h>
top-level header, which really isn't a bad idea anyway.
TODO: We should do this for calendar and addressbook too.
Diffstat (limited to 'mail/Makefile.am')
-rw-r--r-- | mail/Makefile.am | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/mail/Makefile.am b/mail/Makefile.am index 6b1615ec91..eb7ef84ecb 100644 --- a/mail/Makefile.am +++ b/mail/Makefile.am @@ -4,6 +4,13 @@ privsolib_LTLIBRARIES = libevolution-mail.la mailincludedir = $(privincludedir)/mail +include $(top_srcdir)/glib-gen.mak +glib_enum_headers=e-mail-enums.h +glib_enum_define=E_MAIL +glib_enum_prefix=e_mail + +ENUM_GENERATED = e-mail-enumtypes.h e-mail-enumtypes.c + libevolution_mail_la_CPPFLAGS = \ $(AM_CPPFLAGS) \ -I$(top_srcdir)/widgets \ @@ -36,6 +43,7 @@ libevolution_mail_la_CPPFLAGS = \ -DG_LOG_DOMAIN=\"evolution-mail\" mailinclude_HEADERS = \ + e-mail.h \ e-mail-view.h \ e-mail-folder-pane.h \ e-mail-message-pane.h \ @@ -45,6 +53,8 @@ mailinclude_HEADERS = \ e-mail-backend.h \ e-mail-browser.h \ e-mail-display.h \ + e-mail-enums.h \ + e-mail-enumtypes.h \ e-mail-folder-utils.h \ e-mail-label-action.h \ e-mail-label-dialog.h \ @@ -116,6 +126,7 @@ libevolution_mail_la_SOURCES = \ e-mail-backend.c \ e-mail-browser.c \ e-mail-display.c \ + e-mail-enumtypes.c \ e-mail-folder-utils.c \ e-mail-label-action.c \ e-mail-label-dialog.c \ @@ -289,7 +300,7 @@ endif dist-hook: cd $(distdir); rm -f $(BUILT_SOURCES) -BUILT_SOURCES = $(error_DATA) +BUILT_SOURCES = $(error_DATA) $(ENUM_GENERATED) CLEANFILES = $(BUILT_SOURCES) |