[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

556.0. " make question" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Mon Feb 07 1994 18:10

Date Of Receipt: 	 7-FEB-1994 17:20:36.01
From: 	WASTED::jmf "Joshua M. Friedman ULTRIX SDE  07-Feb-1994 1719"
To: 	whatde@wasted:zko.dec
CC: 	buildhelp@wasted:zko.dec
Subj: 	'make' question

Who owns make?  Can anyone give me a definitive answer to this?

In the make we use locally, for files (src and obj both) populated with
symbolic links (i.e. mklinks) does 'make' decide dependencies based on
the timestamp of a link or the timestamp of the file linked to.

I know that the DECwest folks applied a bug fix at one point to the 1.1
make they get from OSF to check the linked file and not the link; I'm
wondering what the behavior is of our make.

thanks...	-josh

T.RTitleUserPersonal
Name
DateLines
556.1Re: make questionSMURF::FILTERAutomatic Posting Software - mail to flume::puckMon Feb 07 1994 18:1168
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]

556.2Re: make questionSMURF::FILTERAutomatic Posting Software - mail to flume::puckMon Feb 07 1994 18:128
Date Of Receipt: 	 7-FEB-1994 17:44:32.01
From: 	QUARRY::njo "Neil O'Brien USG/DE"
To: 	jmf@DEC:.zko.quarry
CC: 	buildhelp whatde
Subj: 	Re:  'make' question

I believe that make belongs to John Derzinski who works out of UNX.

556.3Re: make questionSMURF::FILTERAutomatic Posting Software - mail to flume::puckTue Feb 08 1994 10:4015
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