[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FreeBSD make
From: |
Noah Misch |
Subject: |
Re: FreeBSD make |
Date: |
Fri, 11 Mar 2005 18:29:36 -0800 |
User-agent: |
Mutt/1.5.5.1i |
On Fri, Mar 11, 2005 at 05:32:05PM +0100, Ralf Wildenhues wrote:
> I don't know if it's worthwhile to support FreeBSD make..
>
> I have no idea how to keep it from looping without this patch, after
> running the rules for vcl-tmp it always seems to want to update
> stamp-vcl .. seems like timestamp files don't work with it at all.
I have not analyzed the behavior of this particular group of rules, but the
misbehavior sounds similar to something I have seen:
FreeBSD `make' does not conform to POSIX in its handling of modification times:
$ cat >Makefile
a: b
: a
b: c
: b
$ for f in b a c; do touch $f; sleep 1; done
$ make
: b
: a
$ gmake
: b
$ make -dm
Examining c...modified 21:11:38 Feb 07, 2005...up-to-date.
Examining b...modified 21:11:36 Feb 07, 2005...modified before
source...out-of-date.
: b
update time: 21:11:38 Feb 07, 2005
Examining a...modified 21:11:37 Feb 07, 2005...modified before
source...out-of-date.
: a
update time: 21:11:38 Feb 07, 2005