rm -f -r lib include/bits
rm -f lib*/*.a ldso/*/*.a libpthread/*/*.a
rm -f include/fpu_control.h include/dl-osinfo.h include/hp-timing.h
make objclean-y headers_clean-y
rm -f ./ldso/ldso/*.{o,os,oS,a} ./ldso/ldso/*/*.{o,os,oS}
rm -f ./ldso/libdl/*.{o,os,a,oS}
rm -f ./libcrypt/*.{o,os,oS,a}
rm -f ./libintl/*.{o,os,a}
rm -f ./libm/{,*/,*/*/}*.{o,os,oS,a}
rm -f ./libnsl/*.{o,os,a}
rm -f ./libresolv/*.{o,os,a}
rm -f ./libutil/*.{o,os,oS,a}
rm -f ./libpthread/linuxthreads.old/*.{o,os,oS,a}
rm -f ./libpthread/linuxthreads.old_db/*.{o,os,oS,a}
rm -f ./librt/*.{o,os,a}
rm -f ./extra/locale/gen_collate ./extra/locale/gen_wc8bit ./extra/locale/gen_wctype ./extra/locale/locale_data.c ./extra/locale/{*.{o,os,txt},gen_locale,gen_ldc}
rm -f ./extra/locale/{uClibc_locale_data,lt_defines,c8tables,wctables,locale_tables,locale_collate}.h
rm -f ./extra/locale/{lmmtolso,gen_mmap,locale.mmap}
rm -f ./libc/sysdeps/linux/sh/*.{o,os} ./lib/crti.o ./lib/crtn.o ./lib/crt1.o ./lib/Scrt1.o
rm -f ./libc/sysdeps/linux/common/*.{o,os,oS}
rm -f ./libc/misc/assert/*.{o,os}
rm -f ./libc/misc/ctype/*.{o,os}
rm -f ./libc/misc/dirent/*.{o,os}
rm -f ./libc/misc/error/*.{o,os}
rm -f ./libc/misc/file/*.{o,os,oS}
rm -f ./libc/misc/fnmatch/*.{o,os}
rm -f ./libc/misc/ftw/*.{o,os}
rm -f ./libc/misc/glob/*.{o,os}
rm -f ./libc/misc/gnu/*.{o,os}
rm -f ./libc/misc/internals/*.{o,os,oS}
rm -f ./libc/misc/locale/{*.{o,os}}
rm -f ./libc/misc/mntent/*.{o,os}
rm -f ./libc/misc/regex/*.{o,os}
rm -f ./libc/misc/search/*.{o,os}
rm -f ./libc/misc/statfs/*.{o,os,oS}
rm -f ./libc/misc/syslog/*.{o,os}
rm -f ./libc/misc/sysvipc/*.{o,os}
rm -f ./libc/misc/time/*.{o,os}
rm -f ./libc/misc/ttyent/*.{o,os}
rm -f ./libc/misc/utmp/*.{o,os}
rm -f ./libc/misc/wchar/*.{o,os}
rm -f ./libc/misc/wctype/*.{o,os}
rm -f ./libc/misc/wordexp/*.{o,os}
rm -f ./libc/pwd_grp/*.{o,os}
rm -f ./libc/stdio/*.{o,os,oS}
rm -f ./libc/string/{,*/}*.{o,os}
rm -f ./libc/termios/*.{o,os}
rm -f ./libc/inet/rpc/*.{o,os,oS}
rm -f ./libc/inet/*.{o,os}
rm -f ./libc/signal/*.{o,os}
rm -f ./libc/stdlib/malloc/*.{o,os}
rm -f ./libc/stdlib/malloc-simple/*.{o,os}
rm -f ./libc/stdlib/malloc-standard/*.{o,os}
rm -f ./libc/stdlib/*.{o,os,oS}
rm -f ./libc/unistd/*.{o,os}
rm -f ./libc/*.{o,os,oS,a}
rm -f ./include/pthread.h ./include/semaphore.h \
	./include/bits/pthreadtypes.h
rm -f ./include/thread_db.h
make -s -C test clean
make -C utils utils_clean
rm -f ../utils/{ldconfig,ldd,readelf,iconv,*.host}
