[Swan-dev] makefile flaw

D. Hugh Redelmeier hugh at mimosa.com
Sat Feb 21 21:25:58 EET 2015

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")

More information about the Swan-dev mailing list