bsd.lib.mk: Simplify CLEANFILES handling.
authorbdrewery <bdrewery@FreeBSD.org>
Tue, 22 Sep 2015 05:05:53 +0000 (05:05 +0000)
committerbdrewery <bdrewery@FreeBSD.org>
Tue, 22 Sep 2015 05:05:53 +0000 (05:05 +0000)
commit799f2737d557eca16fa91fc63370a6a3699cb395
tree8c9a36d0b81f02a9428b48f3f8d9cdf73e571382
parent3faab6f866df5f1728cd3bef84d3d05e724abd3c
bsd.lib.mk: Simplify CLEANFILES handling.

This limits CLEANFILES removal to just bsd.obj.mk now and removes the need
for NOPATH_FILES.

This reverts r96529 which was done due to the command line being too long
for libc.  Since then all architectures now use 256k for ARG_MAX (r170102).
Regardless of that, the libc CLEANFILES is only 72k now.  Others
may be larger but not likely to hit the limit.  If needed, we can improve
the bsd.obj.mk clean: target to split up the list via bmake features.

This also removes some workarounds that are no longer needed.
- a.out removal
- OBJS.tmp, which has not been needed since r117080.
- *.so, which has not been needed since a .so->.So rename in r42450.

This also fixes STATICOBJS and SHLIB_LINK not being in the .NOPATH list.

Sponsored by: EMC / Isilon Storage Division
share/mk/bsd.lib.mk