1 # -*- makefile-gmake -*-
4 extra_cflags += -I$(srcdir)/$(dir)
6 libnotmuch_util_c_srcs := $(dir)/xutil.c $(dir)/error_util.c $(dir)/hex-escape.c \
7 $(dir)/string-util.c $(dir)/talloc-extra.c $(dir)/zlib-extra.c \
8 $(dir)/util.c $(dir)/gmime-extra.c $(dir)/crypto.c \
9 $(dir)/repair.c $(dir)/path-util.c \
12 libnotmuch_util_modules := $(libnotmuch_util_c_srcs:.c=.o)
14 $(dir)/libnotmuch_util.a: $(libnotmuch_util_modules)
15 $(call quiet,AR) rcs $@ $^
17 SRCS := $(SRCS) $(libnotmuch_util_c_srcs)
18 CLEAN := $(CLEAN) $(libnotmuch_util_modules) $(dir)/libnotmuch_util.a