]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: Makefile: have "make clean" destroy .o/.a/.s in contrib subdirs as well
authorWilly Tarreau <w@1wt.eu>
Wed, 16 Dec 2020 13:14:38 +0000 (14:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Dec 2020 13:19:44 +0000 (14:19 +0100)
commitda867d8d68f19f9034a47d42d16db78a84a12299
tree9c0da1ef4e0839515d78356a608764a5dfdd0b80
parent28ac78a42cc2e7b309798dbebcf96afc4783572a
BUILD: Makefile: have "make clean" destroy .o/.a/.s in contrib subdirs as well

Now that we sometimes link some contrib subparts directly into the
haproxy binary, it's becoming a real problem that they're not cleaned
on make clean.  Some of the tools there are useful as .so or pure
binaries and we don't want to remove them, but anything intermediary
susceptible to be linked into haproxy should be clenaed. This is what
this patch does for 3 levels of subdirs into contrib/, without touching
the rest. It should be sufficient for the vast majority of use cases.
Makefile