From dd3fb0f8c1c10fcee804f11a4eed84316c5f694b Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 18 Oct 2003 10:20:59 +0000 Subject: Peter Kjellerstedt writes: rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM). --- libc/Makefile | 16 ++++++++-------- libc/inet/Makefile | 2 +- libc/inet/rpc/Makefile | 2 +- libc/misc/Makefile | 2 +- libc/misc/assert/Makefile | 2 +- libc/misc/ctype/Makefile | 2 +- libc/misc/dirent/Makefile | 2 +- libc/misc/error/Makefile | 2 +- libc/misc/file/Makefile | 2 +- libc/misc/fnmatch/Makefile | 2 +- libc/misc/ftw/Makefile | 2 +- libc/misc/glob/Makefile | 2 +- libc/misc/gnu/Makefile | 2 +- libc/misc/internals/Makefile | 2 +- libc/misc/intl/Makefile | 2 +- libc/misc/locale/Makefile | 2 +- libc/misc/mntent/Makefile | 2 +- libc/misc/pthread/Makefile | 2 +- libc/misc/regex/Makefile | 2 +- libc/misc/search/Makefile | 2 +- libc/misc/statfs/Makefile | 2 +- libc/misc/syslog/Makefile | 2 +- libc/misc/sysvipc/Makefile | 2 +- libc/misc/time/Makefile | 2 +- libc/misc/ttyent/Makefile | 2 +- libc/misc/utmp/Makefile | 2 +- libc/misc/wchar/Makefile | 2 +- libc/misc/wctype/Makefile | 2 +- libc/misc/wordexp/Makefile | 2 +- libc/pwd_grp/Makefile | 2 +- libc/signal/Makefile | 2 +- libc/stdio/Makefile | 2 +- libc/stdlib/Makefile | 2 +- libc/stdlib/malloc-930716/Makefile | 2 +- libc/stdlib/malloc/Makefile | 2 +- libc/string/Makefile | 2 +- libc/sysdeps/linux/alpha/Makefile | 4 ++-- libc/sysdeps/linux/arm/Makefile | 4 ++-- libc/sysdeps/linux/common/Makefile | 2 +- libc/sysdeps/linux/cris/Makefile | 2 +- libc/sysdeps/linux/e1/Makefile | 6 +++--- libc/sysdeps/linux/h8300/Makefile | 4 ++-- libc/sysdeps/linux/i386/Makefile | 4 ++-- libc/sysdeps/linux/i960/Makefile | 4 ++-- libc/sysdeps/linux/m68k/Makefile | 6 +++--- libc/sysdeps/linux/microblaze/Makefile | 4 ++-- libc/sysdeps/linux/mips/Makefile | 6 +++--- libc/sysdeps/linux/powerpc/Makefile | 4 ++-- libc/sysdeps/linux/sh/Makefile | 4 ++-- libc/sysdeps/linux/sh64/Makefile | 4 ++-- libc/sysdeps/linux/sparc/Makefile | 4 ++-- libc/sysdeps/linux/v850/Makefile | 4 ++-- libc/termios/Makefile | 2 +- libc/unistd/Makefile | 2 +- 54 files changed, 78 insertions(+), 78 deletions(-) (limited to 'libc') diff --git a/libc/Makefile b/libc/Makefile index d7effaaed..a03d15277 100644 --- a/libc/Makefile +++ b/libc/Makefile @@ -54,7 +54,7 @@ all: halfclean subdirs $(LIBNAME) $(DO_SHARED) ar-target: $(CROSS)ranlib $(LIBNAME) $(INSTALL) -d $(TOPDIR)lib - rm -f $(TOPDIR)lib/$(LIBNAME) + $(RM) $(TOPDIR)lib/$(LIBNAME) $(INSTALL) -m 644 $(LIBNAME) $(TOPDIR)lib $(LIBNAME): subdirs ar-target @@ -65,15 +65,15 @@ shared: $(TOPDIR)lib/$(LIBNAME) $(LIBGCC_NEED) --whole-archive $(LIBGCC_NEED) $(LIBNAME) \ $(TOPDIR)/libc/misc/internals/interp.o --no-whole-archive \ -init __uClibc_init $(LIBGCC) - @true #rm -rf tmp + @true #$(RM) -r tmp $(INSTALL) -d $(TOPDIR)lib - rm -f $(TOPDIR)lib/$(SHARED_FULLNAME) + $(RM) $(TOPDIR)lib/$(SHARED_FULLNAME) $(INSTALL) -m 644 $(SHARED_FULLNAME) $(TOPDIR)lib (cd ../lib && ln -sf $(SHARED_FULLNAME) libc.so); (cd ../lib && ln -sf $(SHARED_FULLNAME) $(SHARED_MAJORNAME)); $(LIBGCC_NEED): $(TOPDIR)lib/$(LIBNAME) - @rm -rf tmp + @$(RM) -r tmp @mkdir tmp $(AR) rv $@ (cd tmp && CC="$(CC)" LD="$(LD)" LDFLAGS="$(CPU_LDFLAGS-y)" \ @@ -81,15 +81,15 @@ $(LIBGCC_NEED): $(TOPDIR)lib/$(LIBNAME) /bin/sh $(TOPDIR)../extra/scripts/get-needed-libgcc-objects.sh) halfclean: - @rm -f $(LIBNAME) uClibc_config.h - @rm -f $(SHARED_FULLNAME) $(SHARED_MAJORNAME) uClibc-0.* libc.so* + @$(RM) $(LIBNAME) uClibc_config.h + @$(RM) $(SHARED_FULLNAME) $(SHARED_MAJORNAME) uClibc-0.* libc.so* tags: ctags -R clean: subdirs_clean halfclean - @rm -rf tmp - rm -f include/asm include/linux include/bits + @$(RM) -r tmp + $(RM) include/asm include/linux include/bits subdirs: $(patsubst %, _dir_%, $(DIRS)) subdirs_clean: $(patsubst %, _dirclean_%, $(DIRS)) diff --git a/libc/inet/Makefile b/libc/inet/Makefile index 092480f82..ef3d6cf69 100644 --- a/libc/inet/Makefile +++ b/libc/inet/Makefile @@ -83,7 +83,7 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: subdirs_clean - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core subdirs: $(patsubst %, _dir_%, $(DIRS)) subdirs_clean: $(patsubst %, _dirclean_%, $(ALL_SUBDIRS)) diff --git a/libc/inet/rpc/Makefile b/libc/inet/rpc/Makefile index 0cfa64d8d..5b8975cbf 100644 --- a/libc/inet/rpc/Makefile +++ b/libc/inet/rpc/Makefile @@ -62,5 +62,5 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/misc/Makefile b/libc/misc/Makefile index f35337a3b..da7c44fba 100644 --- a/libc/misc/Makefile +++ b/libc/misc/Makefile @@ -58,7 +58,7 @@ tags: ctags -R clean: subdirs_clean - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core subdirs: $(patsubst %, _dir_%, $(DIRS)) subdirs_clean: $(patsubst %, _dirclean_%, $(DIRS)) diff --git a/libc/misc/assert/Makefile b/libc/misc/assert/Makefile index 6dc004b7b..cfd469c14 100644 --- a/libc/misc/assert/Makefile +++ b/libc/misc/assert/Makefile @@ -40,4 +40,4 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/misc/ctype/Makefile b/libc/misc/ctype/Makefile index dc73ba7e9..26bb33731 100644 --- a/libc/misc/ctype/Makefile +++ b/libc/misc/ctype/Makefile @@ -65,5 +65,5 @@ $(MOBJx): $(MSRC) $(OBJS): Makefile clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/misc/dirent/Makefile b/libc/misc/dirent/Makefile index c3dc95a8f..4ccf3d3e0 100644 --- a/libc/misc/dirent/Makefile +++ b/libc/misc/dirent/Makefile @@ -42,5 +42,5 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/misc/error/Makefile b/libc/misc/error/Makefile index cb293b01a..754010688 100644 --- a/libc/misc/error/Makefile +++ b/libc/misc/error/Makefile @@ -35,5 +35,5 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/misc/file/Makefile b/libc/misc/file/Makefile index 195097e92..fc1a1bfc3 100644 --- a/libc/misc/file/Makefile +++ b/libc/misc/file/Makefile @@ -44,5 +44,5 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/misc/fnmatch/Makefile b/libc/misc/fnmatch/Makefile index d3373a0f7..af067bd15 100644 --- a/libc/misc/fnmatch/Makefile +++ b/libc/misc/fnmatch/Makefile @@ -40,5 +40,5 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/misc/ftw/Makefile b/libc/misc/ftw/Makefile index ae21c222c..a9df0c782 100644 --- a/libc/misc/ftw/Makefile +++ b/libc/misc/ftw/Makefile @@ -39,5 +39,5 @@ $(MOBJ): $(MSRC) $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/misc/glob/Makefile b/libc/misc/glob/Makefile index e53c95b18..31a3b80fe 100644 --- a/libc/misc/glob/Makefile +++ b/libc/misc/glob/Makefile @@ -42,5 +42,5 @@ $(COBJS): %.o : %.c glob64.o: glob64.c glob.c clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/misc/gnu/Makefile b/libc/misc/gnu/Makefile index f2acc8bba..6e3fd8463 100644 --- a/libc/misc/gnu/Makefile +++ b/libc/misc/gnu/Makefile @@ -40,4 +40,4 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/misc/internals/Makefile b/libc/misc/internals/Makefile index e9dd86b80..486cf8d55 100644 --- a/libc/misc/internals/Makefile +++ b/libc/misc/internals/Makefile @@ -53,5 +53,5 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] interp.c *~ core + $(RM) *.[oa] interp.c *~ core diff --git a/libc/misc/intl/Makefile b/libc/misc/intl/Makefile index 140ae31f3..df59c9d52 100644 --- a/libc/misc/intl/Makefile +++ b/libc/misc/intl/Makefile @@ -46,5 +46,5 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/misc/locale/Makefile b/libc/misc/locale/Makefile index 17b208b2e..752f0aa0f 100644 --- a/libc/misc/locale/Makefile +++ b/libc/misc/locale/Makefile @@ -67,6 +67,6 @@ locale_data.o: $(OBJS): Makefile clean: - rm -f *.[oa] *~ core locale_data.c + $(RM) *.[oa] *~ core locale_data.c .PHONY: data diff --git a/libc/misc/mntent/Makefile b/libc/misc/mntent/Makefile index 65fa34623..7430dfe00 100644 --- a/libc/misc/mntent/Makefile +++ b/libc/misc/mntent/Makefile @@ -40,5 +40,5 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/misc/pthread/Makefile b/libc/misc/pthread/Makefile index 3146c7a9a..d01af1d74 100644 --- a/libc/misc/pthread/Makefile +++ b/libc/misc/pthread/Makefile @@ -45,5 +45,5 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/misc/regex/Makefile b/libc/misc/regex/Makefile index fe2920ba6..5bdda32b4 100644 --- a/libc/misc/regex/Makefile +++ b/libc/misc/regex/Makefile @@ -40,5 +40,5 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/misc/search/Makefile b/libc/misc/search/Makefile index fa28f21d6..9d579b964 100644 --- a/libc/misc/search/Makefile +++ b/libc/misc/search/Makefile @@ -69,5 +69,5 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/misc/statfs/Makefile b/libc/misc/statfs/Makefile index 89eb7fd89..55c21b8f6 100644 --- a/libc/misc/statfs/Makefile +++ b/libc/misc/statfs/Makefile @@ -43,5 +43,5 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/misc/syslog/Makefile b/libc/misc/syslog/Makefile index f715eceec..8eb583c51 100644 --- a/libc/misc/syslog/Makefile +++ b/libc/misc/syslog/Makefile @@ -40,5 +40,5 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/misc/sysvipc/Makefile b/libc/misc/sysvipc/Makefile index b3c60cb03..eaf5dd1ec 100644 --- a/libc/misc/sysvipc/Makefile +++ b/libc/misc/sysvipc/Makefile @@ -65,7 +65,7 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: subdirs_clean - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core subdirs: $(patsubst %, _dir_%, $(DIRS)) subdirs_clean: $(patsubst %, _dirclean_%, $(DIRS)) diff --git a/libc/misc/time/Makefile b/libc/misc/time/Makefile index 302214baf..29ed0d949 100644 --- a/libc/misc/time/Makefile +++ b/libc/misc/time/Makefile @@ -65,5 +65,5 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/misc/ttyent/Makefile b/libc/misc/ttyent/Makefile index 6a5fbcbfe..1b814089e 100644 --- a/libc/misc/ttyent/Makefile +++ b/libc/misc/ttyent/Makefile @@ -35,5 +35,5 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/misc/utmp/Makefile b/libc/misc/utmp/Makefile index 1a50070db..7a506a45d 100644 --- a/libc/misc/utmp/Makefile +++ b/libc/misc/utmp/Makefile @@ -40,4 +40,4 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/misc/wchar/Makefile b/libc/misc/wchar/Makefile index 4a3e2fc7a..c449e3f91 100644 --- a/libc/misc/wchar/Makefile +++ b/libc/misc/wchar/Makefile @@ -66,5 +66,5 @@ iconv.target: wchar.c $(STRIPTOOL) -x -R .note -R .comment $@ clean: - rm -f *.[oa] *~ core iconv.target + $(RM) *.[oa] *~ core iconv.target diff --git a/libc/misc/wctype/Makefile b/libc/misc/wctype/Makefile index 44734945c..291036451 100644 --- a/libc/misc/wctype/Makefile +++ b/libc/misc/wctype/Makefile @@ -57,5 +57,5 @@ $(MOBJx): $(MSRC) $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/misc/wordexp/Makefile b/libc/misc/wordexp/Makefile index edfd819d5..5e29f4704 100644 --- a/libc/misc/wordexp/Makefile +++ b/libc/misc/wordexp/Makefile @@ -35,5 +35,5 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/pwd_grp/Makefile b/libc/pwd_grp/Makefile index f2cdf5a17..288b84a9c 100644 --- a/libc/pwd_grp/Makefile +++ b/libc/pwd_grp/Makefile @@ -53,4 +53,4 @@ __getgrent_r.c: config.h initgroups.c: config.h clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/signal/Makefile b/libc/signal/Makefile index 8a9d846d6..28d87a77e 100644 --- a/libc/signal/Makefile +++ b/libc/signal/Makefile @@ -40,5 +40,5 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/stdio/Makefile b/libc/stdio/Makefile index b92eed2a1..b0ba70ba8 100644 --- a/libc/stdio/Makefile +++ b/libc/stdio/Makefile @@ -107,5 +107,5 @@ $(COBJS): %.o : %.c $(OBJ): Makefile clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/stdlib/Makefile b/libc/stdlib/Makefile index a60af2712..a22a8eb0a 100644 --- a/libc/stdlib/Makefile +++ b/libc/stdlib/Makefile @@ -134,7 +134,7 @@ $(patsubst %, _dirclean_%, $(ALL_SUBDIRS)) : dummy $(MAKE) -C $(patsubst _dirclean_%, %, $@) clean clean: subdirs_clean - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core .PHONY: dummy diff --git a/libc/stdlib/malloc-930716/Makefile b/libc/stdlib/malloc-930716/Makefile index a0a5f7b90..bd52b21e9 100644 --- a/libc/stdlib/malloc-930716/Makefile +++ b/libc/stdlib/malloc-930716/Makefile @@ -42,5 +42,5 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/stdlib/malloc/Makefile b/libc/stdlib/malloc/Makefile index 8f214880c..7172198f2 100644 --- a/libc/stdlib/malloc/Makefile +++ b/libc/stdlib/malloc/Makefile @@ -56,4 +56,4 @@ $(COBJS): %.o : %.c ../../../include/bits/uClibc_config.h $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/string/Makefile b/libc/string/Makefile index 1b12924d5..d9fec82a8 100644 --- a/libc/string/Makefile +++ b/libc/string/Makefile @@ -86,5 +86,5 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/sysdeps/linux/alpha/Makefile b/libc/sysdeps/linux/alpha/Makefile index 85c530999..f71a40376 100644 --- a/libc/sysdeps/linux/alpha/Makefile +++ b/libc/sysdeps/linux/alpha/Makefile @@ -58,6 +58,6 @@ headers: clean: - rm -f *.[oa] *~ core - rm -f bits/sysnum.h + $(RM) *.[oa] *~ core + $(RM) bits/sysnum.h diff --git a/libc/sysdeps/linux/arm/Makefile b/libc/sysdeps/linux/arm/Makefile index 038b994a2..532b55035 100644 --- a/libc/sysdeps/linux/arm/Makefile +++ b/libc/sysdeps/linux/arm/Makefile @@ -66,6 +66,6 @@ headers: clean: - rm -f *.[oa] *~ core - rm -f bits/sysnum.h + $(RM) *.[oa] *~ core + $(RM) bits/sysnum.h diff --git a/libc/sysdeps/linux/common/Makefile b/libc/sysdeps/linux/common/Makefile index 1b51e095a..1edfe7bf4 100644 --- a/libc/sysdeps/linux/common/Makefile +++ b/libc/sysdeps/linux/common/Makefile @@ -102,5 +102,5 @@ headers: cd $(TOPDIR)/include && ln -fs ../libc/sysdeps/linux/common/fpu_control.h . clean: - rm -f *.[oa] *~ core crt[in].* *.S + $(RM) *.[oa] *~ core crt[in].* *.S diff --git a/libc/sysdeps/linux/cris/Makefile b/libc/sysdeps/linux/cris/Makefile index 8a860f188..39bebf8d5 100644 --- a/libc/sysdeps/linux/cris/Makefile +++ b/libc/sysdeps/linux/cris/Makefile @@ -58,5 +58,5 @@ $(COBJS): %.o : %.c headers: clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/sysdeps/linux/e1/Makefile b/libc/sysdeps/linux/e1/Makefile index 45ee29989..177e78321 100644 --- a/libc/sysdeps/linux/e1/Makefile +++ b/libc/sysdeps/linux/e1/Makefile @@ -58,9 +58,9 @@ headers: clean: - rm -f *.[oa] *~ core - rm -f bits/sysnum.h + $(RM) *.[oa] *~ core + $(RM) bits/sysnum.h ifneq ($(strip $(HAVE_ELF)),y) - rm -f $(TOPDIR)/include/float.h + $(RM) $(TOPDIR)/include/float.h endif diff --git a/libc/sysdeps/linux/h8300/Makefile b/libc/sysdeps/linux/h8300/Makefile index 605278f23..d38e11191 100644 --- a/libc/sysdeps/linux/h8300/Makefile +++ b/libc/sysdeps/linux/h8300/Makefile @@ -56,8 +56,8 @@ $(COBJS): %.o : %.c headers: clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core ifneq ($(strip $(HAVE_ELF)),y) - rm -f $(TOPDIR)/include/float.h + $(RM) $(TOPDIR)/include/float.h endif diff --git a/libc/sysdeps/linux/i386/Makefile b/libc/sysdeps/linux/i386/Makefile index 2f721eb6e..75e7a27b7 100644 --- a/libc/sysdeps/linux/i386/Makefile +++ b/libc/sysdeps/linux/i386/Makefile @@ -69,6 +69,6 @@ headers: clean: - rm -f *.[oa] *~ core - rm -f bits/sysnum.h + $(RM) *.[oa] *~ core + $(RM) bits/sysnum.h diff --git a/libc/sysdeps/linux/i960/Makefile b/libc/sysdeps/linux/i960/Makefile index 9fd8a837d..fed680d34 100644 --- a/libc/sysdeps/linux/i960/Makefile +++ b/libc/sysdeps/linux/i960/Makefile @@ -56,6 +56,6 @@ headers: clean: - rm -f *.[oa] *~ core - rm -f bits/sysnum.h + $(RM) *.[oa] *~ core + $(RM) bits/sysnum.h diff --git a/libc/sysdeps/linux/m68k/Makefile b/libc/sysdeps/linux/m68k/Makefile index 7369bc925..321dcf7b3 100644 --- a/libc/sysdeps/linux/m68k/Makefile +++ b/libc/sysdeps/linux/m68k/Makefile @@ -69,9 +69,9 @@ endif clean: - rm -f *.[oa] *~ core - rm -f bits/sysnum.h + $(RM) *.[oa] *~ core + $(RM) bits/sysnum.h ifneq ($(strip $(HAVE_ELF)),y) - rm -f $(TOPDIR)/include/float.h + $(RM) $(TOPDIR)/include/float.h endif diff --git a/libc/sysdeps/linux/microblaze/Makefile b/libc/sysdeps/linux/microblaze/Makefile index cc098014e..b15fc9d0a 100644 --- a/libc/sysdeps/linux/microblaze/Makefile +++ b/libc/sysdeps/linux/microblaze/Makefile @@ -60,6 +60,6 @@ $(COBJS): %.o : %.c headers: clean: - rm -f *.[oa] *~ core - rm -f bits/sysnum.h + $(RM) *.[oa] *~ core + $(RM) bits/sysnum.h diff --git a/libc/sysdeps/linux/mips/Makefile b/libc/sysdeps/linux/mips/Makefile index a226a8466..361746c28 100644 --- a/libc/sysdeps/linux/mips/Makefile +++ b/libc/sysdeps/linux/mips/Makefile @@ -58,7 +58,7 @@ headers: cd $(TOPDIR)/include && ln -fs ../libc/sysdeps/linux/mips/fpu_control.h . clean: - rm -f *.[oa] *~ core - rm -f bits/sysnum.h - rm -f $(TOPDIR)/include/sgidefs.h + $(RM) *.[oa] *~ core + $(RM) bits/sysnum.h + $(RM) $(TOPDIR)/include/sgidefs.h diff --git a/libc/sysdeps/linux/powerpc/Makefile b/libc/sysdeps/linux/powerpc/Makefile index e9798cf7b..380bd778b 100644 --- a/libc/sysdeps/linux/powerpc/Makefile +++ b/libc/sysdeps/linux/powerpc/Makefile @@ -68,6 +68,6 @@ headers: cd $(TOPDIR)/include && ln -fs ../libc/sysdeps/linux/powerpc/fpu_control.h . clean: - rm -f *.[oa] *~ core - rm -f bits/sysnum.h + $(RM) *.[oa] *~ core + $(RM) bits/sysnum.h diff --git a/libc/sysdeps/linux/sh/Makefile b/libc/sysdeps/linux/sh/Makefile index b4266c9f5..99ccaaa75 100644 --- a/libc/sysdeps/linux/sh/Makefile +++ b/libc/sysdeps/linux/sh/Makefile @@ -67,6 +67,6 @@ headers: cd $(TOPDIR)/include && ln -fs ../libc/sysdeps/linux/sh/fpu_control.h . clean: - rm -f *.[oa] *~ core - rm -f bits/sysnum.h + $(RM) *.[oa] *~ core + $(RM) bits/sysnum.h diff --git a/libc/sysdeps/linux/sh64/Makefile b/libc/sysdeps/linux/sh64/Makefile index 6e9192718..8c0b9f399 100644 --- a/libc/sysdeps/linux/sh64/Makefile +++ b/libc/sysdeps/linux/sh64/Makefile @@ -60,6 +60,6 @@ $(COBJS): %.o : %.c headers: clean: - rm -f *.[oa] *~ core - rm -f bits/sysnum.h + $(RM) *.[oa] *~ core + $(RM) bits/sysnum.h diff --git a/libc/sysdeps/linux/sparc/Makefile b/libc/sysdeps/linux/sparc/Makefile index 19e9d9394..abee5e47d 100644 --- a/libc/sysdeps/linux/sparc/Makefile +++ b/libc/sysdeps/linux/sparc/Makefile @@ -58,6 +58,6 @@ headers: cd $(TOPDIR)/include && ln -fs ../libc/sysdeps/linux/sparc/fpu_control.h . clean: - rm -f *.[oa] *~ core - rm -f bits/sysnum.h + $(RM) *.[oa] *~ core + $(RM) bits/sysnum.h diff --git a/libc/sysdeps/linux/v850/Makefile b/libc/sysdeps/linux/v850/Makefile index cc098014e..b15fc9d0a 100644 --- a/libc/sysdeps/linux/v850/Makefile +++ b/libc/sysdeps/linux/v850/Makefile @@ -60,6 +60,6 @@ $(COBJS): %.o : %.c headers: clean: - rm -f *.[oa] *~ core - rm -f bits/sysnum.h + $(RM) *.[oa] *~ core + $(RM) bits/sysnum.h diff --git a/libc/termios/Makefile b/libc/termios/Makefile index d27c0a9af..6ccfa9a7e 100644 --- a/libc/termios/Makefile +++ b/libc/termios/Makefile @@ -51,5 +51,5 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/unistd/Makefile b/libc/unistd/Makefile index f30bfd3f1..a8d974734 100644 --- a/libc/unistd/Makefile +++ b/libc/unistd/Makefile @@ -115,5 +115,5 @@ $(patsubst %, _dirclean_%, $(DIRS)) : dummy dummy: clean: - rm -f *.[oa] *~ core gen_sysconf sysconf_*.c + $(RM) *.[oa] *~ core gen_sysconf sysconf_*.c -- cgit v1.2.3