diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-10-18 10:20:59 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-10-18 10:20:59 +0000 |
commit | dd3fb0f8c1c10fcee804f11a4eed84316c5f694b (patch) | |
tree | 916c96c10d0178fa6f1c8d176f2c2d0bf72338b0 /libc/sysdeps | |
parent | 49f0dd0fcb64746b1ef06e094f2fa8091c23637c (diff) |
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).
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/alpha/Makefile | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/arm/Makefile | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/Makefile | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/cris/Makefile | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/e1/Makefile | 6 | ||||
-rw-r--r-- | libc/sysdeps/linux/h8300/Makefile | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/i386/Makefile | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/i960/Makefile | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/m68k/Makefile | 6 | ||||
-rw-r--r-- | libc/sysdeps/linux/microblaze/Makefile | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/mips/Makefile | 6 | ||||
-rw-r--r-- | libc/sysdeps/linux/powerpc/Makefile | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/sh/Makefile | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/sh64/Makefile | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/sparc/Makefile | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/v850/Makefile | 4 |
16 files changed, 33 insertions, 33 deletions
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 |