From owner-freebsd-current Wed Oct 9 07:54:55 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA28841 for current-outgoing; Wed, 9 Oct 1996 07:54:55 -0700 (PDT) Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA28824; Wed, 9 Oct 1996 07:54:39 -0700 (PDT) Received: from campa.panke.de (anonymous231.ppp.cs.tu-berlin.de [130.149.17.231]) by mail.cs.tu-berlin.de (8.6.13/8.6.12) with ESMTP id QAA07531; Wed, 9 Oct 1996 16:28:33 +0200 Received: (from wosch@localhost) by campa.panke.de (8.6.12/8.6.12) id PAA01354; Wed, 9 Oct 1996 15:12:55 +0200 Date: Wed, 9 Oct 1996 15:12:55 +0200 From: Wolfram Schneider Message-Id: <199610091312.PAA01354@campa.panke.de> To: Richard Wackerbarth Cc: Wolfram Schneider , Steve Price , current@freebsd.org Subject: Re: .depend In-Reply-To: References: <199610082021.WAA06329@campa.panke.de> Reply-to: Wolfram Schneider MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Richard Wackerbarth writes: >>I think we should add an enviroment variable (e.g. DEPENDFILE) to >>make(1) for `.depend'. mkdep -f foo support different depend files. > >Why change "make"? Because .depend is wired in make(1). There is no way to stop make(1) to read .depend if exists. There is no way to use an other depend file, e.g. `.depend.i486' or `.depend.hostname'. Example $ mkdep $ mkdep -f .depend.debug -DDEBUG $ mkdep -f .depend.i386 -Di386 You can now include .depend.debug in ./Makefile, but make(1) also read .depend because it exists. Wolfram