From owner-freebsd-hackers Sat Jun 8 19: 5:39 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 056D637B400 for ; Sat, 8 Jun 2002 19:05:36 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.3/8.12.2) with ESMTP id g5925RJn041981; Sat, 8 Jun 2002 19:05:27 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.3/8.12.3/Submit) id g5925RQw041980; Sat, 8 Jun 2002 19:05:27 -0700 (PDT) Date: Sat, 8 Jun 2002 19:05:27 -0700 From: "David O'Brien" To: Dan Nelson Cc: Jos Backus , Julian Elischer , freebsd-hackers@FreeBSD.ORG Subject: Re: Improving GNU make compatibility in BSD make (+ patch) Message-ID: <20020608190527.B40584@dragon.nuxi.com> Reply-To: freebsd-hackers@FreeBSD.ORG References: <20020601015343.GA1132@lizzy.catnook.com> <20020601025457.GA1457@lizzy.catnook.com> <20020601044603.GD91922@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020601044603.GD91922@dan.emsphone.com>; from dnelson@allantgroup.com on Fri, May 31, 2002 at 11:46:03PM -0500 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, May 31, 2002 at 11:46:03PM -0500, Dan Nelson wrote: > Automake avoids the issue entirely by simply listing the dependencies > itself, so > > > envuidgid: envuidgid.o > > $(CC) $(LDFLAGS) -o $@ $^ > > becomes > > > $(CC) $(LDFLAGS) -o $@ envuidgid.o This is not always possible. If you have a VPATH, then you need make(1) to expand $^ to the full path it used to find the dependancy. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message