mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 14:30:06 +00:00
($(objpfx)version-info.h): Don't use multi-line string.
This commit is contained in:
parent
772d0e1a4f
commit
0f9cc699c9
18
csu/Makefile
18
csu/Makefile
@ -1,6 +1,6 @@
|
|||||||
# Makefile for csu code for GNU C library.
|
# Makefile for csu code for GNU C library.
|
||||||
|
|
||||||
# Copyright (C) 1995,1996,1997,1998,1999,2000 Free Software Foundation, Inc.
|
# Copyright (C) 1995,1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc.
|
||||||
# This file is part of the GNU C Library.
|
# This file is part of the GNU C Library.
|
||||||
|
|
||||||
# The GNU C Library is free software; you can redistribute it and/or
|
# The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
# The GNU C Library is distributed in the hope that it will be useful,
|
# The GNU C Library is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
# Library General Public License for more details.
|
# Library General Public License for more details.
|
||||||
|
|
||||||
# You should have received a copy of the GNU Library General Public
|
# You should have received a copy of the GNU Library General Public
|
||||||
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
# This directory contains the C startup code (that which calls main). This
|
# This directory contains the C startup code (that which calls main). This
|
||||||
# consists of the startfile, built from start.c and installed as crt0.o
|
# consists of the startfile, built from start.c and installed as crt0.o
|
||||||
# (traditionally) or crt1.o (for ELF). In ELF we also install crti.o and
|
# (traditionally) or crt1.o (for ELF). In ELF we also install crti.o and
|
||||||
# crtn.o, special "initializer" and "finalizer" files used in the link
|
# crtn.o, special "initializer" and "finalizer" files used in the link
|
||||||
# to make the .init and .fini sections work right; both these files are
|
# to make the .init and .fini sections work right; both these files are
|
||||||
# built (in an arcane manner) from initfini.c.
|
# built (in an arcane manner) from initfini.c.
|
||||||
@ -94,7 +94,7 @@ $(objpfx)initfini.s: initfini.c
|
|||||||
$(compile.c) -S $(CFLAGS-initfini.s) -finhibit-size-directive \
|
$(compile.c) -S $(CFLAGS-initfini.s) -finhibit-size-directive \
|
||||||
$(patsubst -f%,-fno-%,$(exceptions)) -o $@
|
$(patsubst -f%,-fno-%,$(exceptions)) -o $@
|
||||||
|
|
||||||
# We only have one kind of startup code files. Static binaries and
|
# We only have one kind of startup code files. Static binaries and
|
||||||
# shared libraries are build using the PIC version.
|
# shared libraries are build using the PIC version.
|
||||||
$(objpfx)crti.S: $(objpfx)initfini.s
|
$(objpfx)crti.S: $(objpfx)initfini.s
|
||||||
sed -n -e '1,/@HEADER_ENDS/p' \
|
sed -n -e '1,/@HEADER_ENDS/p' \
|
||||||
@ -167,7 +167,7 @@ $(addprefix $(objpfx),$(filter-out $(start-installed-name),$(csu-dummies))):
|
|||||||
$(objpfx)abi-tag.h: $(..)abi-tags
|
$(objpfx)abi-tag.h: $(..)abi-tags
|
||||||
$(make-target-directory)
|
$(make-target-directory)
|
||||||
rm -f $@.new
|
rm -f $@.new
|
||||||
sed -e 's/#.*$$//' -e '/^[ ]*$$/d' $< | \
|
sed -e 's/#.*$$//' -e '/^[ ]*$$/d' $< | \
|
||||||
while read conf tag; do \
|
while read conf tag; do \
|
||||||
test `expr '$(config-machine)-$(config-vendor)-$(config-os)' \
|
test `expr '$(config-machine)-$(config-vendor)-$(config-os)' \
|
||||||
: "$$conf"` != 0 || continue; \
|
: "$$conf"` != 0 || continue; \
|
||||||
@ -199,13 +199,13 @@ $(objpfx)version-info.h: $(common-objpfx)config.make $(all-Banner-files)
|
|||||||
os=Linux; \
|
os=Linux; \
|
||||||
fi; \
|
fi; \
|
||||||
echo "\"Compiled on a $$os $$version system" \
|
echo "\"Compiled on a $$os $$version system" \
|
||||||
"on `date +%Y-%m-%d`.\\n\"" ;; \
|
"on `date +%Y-%m-%d`.\\n\"" ;; \
|
||||||
*) ;; \
|
*) ;; \
|
||||||
esac; \
|
esac; \
|
||||||
files="$(all-Banner-files)"; \
|
files="$(all-Banner-files)"; \
|
||||||
if test -n "$$files"; then \
|
if test -n "$$files"; then \
|
||||||
echo "\"Available extensions:"; \
|
echo "\"Available extensions:\\n\""; \
|
||||||
sed -e '/^#/d' -e 's/^[[:space:]]*/ /' $$files; \
|
sed -e '/^#/d' -e 's/^[[:space:]]*/ /' \
|
||||||
echo "\""; \
|
-e 's/\(^.*$$\)/\"\1\\n\"/' $$files; \
|
||||||
fi) > $@T
|
fi) > $@T
|
||||||
mv -f $@T $@
|
mv -f $@T $@
|
||||||
|
Loading…
Reference in New Issue
Block a user