1# -*- makefile-gmake -*- 2 3dir := compat 4extra_cflags += -I$(srcdir)/$(dir) 5 6notmuch_compat_srcs := 7 8ifneq ($(HAVE_GETLINE),1) 9notmuch_compat_srcs += $(dir)/getline.c $(dir)/getdelim.c 10endif 11 12ifneq ($(HAVE_STRCASESTR),1) 13notmuch_compat_srcs += $(dir)/strcasestr.c 14endif 15 16ifneq ($(HAVE_STRSEP),1) 17notmuch_compat_srcs += $(dir)/strsep.c 18endif 19 20ifneq ($(HAVE_TIMEGM),1) 21notmuch_compat_srcs += $(dir)/timegm.c 22endif 23 24SRCS := $(SRCS) $(notmuch_compat_srcs) 25