+bash_completion_dir = /etc/bash_completion.d
+
+all_deps = Makefile Makefile.local Makefile.config \
+ lib/Makefile lib/Makefile.local
+
+extra_cflags :=
+extra_cxxflags :=
+
+# Now smash together user's values with our extra values
+override CFLAGS += $(WARN_CFLAGS) $(extra_cflags)
+override CXXFLAGS += $(WARN_CXXFLAGS) $(extra_cflags) $(extra_cxxflags)
+
+all: notmuch notmuch.1.gz
+
+# Before including any other Makefile fragments, get settings from the
+# output of configure
+Makefile.config: configure
+ ./configure
+
+include Makefile.config