Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 5E62C431FBF for ; Sun, 15 Jan 2012 12:20:46 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GdyMC5jSpSea for ; Sun, 15 Jan 2012 12:20:46 -0800 (PST) Received: from dmz-mailsec-scanner-5.mit.edu (DMZ-MAILSEC-SCANNER-5.MIT.EDU [18.7.68.34]) by olra.theworths.org (Postfix) with ESMTP id D2E71431FAE for ; Sun, 15 Jan 2012 12:20:45 -0800 (PST) X-AuditID: 12074422-b7fd66d0000008f9-f8-4f13351d0d9e Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) by dmz-mailsec-scanner-5.mit.edu (Symantec Messaging Gateway) with SMTP id 7F.E8.02297.D15331F4; Sun, 15 Jan 2012 15:20:45 -0500 (EST) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id q0FKKjdj004510; Sun, 15 Jan 2012 15:20:45 -0500 Received: from drake.mit.edu (209-6-116-242.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com [209.6.116.242]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q0FKKivs029974 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Sun, 15 Jan 2012 15:20:45 -0500 (EST) Received: from amthrax by drake.mit.edu with local (Exim 4.77) (envelope-from ) id 1RmWZI-0004T8-3O; Sun, 15 Jan 2012 15:20:44 -0500 From: Austin Clements To: notmuch@notmuchmail.org Subject: [PATCH] Fix dependency generation for compat, test, and util Date: Sun, 15 Jan 2012 15:20:42 -0500 Message-Id: <1326658842-17133-1-git-send-email-amdragon@mit.edu> X-Mailer: git-send-email 1.7.7.3 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprJIsWRmVeSWpSXmKPExsUixG6nritrKuxv8OyLjMX1mzOZHRg9nq26 xRzAGMVlk5Kak1mWWqRvl8CV8enOEsaCq1wVa7cJNTB+5ehi5OSQEDCR+PNgPiuELSZx4d56 ti5GLg4hgX2MEu83N7FCOBsYJebOe8kE4dxnkthwdAcjhDOfUWLCyWnsIP1sAhoS2/YvZwSx RQSkJXbenQ3UzsHBLCAi8W4mE0hYWMBVomfXHCaQMIuAqsSxJ7IgYV4BB4l1uz8yQlyhIHFu 9Tn2CYy8CxgZVjHKpuRW6eYmZuYUpybrFicn5uWlFuma6uVmluilppRuYgSHgIvSDsafB5UO MQpwMCrx8AqrCvkLsSaWFVfmHmKU5GBSEuUt0hb2F+JLyk+pzEgszogvKs1JLT7EKMHBrCTC 26YPlONNSaysSi3Kh0lJc7AoifOqa73zExJITyxJzU5NLUgtgsnKcHAoSfDKmwA1ChalpqdW pGXmlCCkmTg4QYbzAA2PAqnhLS5IzC3OTIfIn2JUlBLnNQJJCIAkMkrz4HphMfqKURzoFWHe QJAqHmB8w3W/AhrMBDQ4p1UIZHBJIkJKqoExMs7ijWnPrMCz4W9Flm70nK9w5ZfeG86XCw/P a9/k2dXUcGVTXLV2XOqEWy4z3gQ9PmwS5/OEpWUq86KPfx89njNhsX+MJv+qY3bph6f9d/A3 rDeMftnZ9XhrDoNy4/3dax7MnnpbZ/Znh9idR55NY/27sErvQvfzbAUXztQ69ftLDT77NlcF KrEUZyQaajEXFScCAL16ZFCsAgAA X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2012 20:20:46 -0000 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