mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-17 13:00:43 +08:00
Remove the unused +mkdep/+make-deps/s-proto.S/s-proto-cancel.S
Since
commit d73f5331ce
Author: Roland McGrath <roland@gnu.org>
Date: Fri May 2 02:20:45 2003 +0000
2003-05-01 Roland McGrath <roland@redhat.com>
dependency is generated by passing -MD -MF to compiler. Remove the unused
+mkdep, +make-deps, s-proto.S and s-proto-cancel.S.
This fixes BZ #28554.
This commit is contained in:
parent
824dd3ec49
commit
0bd356df1a
@ -873,13 +873,6 @@ define elide-stack-protector
|
|||||||
$(if $(filter $(@F),$(patsubst %,%$(1),$(2))), $(no-stack-protector))
|
$(if $(filter $(@F),$(patsubst %,%$(1),$(2))), $(no-stack-protector))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# This is the program that generates makefile dependencies from C source files.
|
|
||||||
# The -MP flag tells GCC >= 3.2 (which we now require) to produce dummy
|
|
||||||
# targets for headers so that removed headers don't break the build.
|
|
||||||
ifndef +mkdep
|
|
||||||
+mkdep = $(CC) -M -MP
|
|
||||||
endif
|
|
||||||
|
|
||||||
# The program that makes Emacs-style TAGS files.
|
# The program that makes Emacs-style TAGS files.
|
||||||
ETAGS := etags
|
ETAGS := etags
|
||||||
|
|
||||||
|
@ -459,15 +459,6 @@ compile-stdin.c = $(COMPILE.c) -o $@ -x c - $(compile-mkdep-flags)
|
|||||||
# get the wrong predefines.
|
# get the wrong predefines.
|
||||||
S-CPPFLAGS = -DASSEMBLER $(asm-CPPFLAGS)
|
S-CPPFLAGS = -DASSEMBLER $(asm-CPPFLAGS)
|
||||||
|
|
||||||
define +make-deps
|
|
||||||
$(make-target-directory)
|
|
||||||
$(+mkdep) $< $(if $(filter %.c,$<),$(CFLAGS)) \
|
|
||||||
$(CPPFLAGS) $($(patsubst .%,%,$(suffix $(<F)))-CPPFLAGS) | sed -e\
|
|
||||||
's,$(subst .,\.,$(@F:.d=.o)),$(foreach o,$(all-object-suffixes),$(@:.d=$o)) $@,' \
|
|
||||||
$(sed-remove-objpfx) $(sed-remove-dotdot) > $(@:.d=.T)
|
|
||||||
mv -f $(@:.d=.T) $@
|
|
||||||
endef
|
|
||||||
|
|
||||||
ifneq (,$(objpfx))
|
ifneq (,$(objpfx))
|
||||||
# Continuation lines here are dangerous because they introduce spaces!
|
# Continuation lines here are dangerous because they introduce spaces!
|
||||||
define sed-remove-objpfx
|
define sed-remove-objpfx
|
||||||
|
@ -104,10 +104,6 @@ $(common-objpfx)sysd-syscalls: $(..)sysdeps/unix/make-syscalls.sh \
|
|||||||
mv -f $@T $@
|
mv -f $@T $@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(common-objpfx)s-%.d: $(..)sysdeps/unix/s-%.S \
|
|
||||||
$(wildcard $(+sysdep_dirs:%=%/syscalls.list))
|
|
||||||
$(+make-deps)
|
|
||||||
|
|
||||||
postclean-generated += sysd-syscalls
|
postclean-generated += sysd-syscalls
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
/* This file exists just to have its dependencies determined.
|
|
||||||
Those dependencies are then used for the objects of the cancellable
|
|
||||||
system calls. */
|
|
||||||
|
|
||||||
#include <sysdep-cancel.h>
|
|
@ -1,4 +0,0 @@
|
|||||||
/* This file exists just to have its dependencies determined.
|
|
||||||
Those dependencies are then used for the simple system call objects. */
|
|
||||||
|
|
||||||
#include <sysdep.h>
|
|
Loading…
Reference in New Issue
Block a user