]> git.notmuchmail.org Git - notmuch/blob - compat/Makefile.local
test-lib: unset XDG_CONFIG_HOME
[notmuch] / compat / Makefile.local
1 # -*- makefile-gmake -*-
2
3 dir := compat
4 extra_cflags += -I$(srcdir)/$(dir)
5
6 notmuch_compat_srcs :=
7
8 ifneq ($(HAVE_CANONICALIZE_FILE_NAME),1)
9 notmuch_compat_srcs += $(dir)/canonicalize_file_name.c
10 endif
11
12 ifneq ($(HAVE_GETLINE),1)
13 notmuch_compat_srcs += $(dir)/getline.c $(dir)/getdelim.c
14 endif
15
16 ifneq ($(HAVE_STRCASESTR),1)
17 notmuch_compat_srcs += $(dir)/strcasestr.c
18 endif
19
20 ifneq ($(HAVE_STRSEP),1)
21 notmuch_compat_srcs += $(dir)/strsep.c
22 endif
23
24 ifneq ($(HAVE_TIMEGM),1)
25 notmuch_compat_srcs += $(dir)/timegm.c
26 endif
27
28 SRCS := $(SRCS) $(notmuch_compat_srcs)