aboutsummaryrefslogtreecommitdiffhomepage
path: root/parse-time-string/Makefile.local
diff options
context:
space:
mode:
authorGravatar Jani Nikula <jani@nikula.org>2012-10-30 22:32:33 +0200
committerGravatar David Bremner <bremner@debian.org>2012-10-31 16:42:29 -0300
commitd86522637a7cd0455c127284ebccf3645d681441 (patch)
tree4ce528a6a9ccf26d748ef4805d697ba5cb85c313 /parse-time-string/Makefile.local
parentc158201ee217740cb1b64858df8c7d39cf7793d0 (diff)
parse-time-string: add a date/time parser to notmuch
Add a date/time parser to notmuch, to be used for adding date range query support for notmuch lib later on. Add the parser to a directory of its own to make it independent of the rest of the notmuch code base. Signed-off-by: Jani Nikula <jani@nikula.org>
Diffstat (limited to 'parse-time-string/Makefile.local')
-rw-r--r--parse-time-string/Makefile.local12
1 files changed, 12 insertions, 0 deletions
diff --git a/parse-time-string/Makefile.local b/parse-time-string/Makefile.local
new file mode 100644
index 00000000..53534f3e
--- /dev/null
+++ b/parse-time-string/Makefile.local
@@ -0,0 +1,12 @@
+dir := parse-time-string
+extra_cflags += -I$(srcdir)/$(dir)
+
+libparse-time-string_c_srcs := $(dir)/parse-time-string.c
+
+libparse-time-string_modules := $(libparse-time-string_c_srcs:.c=.o)
+
+$(dir)/libparse-time-string.a: $(libparse-time-string_modules)
+ $(call quiet,AR) rcs $@ $^
+
+SRCS := $(SRCS) $(libparse-time-string_c_srcs)
+CLEAN := $(CLEAN) $(libparse-time-string_modules) $(dir)/libparse-time-string.a