> Date: Fri, 25 Aug 2006 04:40:37 +0200
> From: Roland Mainz <roland.mainz at nrubsig.org>
> To: Mike Kupfer <mike.kupfer at sun.com>, "Roger A. Faulkner" 
<Roger.Faulkner at eng.sun.com>
> CC: April.Chin at eng.sun.com, ksh93-integration-discuss at opensolaris.org
> Subject: Re: flag day: 6357230 specfiles should be nuked
> 
> Question to Roger:
> Which of those solutions would you prefer ?
> 1. Put "mapfile-vers" in libNAME/i386 and let the other Makefiles
> generate softlinks at build time to that location.
> 2. Put "mapfile-vers" into libNAME/ (the libraries's source directory
> base)
> 3. Put "mapfile-vers" into libNAME/common/ and just hope that noone
> screws it up
> 4. Put "mapfile-vers" into libNAME/mapfile/
> 5. Always create "mapfile-vers" automatically during build time from the
> AST includes (uhm... Ok... that may be a bad idea since the API
> stability them entirely depends on whether the build script correctly
> parses the includes)

There's nothing magic about the 'common' subdirectory.
It's a convention, followed by most OS/NET libraries,
to put the source there and name it with the SRCDIR macro.

I recommend, given the complexity of the proposed directory
hierarchy, to just put mapfile-vers in the top-level directory
(Option 2. above).  There are plenty of other libraries that
do this.

Roger




Reply via email to