Subject: upgrade make! (was Re: new make variables)
To: None <current-users@netbsd.org>
From: Aidan Cully <aidan@kublai.com>
List: current-users
Date: 08/09/1999 17:18:55
I've just applied (a modified version of) this to the tree. If you build
domestic, you'll need to upgrade your version of make before building it
next time.
--aidan
On Sun, Aug 08, 1999 at 03:03:37AM -0400, Aidan Cully wrote:
> I'd like to modify make so that it'll define two new variables for name
> and directory of the Makefile currently being parsed. This would be
> used for a modification to the Makefile.frag's in domestic/*/, where
> SUBDIR+=${CRYPTOPATH}/libkrb
> could be replaced with
> USLIBDIR:=${.PARSEDIR}
> SUBDIR+=${USLIBDIR}/libkrb
>
> Then CRYPTOBASE could be replaced with a list of crypto trees, in the
> order you'd like them applied, with a bit of foo in the src/lib/Makefile
> &c., like this (untested):
>
> .for BASE in ${CRYPTOBASES}
> .sinclude "${SRCTOP}/${BASE}/lib/Makefile.frag"
> .endfor
>
> Patches for this follow. Feedback?