I'm surprised no one raised this on IRC, its been this way for several
weeks now.
In case you're curious, its because the rule:
# In addition to compiling the .c file to .o, generate a dependency
# file. Force all output to the build directory. $(basename
# $(notdir)) is an approximation of UNIX basename.
.c.o:
$(CC) $(MK_DEPEND_CFLAGS) \
-MMD -MF $(builddir)/$(basename $(notdir $@)).d \
-o $(builddir)/$(notdir $@) \
-c $<
uses $<, and $< uses VPATH. If VPATH isn't absolute then $< won't be
either. That changed when a dependency issue was fixed:
Author: Andrew Cagney <[email protected]>
Date: Thu May 7 19:21:40 2015 -0400
building: always set VPATH in mk/dirs.mk (and not the generated
Makefile)
Needed when building from $(srcdir)
_______________________________________________
Swan-dev mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-dev