summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-06-05 12:29:36 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-06-05 12:29:36 +0000
commit64ba3e5e0836bde4e85d6d2fdd133e2d37211e86 (patch)
tree79930d3e23db16ba9cc080d9b1e1cb22137fce23
parent583c765a5cbc3bc5f8cb2d4aaf5760db80cf791a (diff)
- switching thread impls without makeing clean before left the objs of the
previously selected impl lying around on a distclean. Make sure that this does not happen.
-rw-r--r--Makefile.in13
1 files changed, 9 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index 7c638d3e1..820d8fb68 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -408,10 +408,15 @@ defconfig: extra/config/conf include/bits
clean:
$(Q)$(RM) -r lib include/bits
- $(RM) ldso/*/*.a libpthread/*/*.a libc/*.a libcrypt/*.a libintl/*.a \
- libm/*.a libnsl/*.a libpthread/*.a libresolv/*.a librt/*.a \
- libutil/*.a lib/*.a \
- include/fpu_control.h include/dl-osinfo.h include/hp-timing.h
+ $(Q)$(RM) $(foreach ext,a o os oS,ldso/*/*.$(ext) \
+ libc/*.$(ext) libcrypt/*.$(ext) libintl/*.$(ext) libm/*.$(ext) \
+ libnsl/*.$(ext) libpthread/*.$(ext) libresolv/*.$(ext) \
+ librt/*.$(ext) libutil/*.$(ext) lib/*.$(ext) \
+ libpthread/*/*.$(ext) libpthread/*/*/*.$(ext) \
+ libpthread/*/*/*/*.$(ext) libpthread/*/*/*/*/*.$(ext) \
+ libpthread/*/*/*/*/*/*.$(ext) libpthread/*/*/*/*/*/*/*.$(ext) \
+ libpthread/*/*/*/*/*/*/*/*.$(ext))
+ $(Q)$(RM) include/fpu_control.h include/dl-osinfo.h include/hp-timing.h
$(MAKE) objclean-y headers_clean-y
$(MAKE) -s -C test clean
$(MAKE) -C utils utils_clean