cvs commit: src/include Makefile

Ruslan Ermilov ru at FreeBSD.org
Wed Mar 2 10:39:19 GMT 2005


Hi,

On Wed, Mar 02, 2005 at 11:18:34AM +0100, Dag-Erling Sm?rgrav wrote:
> Ruslan Ermilov <ru at FreeBSD.org> writes:
> >   Log:
> >   Sync the list of headers visible with SHARED=symlinks with those
> >   visible with SHARED=copies.
> 
> Why do we keep SHARED=symlinks around?  It has a non-zero maintenance
> cost (as evidenced by this commit) and offers no apparent benefit
> except the ability to shoot your foot off by building your bootstrap
> tools against the wrong set of headers.
> 
# Define SHARED to indicate whether you want symbolic links to the system
# source (``symlinks''), or a separate copy (``copies'').  ``symlinks'' is
# probably only useful for developers and should be avoided if you do not
# wish to tie your /usr/include and /usr/src together.
#SHARED=        symlinks
SHARED?=        copies

It's also used during "make buildworld".

Maintenance cost is not that big -- I just do "make install" with different
values for SHARED, then use "find -s . -name '*.h'" to find the diffs --
there shouldn't be any.  (Of course I'm doing this with DESTDIR properly
set to point to some safe place.)


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20050302/f758f613/attachment.bin


More information about the cvs-all mailing list