Subject: Re: CVS commit: src/share/mk
To: Perry E. Metzger <>
From: Luke Mewburn <>
List: source-changes
Date: 09/04/2003 10:37:48
On Wed, Sep 03, 2003 at 10:28:02AM -0400, Perry E. Metzger wrote:
  | Alan Barrett <> writes:
  | > On Wed, 03 Sep 2003, Luke Mewburn wrote:
  | > > Implement LNFILES: a list of two word items:
  | > > 	lnsrc lntgt
  | > > For each lnsrc item, create a symlink named lntgt.
  | > > The lntgt symlinks are removed by the cleandir target.
  | > 
  | > Why is the SYMLINKS variable (handled by not good enough
  | > for this purpose?
  | Ditto, why not use SYMLINKS?

SYMLINKS creates symlinks in the DESTDIR, not the .OBJDIR.

LNFILES is provided for source paths that you need in the .OBJDIR
that either  need a different name than that in the dist/ .PATH, or
have to be in the current directory due to implementation issues with
a host tool.  These (temporary) links are also cleaned when necessary,
unlike $SYMLINKS targets.

We already have a bunch of code in the tree that reinvents the wheel
to enable a build, and will need this more for another reachover build
I'm working on.  This stuff can be simplified with LNFILES now.