[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

1593.0. "Re: yabr (yet another bizarre request) - backingtree?" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Wed Jul 05 1995 16:16

Date Of Receipt: 	 5-JUL-1995 14:02:32.20
From: 	SMURF::FLUME::jmf "Joshua M. Friedman OSF/UNIX SDE  05-Jul-1995 1401"
To: 	Mike Daniele <daniele@DEC:.zko.flume>
CC: 	odehelp@DEC:.zko.flume, buildhelp@DEC:.zko.flume
Subj: 	Re: yabr (yet another bizarre request) - backingtree?

Mike, this may provide what you're looking for.  There's an environment 
variable known in the build environment called SOURCEDIR, which is a path of 
src directories in which make will look for sources.  The first component of 
this will be the direct backingtree.  For all of the <pool>.<suffix> trees, 
the value of SOURCEDIR should be a single directory, the backingtree's src 
tree.

-josh

FYI, as this is a build question, I've cc'd buildhelp - this is more 
appropriate than odehelp (= odeadmin).


> Hi,
> 
> 	Is there a way to determine, from within a Makefile
> 	during a sandbox build, what the backing tree is?
> 
> 	I have a 'private' procedure (is never run during a system build)
> 	that builds Platinum sources against Goldminor.  I'd like to use the
> 	real Makefiles for each component.  But due to kernel
> 	dependencies I have to make differently when backed against Goldminor.
> 
> Thanks,
> Mike
> 
 


 ----------------------------------------------------------------------
 Joshua M. Friedman	 		Internet: [email protected]	
 Mailstop: ZKO3-3/W20			DECnet:   flume::friedman
 Digital UNIX Engineering		603-881-1548
 110 Spitbrook Road 			dtn 381-1548
 Nashua, NH  03062 			Office: zko3-3/z20
 ----------------------------------------------------------------------



T.RTitleUserPersonal
Name
DateLines