aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile.local
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2020-08-08 11:16:44 -0300
committerDavid Bremner <david@tethera.net>2020-12-23 09:21:17 -0400
commit3b4097824159c6fdebb8a88b5447beb9a6226ea3 (patch)
tree85ba8d22cf9ec9f0e87fef02e9ee4a8e290f996f /lib/Makefile.local
parente34e2a68b62b50cc40e695d1a2690a7de382bba6 (diff)
lib: factor out prefix related code to its own file
Reduce the size of database.cc, and limit the scope of prefix_table, make sure it's accessed via a well-defined internal API.
Diffstat (limited to 'lib/Makefile.local')
-rw-r--r--lib/Makefile.local3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Makefile.local b/lib/Makefile.local
index 04418fa8..9721d01e 100644
--- a/lib/Makefile.local
+++ b/lib/Makefile.local
@@ -60,7 +60,8 @@ libnotmuch_cxx_srcs = \
$(dir)/regexp-fields.cc \
$(dir)/thread.cc \
$(dir)/thread-fp.cc \
- $(dir)/features.cc
+ $(dir)/features.cc \
+ $(dir)/prefix.cc
libnotmuch_modules := $(libnotmuch_c_srcs:.c=.o) $(libnotmuch_cxx_srcs:.cc=.o)