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 A86D64048DC for ; Fri, 12 Mar 2010 05:47:45 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.595 X-Spam-Level: X-Spam-Status: No, score=-1.595 tagged_above=-999 required=5 tests=[AWL=1.004, BAYES_00=-2.599] autolearn=ham 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 Ckn76kB4BbIy for ; Fri, 12 Mar 2010 05:47:44 -0800 (PST) Received: from bach.exherbo.org (bach.exherbo.org [78.47.197.147]) by olra.theworths.org (Postfix) with ESMTP id E3FA04048D4 for ; Fri, 12 Mar 2010 05:47:43 -0800 (PST) Received: from [83.101.72.69] (helo=localhost) by bach.exherbo.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Nq5DK-0005WK-UQ; Fri, 12 Mar 2010 13:47:43 +0000 From: Ingmar Vanhassel To: notmuch@notmuchmail.org Date: Fri, 12 Mar 2010 14:47:35 +0100 Message-Id: <1268401656-12827-3-git-send-email-ingmar@exherbo.org> X-Mailer: git-send-email 1.7.0.2 In-Reply-To: <1268347072-2050-1-git-send-email-bgamari.foss@gmail.com> References: <1268347072-2050-1-git-send-email-bgamari.foss@gmail.com> Cc: Saleem Abdulrasool Subject: [notmuch] [PATCH 2/3] Fix target dependencies for multiple jobs 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: Fri, 12 Mar 2010 13:47:46 -0000 From: Saleem Abdulrasool Signed-off-by: Ingmar Vanhassel --- lib/Makefile.local | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/Makefile.local b/lib/Makefile.local index f848946..7105070 100644 --- a/lib/Makefile.local +++ b/lib/Makefile.local @@ -18,9 +18,12 @@ libnotmuch_cxx_srcs = \ $(dir)/thread.cc libnotmuch_modules = $(libnotmuch_c_srcs:.c=.o) $(libnotmuch_cxx_srcs:.cc=.o) -$(dir)/libnotmuch.so : $(libnotmuch_modules) + +$(dir)/$(SONAME) : $(libnotmuch_modules) $(call quiet,CXX,$(LDFLAGS)) $^ $(FINAL_LDFLAGS) -shared -Wl,-soname=$(SONAME) -o $@ - ln -sf $(SONAME) $@ + +$(dir)/libnotmuch.so: $(dir)/$(SONAME) + ln -fs $(SONAME) $@ SRCS := $(SRCS) $(libnotmuch_c_srcs) $(libnotmuch_cxx_srcs) -CLEAN := $(CLEAN) $(libnotmuch_modules) $(dir)/libnotmuch.so *.so +CLEAN := $(CLEAN) $(libnotmuch_modules) $(dir)/$(SONAME) $(dir)/libnotmuch.so *.so -- 1.7.0.2