From 880b21a097104bee5f50a444c5130695d143fd8a Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 1 Dec 2009 15:23:25 -0800 Subject: Makefile: Incorporate getline implementation into the build. It's unconditional for a very short time. We expect to soon be building it only if necessary. --- compat/Makefile | 5 +++++ compat/Makefile.local | 8 ++++++++ 2 files changed, 13 insertions(+) create mode 100644 compat/Makefile create mode 100644 compat/Makefile.local (limited to 'compat') diff --git a/compat/Makefile b/compat/Makefile new file mode 100644 index 00000000..9a29ffcf --- /dev/null +++ b/compat/Makefile @@ -0,0 +1,5 @@ +all: + $(MAKE) -C .. all + +clean: + $(MAKE) -C .. clean diff --git a/compat/Makefile.local b/compat/Makefile.local new file mode 100644 index 00000000..ccc59aef --- /dev/null +++ b/compat/Makefile.local @@ -0,0 +1,8 @@ +dir=compat +extra_cflags += -I$(dir) + +notmuch_compat_srcs = + +ifneq ($(HAVE_GETLINE),1) +notmuch_compat_srcs += $(dir)/getline.c $(dir)/getdelim.c +endif -- cgit v1.2.3