* mu: build crypto support maybe (depends on gmime 2.6)

This commit is contained in:
djcb
2012-07-17 19:15:47 +03:00
parent 9df78fe49f
commit 2be6b041ae
4 changed files with 468 additions and 5 deletions

View File

@ -24,6 +24,12 @@ if BUILD_TESTS
SUBDIRS += tests
endif
if BUILD_CRYPTO
crypto=mu-msg-crypto.c mu-msg-crypto.h
else
crypto=
endif
INCLUDES=$(XAPIAN_CXXFLAGS) $(GMIME_CFLAGS) $(GLIB_CFLAGS)
# don't use -Werror, as it might break on other compilers
@ -54,6 +60,8 @@ libmu_la_SOURCES= \
mu-maildir.h \
mu-msg-cache.c \
mu-msg-cache.h \
${crypto} \
mu-msg-crypto.h \
mu-msg-doc.cc \
mu-msg-doc.h \
mu-msg-fields.c \
@ -93,3 +101,5 @@ libmu_la_LIBADD= \
$(XAPIAN_LIBS) \
$(GMIME_LIBS) \
$(GLIB_LIBS)
EXTRA_DIST=mu-msg-crypto.c mu-msg-crypto.h