2020-08-08 13:49:49 +02:00
|
|
|
# -*- makefile-gmake -*-
|
2010-03-21 10:54:08 +01:00
|
|
|
|
2010-03-10 19:59:57 +01:00
|
|
|
dir := compat
|
2011-03-10 00:02:42 +01:00
|
|
|
extra_cflags += -I$(srcdir)/$(dir)
|
2009-12-02 00:23:25 +01:00
|
|
|
|
2010-04-12 01:44:52 +02:00
|
|
|
notmuch_compat_srcs :=
|
2009-12-02 00:23:25 +01:00
|
|
|
|
|
|
|
ifneq ($(HAVE_GETLINE),1)
|
|
|
|
notmuch_compat_srcs += $(dir)/getline.c $(dir)/getdelim.c
|
|
|
|
endif
|
2010-04-13 18:47:48 +02:00
|
|
|
|
|
|
|
ifneq ($(HAVE_STRCASESTR),1)
|
|
|
|
notmuch_compat_srcs += $(dir)/strcasestr.c
|
|
|
|
endif
|
2012-01-15 21:20:42 +01:00
|
|
|
|
2013-08-16 16:38:16 +02:00
|
|
|
ifneq ($(HAVE_STRSEP),1)
|
|
|
|
notmuch_compat_srcs += $(dir)/strsep.c
|
|
|
|
endif
|
|
|
|
|
2013-08-21 13:09:54 +02:00
|
|
|
ifneq ($(HAVE_TIMEGM),1)
|
|
|
|
notmuch_compat_srcs += $(dir)/timegm.c
|
|
|
|
endif
|
|
|
|
|
2012-01-15 21:20:42 +01:00
|
|
|
SRCS := $(SRCS) $(notmuch_compat_srcs)
|