build: Do not let the install-cli target depend on a phony target

Real dependencies are preferable to phony ones where possible.
This also allows simplifying a recipe line with an automatic variable.
build: Coalesce some install recipe lines
build: Simplify phony target declaration with wildcards
build: Use 'DEPCC' for generating .depend, not 'CC'
cosmetic: Make .depend generation foreach loop more readable
build: Switch 'rm' to '$(RM)'
build: Split install-lib-dev into *-headers and *-pc subrecipes
build: Use lib-static as a proper subrecipe for install-lib-static
build: Reorganize install-lib-shared

*Use lib-shared as a proper subrecipe for install-lib-shared
*Split lib-shared into lib-shared and lib-shared-implib so that
 the correct automatic variables can be used
Add autotools-style silent build rules
build: Silence 'ln' when using silent rules