Re: questionable feature in FreeBSD pmake

2004-10-29 Thread Dan Strick
> > Why are you unable to do anything with the command-line? Any of these > will solve your problem. > Bourne: > MAKEOBJDIR=/no_obj_here make > > Bourne or CSH: > env MAKEOBJDIR=/no_obj_here make > > Here is a Makefile that does not use obj/. The special targets can be > placed into a file to be

Re: questionable feature in FreeBSD pmake

2004-10-29 Thread Harti Brandt
On Thu, 28 Oct 2004, Sean Farley wrote: SF>On Thu, 28 Oct 2004, Dan Strick wrote: SF> SF>> On Thu, 28 Oct 2004 03:23:02 -0700, Dan Strick wrote: SF>> > SF>> > I just spent a *very* frustrating hour trying to figure out why the SF>> > FreeBSD make program was invoking all commands to make things i

Re: questionable feature in FreeBSD pmake

2004-10-28 Thread Harti Brandt
On Thu, 28 Oct 2004, Dan Strick wrote: DS>On Thu, 28 Oct 2004 03:23:02 -0700, I wrote: DS>> DS>> I just spent a *very* frustrating hour trying to figure out why the DS>> FreeBSD make program was invoking all commands to make things in a DS>> subdirectory named "obj". I eventually discovered this

Re: questionable feature in FreeBSD pmake

2004-10-28 Thread Sean Farley
On Thu, 28 Oct 2004, Dan Strick wrote: On Thu, 28 Oct 2004 03:23:02 -0700, Dan Strick wrote: I just spent a *very* frustrating hour trying to figure out why the FreeBSD make program was invoking all commands to make things in a subdirectory named "obj". I just noticed this is in the BUGS section of

Re: questionable feature in FreeBSD pmake

2004-10-28 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Dan Strick <[EMAIL PROTECTED]> writes: : Unfortunately, it seems that its invocation : depends only on the presence of a subdirectory named "obj" in the directory : in which the make command is invoked and there is NO WAY to avoid it. setenv MAKEOBJDIR s

Re: questionable feature in FreeBSD pmake

2004-10-28 Thread Dan Strick
On Thu, 28 Oct 2004 03:23:02 -0700, I wrote: > > I just spent a *very* frustrating hour trying to figure out why the > FreeBSD make program was invoking all commands to make things in a > subdirectory named "obj". I eventually discovered this gem in the > make man page: > > In addition, make s

Re: questionable feature in FreeBSD pmake

2004-10-28 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Dan Strick <[EMAIL PROTECTED]> writes: : Does anyone know where this feature came from? The .OBJDIR variable was : recognized by the pmake distributed with 4.4 BSD, but the man page for : that version of make does not mention the gratuitous magic rules f

Re: questionable feature in FreeBSD pmake

2004-10-28 Thread Peter Pentchev
On Thu, Oct 28, 2004 at 01:51:00PM +0300, Peter Pentchev wrote: > On Thu, Oct 28, 2004 at 03:23:02AM -0700, Dan Strick wrote: > > I just spent a *very* frustrating hour trying to figure out why the > > FreeBSD make program was invoking all commands to make things in a > > subdirectory named "obj".

Re: questionable feature in FreeBSD pmake

2004-10-28 Thread Peter Pentchev
On Thu, Oct 28, 2004 at 03:23:02AM -0700, Dan Strick wrote: > I just spent a *very* frustrating hour trying to figure out why the > FreeBSD make program was invoking all commands to make things in a > subdirectory named "obj". I eventually discovered this gem in the > make man page: [snip] > .

questionable feature in FreeBSD pmake

2004-10-28 Thread Dan Strick
I just spent a *very* frustrating hour trying to figure out why the FreeBSD make program was invoking all commands to make things in a subdirectory named "obj". I eventually discovered this gem in the make man page: In addition, make sets or knows about the following internal variables or