From b3f5e468f2c257dac3121984c096ade30e3adf30 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 7 Jan 2002 09:58:54 +0000 Subject: Mahe 'make clean' remove generated bits/syscall.h, as noted by "Kim B. Heino" -Erik --- libc/sysdeps/linux/arm/Makefile | 1 + libc/sysdeps/linux/m68k/Makefile | 1 + libc/sysdeps/linux/mips/Makefile | 1 + libc/sysdeps/linux/sh/Makefile | 1 + libc/sysdeps/linux/sparc/Makefile | 3 ++- libc/sysdeps/linux/v850/Makefile | 2 ++ 6 files changed, 8 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux') diff --git a/libc/sysdeps/linux/arm/Makefile b/libc/sysdeps/linux/arm/Makefile index 0ecfe496e..539e4d692 100644 --- a/libc/sysdeps/linux/arm/Makefile +++ b/libc/sysdeps/linux/arm/Makefile @@ -64,4 +64,5 @@ headers: clean: rm -f *.[oa] *~ core + rm -f bits/syscall.h diff --git a/libc/sysdeps/linux/m68k/Makefile b/libc/sysdeps/linux/m68k/Makefile index 701f339dd..f9f90ee44 100644 --- a/libc/sysdeps/linux/m68k/Makefile +++ b/libc/sysdeps/linux/m68k/Makefile @@ -81,6 +81,7 @@ endif clean: rm -f *.[oa] *~ core + rm -f bits/syscall.h ifeq ($(strip $(HAVE_ELF)),false) rm -f $(TOPDIR)/include/float.h endif diff --git a/libc/sysdeps/linux/mips/Makefile b/libc/sysdeps/linux/mips/Makefile index 2d881d774..3b7e5da63 100644 --- a/libc/sysdeps/linux/mips/Makefile +++ b/libc/sysdeps/linux/mips/Makefile @@ -78,4 +78,5 @@ headers: clean: rm -f *.[oa] *~ core + rm -f bits/syscall.h diff --git a/libc/sysdeps/linux/sh/Makefile b/libc/sysdeps/linux/sh/Makefile index 70f3ccacd..72909c989 100644 --- a/libc/sysdeps/linux/sh/Makefile +++ b/libc/sysdeps/linux/sh/Makefile @@ -66,4 +66,5 @@ headers: clean: rm -f *.[oa] *~ core + rm -f bits/syscall.h diff --git a/libc/sysdeps/linux/sparc/Makefile b/libc/sysdeps/linux/sparc/Makefile index 430324dae..9e9ffb66d 100644 --- a/libc/sysdeps/linux/sparc/Makefile +++ b/libc/sysdeps/linux/sparc/Makefile @@ -59,8 +59,9 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o headers: - # no arch-specific headers + @(TOPDIR=$(TOPDIR) CC=$(CC) /bin/sh $(TOPDIR)/extra/scripts/gen_bits_syscall_h.sh > bits/syscall.h ) clean: rm -f *.[oa] *~ core + rm -f bits/syscall.h diff --git a/libc/sysdeps/linux/v850/Makefile b/libc/sysdeps/linux/v850/Makefile index e571ddad2..5d367ad39 100644 --- a/libc/sysdeps/linux/v850/Makefile +++ b/libc/sysdeps/linux/v850/Makefile @@ -67,3 +67,5 @@ headers: clean: rm -f *.[oa] *~ core + rm -f bits/syscall.h + -- cgit v1.2.3