1 # -*- makefile-gmake -*-
4 extra_cflags += -I$(srcdir)/$(dir)
8 ifneq ($(HAVE_GETLINE),1)
9 notmuch_compat_srcs += $(dir)/getline.c $(dir)/getdelim.c
12 ifneq ($(HAVE_STRCASESTR),1)
13 notmuch_compat_srcs += $(dir)/strcasestr.c
16 ifneq ($(HAVE_STRSEP),1)
17 notmuch_compat_srcs += $(dir)/strsep.c
20 ifneq ($(HAVE_TIMEGM),1)
21 notmuch_compat_srcs += $(dir)/timegm.c
24 SRCS := $(SRCS) $(notmuch_compat_srcs)