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