[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

2017.0. "how is exporting controlled?" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Fri Dec 22 1995 11:29

Date Of Receipt: 	22-DEC-1995 11:21:25.36
From: 	SMURF::ALPHA::frank "Douglas Frank USG  22-Dec-1995 1119"
To: 	odehelp@DEC:.zko.alpha
CC: 	
Subj: 	how is exporting controlled?

Well I'm stumped.  I think the pt build broke because I need to export
a header-- namely, ase_pseudo.h (which isn't in the export area).  So,
I've been exploring the kernel/io, kernel/include/io, and usr/include
areas looking for an example to follow.


Well that was a mistake, I just got lost because I can't find two headers
that are treated the same way.  So, can anyone explain the design of this
setup?  How the h**l am I supposed to know which Makefiles run when and do
what?

thx

--Doug



T.RTitleUserPersonal
Name
DateLines
2017.1Re: how is exporting controlled?AOSG::FILTERAutomatic Posting Software - mail to flume::puckFri Dec 22 1995 12:3347
Date Of Receipt: 	22-DEC-1995 11:38:26.89
From: 	SMURF::FLUME::johnf "John Flanagan USG Test Johnf Tools Group  22-Dec-1995 1136"
To: 	[email protected]
CC: 	odehelp@DEC:.zko.flume, johnf@DEC:.zko.flume
Subj: 	Re: how is exporting controlled?

Exports are controlled by ./usr/include/Makefile and 
./usr/include/alpha/Makefile.


Most of the stuff that is exported from the kernel is specified in the
Datafiles rule of ./usr/include/alpha/Makefile and is found using the
VPATH rule.  The key to the puzzle is the EXPFILES rule in 
./usr/include/Makefile.  You'll note that the EXPFILES rule in that Makefile
includes ${${target_machine}_DATAFILES} which pulls in the DATAFILES from
./usr/include/alpha/Makefile.  

Currently the kernel areas that are referenced for export are:

VPATH                   = ${MAKETOP}/kernel/arch/alpha:${MAKETOP}/kernel/arch/a
lpha/hal:${MAKETOP}/kernel/io/common


If you need to pull from a different area in the kernel, you'll need to add
the directory to the VPATH rule, and the file to the DATAFILES rule
in ./usr/include/alpha/Makefile.


I think that's it. 

John




 ______________________________________________________________________

 John Flanagan	 		enet:    [email protected]	
 MS: ZKO3-3/W20			decnet:  flume::johnf
 USG Release Engineering		 (603) 881-1719
 110 Spitbrook Road 			 (DTN) 381-1719
 Nashua, NH  
 ______________________________________________________________________