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-01-22 06:50:42 +0300
committerMike Frysinger <vapier@gentoo.org>2022-02-05 08:17:54 +0300
commit6026ef29d8c847716a745bb6e11aa1d2c36a2b64 (patch)
tree40480f5dca7020ed9a6aaa762e4faede55b1cf8d /newlib/libc/stdlib
parentfc2b4ffee0ec7697a02ae7185f1acb7927f2f115 (diff)
newlib: move man page generation into top-level build
This allows building the libc & libm pages in parallel, and drops the duplication in the subdirs with the chew/chapter settings. The unused rules in Makefile.shared are left in place to minimize noise in the change.
Diffstat (limited to 'newlib/libc/stdlib')
-rw-r--r--newlib/libc/stdlib/Makefile.am6
-rw-r--r--newlib/libc/stdlib/Makefile.in17
2 files changed, 2 insertions, 21 deletions
diff --git a/newlib/libc/stdlib/Makefile.am b/newlib/libc/stdlib/Makefile.am
index b88aee40b..75fb52f50 100644
--- a/newlib/libc/stdlib/Makefile.am
+++ b/newlib/libc/stdlib/Makefile.am
@@ -222,12 +222,6 @@ endif # USE_LIBTOOL
include $(srcdir)/../../Makefile.shared
-LIBC_CHEWOUT_FILES =
-LIBC_CHAPTERS =
-include ./Makefile.inc
-CHEWOUT_FILES = $(LIBC_CHEWOUT_FILES)
-CHAPTERS = $(LIBC_CHAPTERS)
-
MALLOC_COMPILE = $(LIB_COMPILE) -DINTERNAL_NEWLIB
$(lpfx)$(MALLOCR).$(oext): $(MALLOCR).c
diff --git a/newlib/libc/stdlib/Makefile.in b/newlib/libc/stdlib/Makefile.in
index e3bb0d061..50f909565 100644
--- a/newlib/libc/stdlib/Makefile.in
+++ b/newlib/libc/stdlib/Makefile.in
@@ -597,25 +597,12 @@ DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py
DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml)
DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml)
CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES)
-LIBC_CHEWOUT_FILES = _Exit.def a64l.def abort.def abs.def assert.def \
- atexit.def atof.def atoi.def atoll.def calloc.def div.def \
- ecvtbuf.def efgcvt.def envlock.def exit.def getenv.def \
- itoa.def labs.def ldiv.def llabs.def lldiv.def malloc.def \
- mblen.def mbsnrtowcs.def mbstowcs.def mbtowc.def mlock.def \
- mstats.def on_exit.def rand.def rand48.def random.def \
- rpmatch.def strtod.def strtol.def strtoll.def strtoul.def \
- strtoull.def utoa.def wcsnrtombs.def wcstod.def wcstol.def \
- wcstoll.def wcstoul.def wcstoull.def system.def wcstombs.def \
- wctomb.def
-LIBC_CHAPTERS = stdlib.tex
-CHEWOUT_FILES = $(LIBC_CHEWOUT_FILES)
-CHAPTERS = $(LIBC_CHAPTERS)
MALLOC_COMPILE = $(LIB_COMPILE) -DINTERNAL_NEWLIB
all: all-am
.SUFFIXES:
.SUFFIXES: .def .xml .c .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../../Makefile.shared $(srcdir)/./Makefile.inc $(am__configure_deps)
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../../Makefile.shared $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
@@ -635,7 +622,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
-$(srcdir)/../../Makefile.shared $(srcdir)/./Makefile.inc $(am__empty):
+$(srcdir)/../../Makefile.shared $(am__empty):
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh