| 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
______________________________________________________________________
|