mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-23 01:44:52 +01:00
85d9219a62
The idea is to provide a more or less drop in replacement for readline to read from zlib/gzip streams. Take the opportunity to replace malloc with talloc.
16 lines
427 B
Makefile
16 lines
427 B
Makefile
# -*- makefile -*-
|
|
|
|
dir := util
|
|
extra_cflags += -I$(srcdir)/$(dir)
|
|
|
|
libutil_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
|
|
|
|
libutil_modules := $(libutil_c_srcs:.c=.o)
|
|
|
|
$(dir)/libutil.a: $(libutil_modules)
|
|
$(call quiet,AR) rcs $@ $^
|
|
|
|
SRCS := $(SRCS) $(libutil_c_srcs)
|
|
CLEAN := $(CLEAN) $(libutil_modules) $(dir)/libutil.a
|