| Date Of Receipt: 7-FEB-1994 17:39:39.53
From: ALPHA::"[email protected]" "Jim McGinness"
To: [email protected], [email protected]
CC: [email protected]
Subj: Re: 'make' question
The default make on Sterling appears to ignore the timestamp on a symbolic
link. I think this means it always does "stat" calls and never does
"lstat" calls when it's checking out the times.
I just did a little test:
>>> Simple makefile
pangloss[76] cat makefile.test
testlink: testfrom
ln -s testfrom testlink
>>> create a test file
pangloss[77] cp /dev/null testfrom
>>> run make once, to create link
pangloss[78] make -f makefile.test -d
MAKE ENTRY (make -f makefile.test -d) at Mon Feb 7 17:31:30 1994
Reading internal rules.
MAKEDIR=/
Current working directory for make is /var/tmp
doname(testlink, 0)
doname(testfrom, 1)
Looking for Single suffix rule.
TIME1(testfrom)=Feb 7 17:30:44 1994
TIME1(testfrom)=Mon Feb 7 17:30:44 1994
ln -s testfrom testlink
TIME1(testlink)=Feb 7 17:30:44 1994
MAKE EXIT (0) at Mon Feb 7 17:31:31 1994
>>> run again, just to check
pangloss[79] make -f makefile.test -d
MAKE ENTRY (make -f makefile.test -d) at Mon Feb 7 17:33:35 1994
Reading internal rules.
MAKEDIR=/
Current working directory for make is /var/tmp
doname(testlink, 0)
doname(testfrom, 1)
Looking for Single suffix rule.
TIME1(testfrom)=Feb 7 17:30:44 1994
TIME1(testfrom)=Mon Feb 7 17:30:44 1994
`testlink' is up to date.
TIME1(testlink)=Feb 7 17:30:44 1994
MAKE EXIT (0) at Mon Feb 7 17:33:35 1994
>>> refresh the target file
pangloss[80] cp /dev/null testfrom
pangloss[81] !make
make -f makefile.test -d
MAKE ENTRY (make -f makefile.test -d) at Mon Feb 7 17:34:20 1994
Reading internal rules.
MAKEDIR=/
Current working directory for make is /var/tmp
doname(testlink, 0)
doname(testfrom, 1)
Looking for Single suffix rule.
TIME1(testfrom)=Feb 7 17:34:18 1994
TIME1(testfrom)=Mon Feb 7 17:34:18 1994
`testlink' is up to date.
TIME1(testlink)=Feb 7 17:34:18 1994
MAKE EXIT (0) at Mon Feb 7 17:34:20 1994
pangloss[82]
|
| Date Of Receipt: 8-FEB-1994 10:18:18.08
From: QUARRY::sue "Suzanne L. Yeghiayan 08-Feb-1994 1017"
To: "Joshua Friedman, OSF/UNIX SDE 381-1548" <jmf@DEC:.zko.quarry>
CC: whatde@DEC:.zko.quarry, buildhelp@DEC:.zko.quarry
Subj: Re: 'make' question
Hi Josh,
Neil has it right. The listing from
/usr/specs/hercules/gold/merges/sources.owners is:
./usr/ccs/bin/make/* karp/leonard
-Sue
|