Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-02-13 11:11:01 +0300
committerMike Frysinger <vapier@gentoo.org>2022-03-17 04:18:25 +0300
commit96bc16f6b27e9183c293c1a77351ec71f71bc32f (patch)
tree3c309c821d4849fe69b875daec12d548f62aeb6a /newlib/doc
parented32020682d49eb51c4a4f3563d46390f11158dc (diff)
newlib: libc: merge build up a directory
Convert all the libc/ subdir makes into the top-level Makefile. This allows us to build all of libc from the top Makefile without using any recursive make calls. This is faster and avoids the funky lib.a logic where we unpack subdir archives to repack into a single libc.a. The machine override logic is maintained though by way of Makefile include ordering, and source file accumulation in libc_a_SOURCES. There's a few dummy.c files that are no longer necessary since we aren't doing the lib.a accumulating, so punt them. The winsup code has been pulling the internal newlib ssp library out, but that doesn't exist anymore, so change that to pull the objects.
Diffstat (limited to 'newlib/doc')
-rw-r--r--newlib/doc/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/doc/Makefile.inc b/newlib/doc/Makefile.inc
index de1dd1f2b..630681c88 100644
--- a/newlib/doc/Makefile.inc
+++ b/newlib/doc/Makefile.inc
@@ -28,6 +28,7 @@ SUFFIXES += .def
CHEW = $(MKDOC) -f $(srcdir)/%D%/doc.str
.c.def:
+ $(AM_V_at)$(MKDIR_P) $(@D)
$(AM_V_GEN)$(CHEW) < $< > $*.def || ( rm $*.def && false )
SUFFIXES += .xml
@@ -35,6 +36,7 @@ SUFFIXES += .xml
DOCBOOK_CHEW = ${top_srcdir}/%D%/makedocbook.py
.c.xml:
+ $(AM_V_at)$(MKDIR_P) $(@D)
$(AM_V_GEN)$(DOCBOOK_CHEW) < $< > $*.xml || ( rm $*.xml && false )
# We can't use .tex.xml rule here as it'll conflict with .c.xml when the chapter