mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
1e7dbf7abc
It turns out that our use of GMimeStreamPipe has only succeeded because gmime has been ignoring some seek failures; this will no longer be the case in gmime 3.0, so we use a GMimeStreamPipe, which does not assume seekability, wrapped in a buffering stream.
16 lines
512 B
Makefile
16 lines
512 B
Makefile
# -*- makefile -*-
|
|
|
|
dir := util
|
|
extra_cflags += -I$(srcdir)/$(dir)
|
|
|
|
libnotmuch_util_c_srcs := $(dir)/xutil.c $(dir)/error_util.c $(dir)/hex-escape.c \
|
|
$(dir)/string-util.c $(dir)/talloc-extra.c $(dir)/zlib-extra.c \
|
|
$(dir)/util.c $(dir)/gmime-extra.c
|
|
|
|
libnotmuch_util_modules := $(libnotmuch_util_c_srcs:.c=.o)
|
|
|
|
$(dir)/libnotmuch_util.a: $(libnotmuch_util_modules)
|
|
$(call quiet,AR) rcs $@ $^
|
|
|
|
SRCS := $(SRCS) $(libnotmuch_util_c_srcs)
|
|
CLEAN := $(CLEAN) $(libnotmuch_util_modules) $(dir)/libnotmuch_util.a
|