[19552] in Kerberos_V5_Development
Re: Looking for Makefile advice if applicable
daemon@ATHENA.MIT.EDU (Tom Yu)
Fri Mar 3 07:47:23 2017
From: Tom Yu <tlyu@mit.edu>
To: Benjamin Kaduk <kaduk@mit.edu>
Date: Fri, 03 Mar 2017 07:47:09 -0500
In-Reply-To: <20170301053432.GA30306@kduck.kaduk.org> (Benjamin Kaduk's
message of "Tue, 28 Feb 2017 23:34:33 -0600")
Message-ID: <ldvinnqil2q.fsf@sarnath.mit.edu>
MIME-Version: 1.0
Cc: MIT Kerberos Dev List <krbdev@mit.edu>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu
Benjamin Kaduk <kaduk@mit.edu> writes:
> I think this is the sort of thing that the VPATH variable is for.
> So you could set VPATH = ../../builtin/des and declare dependencies
> on the bare des_int.h and des_keys.c names but pull in their
> contents from the original location.
autoconf-gnerated Makefiles rely on VPATH for building outside the
source tree, which will interfere with this usage. Also, VPATH
functionality isn't very portable across Make implementations. These
would make it harder for us to integrate upstream. I'd have to think a
while about how best to do this without using VPATH.
_______________________________________________
krbdev mailing list krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev