2011-10-23 17:05:13 +02:00
|
|
|
# -*- makefile -*-
|
|
|
|
|
|
|
|
dir := util
|
|
|
|
extra_cflags += -I$(srcdir)/$(dir)
|
|
|
|
|
2017-03-14 12:10:07 +01:00
|
|
|
libnotmuch_util_c_srcs := $(dir)/xutil.c $(dir)/error_util.c $(dir)/hex-escape.c \
|
2014-03-29 18:53:17 +01:00
|
|
|
$(dir)/string-util.c $(dir)/talloc-extra.c $(dir)/zlib-extra.c \
|
2017-10-17 21:09:55 +02:00
|
|
|
$(dir)/util.c $(dir)/gmime-extra.c $(dir)/crypto.c
|
2011-10-23 17:05:13 +02:00
|
|
|
|
2017-03-14 12:10:07 +01:00
|
|
|
libnotmuch_util_modules := $(libnotmuch_util_c_srcs:.c=.o)
|
2011-10-23 17:05:13 +02:00
|
|
|
|
2017-03-14 12:10:07 +01:00
|
|
|
$(dir)/libnotmuch_util.a: $(libnotmuch_util_modules)
|
2011-10-23 17:05:13 +02:00
|
|
|
$(call quiet,AR) rcs $@ $^
|
2011-11-26 18:55:07 +01:00
|
|
|
|
2017-03-14 12:10:07 +01:00
|
|
|
SRCS := $(SRCS) $(libnotmuch_util_c_srcs)
|
|
|
|
CLEAN := $(CLEAN) $(libnotmuch_util_modules) $(dir)/libnotmuch_util.a
|