Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 1996 15:12:55 +0200
From:      Wolfram Schneider <wosch@cs.tu-berlin.de>
To:        Richard Wackerbarth <rkw@dataplex.net>
Cc:        Wolfram Schneider <wosch@freebsd.org>, Steve Price <steve@freefall.freebsd.org>, current@freebsd.org
Subject:   Re: .depend
Message-ID:  <199610091312.PAA01354@campa.panke.de>
In-Reply-To: <l0301051cae80a82b2968@[208.2.87.4]>
References:  <199610082021.WAA06329@campa.panke.de> <l0301051cae80a82b2968@[208.2.87.4]>

next in thread | previous in thread | raw e-mail | index | archive | help
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				 <cpp options> <files>
$ mkdep -f .depend.debug -DDEBUG <cpp options> <files>
$ mkdep -f .depend.i386 -Di386   <cpp options> <files>

You can now include .depend.debug in ./Makefile, but make(1) also
read .depend because it exists.

Wolfram



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610091312.PAA01354>