cvs commit: src Makefile

Garance A Drosihn drosih at rpi.edu
Thu Feb 19 14:15:17 PST 2004


At 2:42 PM -0700 2/19/04, M. Warner Losh wrote:
>In message: <200402191248.19870.jhb at FreeBSD.org>
>             John Baldwin <jhb at FreeBSD.org> writes:
>: If /usr/obj is a symlink it should stay that way so that a
>: user doesn't have  to relink it every time.  Using /* is
>: probably the best approach.
>
>This will remove *ALL* object trees, not just the one that is
>generated from the current source tree.

I've already mentioned this to John, but his comment implied that
${.OBJDIR} == /usr/obj, and that is not true.  It is
MAKEOBJDIRPREFIX which defaults to /usr/obj, and that will result
in an ${.OBJDIR) of /usr/obj/usr/src.

However, it is also true that there are times that I have created
/usr/obj/usr/src as a symlink, or have mounted a partition on top
of it.  So, it is true that I explicitly do not want the target
to remove the ${.OBJDIR} directory.

-- 
Garance Alistair Drosehn            =   gad at gilead.netel.rpi.edu
Senior Systems Programmer           or  gad at freebsd.org
Rensselaer Polytechnic Institute    or  drosih at rpi.edu


More information about the cvs-src mailing list