[Swan-dev] makefile flaw
Andrew Cagney
andrew.cagney at gmail.com
Sun Feb 22 04:25:11 EET 2015
Missing "clean" rule in pluto's new dependency code.
Grep for "pam_conv.h" in OBJ*/programs/pluto/* to see the problem.
Hopefully fixed.
Andrew
On 21 February 2015 at 14:25, D. Hugh Redelmeier <hugh at mimosa.com> wrote:
> When I do
> git checkout ikev2-pam
> make clean
> make programs
>
> git checkout master
> make clean
> make programs
>
> this last make fails with
>
> make[3]: *** No rule to make target `/home/hugh/libreswan/programs/pluto/pam_conv.h', needed by `ikev2_parent.o'. Stop.
> make[3]: Leaving directory `/home/hugh/libreswan/OBJ.linux.x86_64/programs/pluto'
> make[2]: *** [programs.subdirs] Error 2
> make[2]: Leaving directory `/home/hugh/libreswan/OBJ.linux.x86_64/programs'
> make[1]: *** [programs] Error 1
> make[1]: Leaving directory `/home/hugh/libreswan/OBJ.linux.x86_64'
> make: *** [programs] Error 2
>
> programs/pluto/pam_conv.h is something present and needed in the
> ikev2-pam branch but is neither present nor needed in the master branch.
>
> Why does this dependency survive the second "make clean"?
>
> (All works after "rm OBJ.linux.x86_64/ -r")
> _______________________________________________
> Swan-dev mailing list
> Swan-dev at lists.libreswan.org
> https://lists.libreswan.org/mailman/listinfo/swan-dev
More information about the Swan-dev
mailing list