unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] Fix dependency generation for compat, test, and util
@ 2012-01-15 20:20 Austin Clements
  2012-01-18 15:39 ` Tomi Ollila
  2012-01-19 17:15 ` David Bremner
  0 siblings, 2 replies; 3+ messages in thread
From: Austin Clements @ 2012-01-15 20:20 UTC (permalink / raw)
  To: notmuch

This adds source files in compat, test, and util to SRCS so that the
top-level Makefile.local will generate dependency files for them.
---
 compat/Makefile.local |    2 ++
 test/Makefile.local   |    1 +
 util/Makefile.local   |    1 +
 3 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/compat/Makefile.local b/compat/Makefile.local
index 504eb71..13f16cd 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 fa2df73..4a6a4b1 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 26e4c3f..c7cae61 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
-- 
1.7.7.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Fix dependency generation for compat, test, and util
  2012-01-15 20:20 [PATCH] Fix dependency generation for compat, test, and util Austin Clements
@ 2012-01-18 15:39 ` Tomi Ollila
  2012-01-19 17:15 ` David Bremner
  1 sibling, 0 replies; 3+ messages in thread
From: Tomi Ollila @ 2012-01-18 15:39 UTC (permalink / raw)
  To: Austin Clements, notmuch

On Sun, 15 Jan 2012 15:20:42 -0500, Austin Clements <amdragon@MIT.EDU> wrote:
> This adds source files in compat, test, and util to SRCS so that the
> top-level Makefile.local will generate dependency files for them.
> ---

+1

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Fix dependency generation for compat, test, and util
  2012-01-15 20:20 [PATCH] Fix dependency generation for compat, test, and util Austin Clements
  2012-01-18 15:39 ` Tomi Ollila
@ 2012-01-19 17:15 ` David Bremner
  1 sibling, 0 replies; 3+ messages in thread
From: David Bremner @ 2012-01-19 17:15 UTC (permalink / raw)
  To: Austin Clements, notmuch

On Sun, 15 Jan 2012 15:20:42 -0500, Austin Clements <amdragon@MIT.EDU> wrote:
> This adds source files in compat, test, and util to SRCS so that the
> top-level Makefile.local will generate dependency files for them.
> ---

pushed, 

d

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-19 17:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-15 20:20 [PATCH] Fix dependency generation for compat, test, and util Austin Clements
2012-01-18 15:39 ` Tomi Ollila
2012-01-19 17:15 ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).