aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@MIT.EDU>2012-01-15 15:20:42 -0500
committerGravatar David Bremner <bremner@debian.org>2012-01-19 09:19:12 -0400
commit5c12ee4b5d942b5c9efc79922d25b1cf9934aab0 (patch)
treea3c6729f6ae24e35700b41f89753119a8b24f7a0
parentedd25db019ada82b2c7499fce337dbed033205cf (diff)
Fix dependency generation for compat, test, and util
This adds source files in compat, test, and util to SRCS so that the top-level Makefile.local will generate dependency files for them.
-rw-r--r--compat/Makefile.local2
-rw-r--r--test/Makefile.local1
-rw-r--r--util/Makefile.local1
3 files changed, 4 insertions, 0 deletions
diff --git a/compat/Makefile.local b/compat/Makefile.local
index 504eb715..13f16cd3 100644
--- a/compat/Makefile.local
+++ b/compat/Makefile.local
@@ -12,3 +12,5 @@ endif
ifneq ($(HAVE_STRCASESTR),1)
notmuch_compat_srcs += $(dir)/strcasestr.c
endif
+
+SRCS := $(SRCS) $(notmuch_compat_srcs)
diff --git a/test/Makefile.local b/test/Makefile.local
index fa2df734..4a6a4b12 100644
--- a/test/Makefile.local
+++ b/test/Makefile.local
@@ -28,6 +28,7 @@ test: all test-binaries
check: test
+SRCS := $(SRCS) $(smtp_dummy_srcs)
CLEAN := $(CLEAN) $(dir)/smtp-dummy $(dir)/smtp-dummy.o \
$(dir)/symbol-test $(dir)/symbol-test.o \
$(dir)/arg-test $(dir)/arg-test.o
diff --git a/util/Makefile.local b/util/Makefile.local
index 26e4c3f3..c7cae61e 100644
--- a/util/Makefile.local
+++ b/util/Makefile.local
@@ -10,4 +10,5 @@ libutil_modules := $(libutil_c_srcs:.c=.o)
$(dir)/libutil.a: $(libutil_modules)
$(call quiet,AR) rcs $@ $^
+SRCS := $(SRCS) $(libutil_c_srcs)
CLEAN := $(CLEAN) $(libutil_modules) $(dir)/libutil.a