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 05:50:20 +0300
committerMike Frysinger <vapier@gentoo.org>2022-02-05 07:57:12 +0300
commitfc2b4ffee0ec7697a02ae7185f1acb7927f2f115 (patch)
treeffeef100a30966fce8e55fb3b82fa1db41f0c852 /newlib/libc/reent
parent44f6310bf93748ca1d55abcb9a2c82a432643256 (diff)
newlib: libc: move manual into top-level build
This doesn't migrate all the docs, just the libc's manual (pdf/info). This is to show the basic form of migrating the chew files. For subdirs that didn't have any docs, I've stripped their settings for clarity. If someone wanted to suddenly add docs, they can add the corresponding Makefile.inc files easily.
Diffstat (limited to 'newlib/libc/reent')
-rw-r--r--newlib/libc/reent/Makefile.am30
-rw-r--r--newlib/libc/reent/Makefile.in37
-rw-r--r--newlib/libc/reent/Makefile.inc25
3 files changed, 40 insertions, 52 deletions
diff --git a/newlib/libc/reent/Makefile.am b/newlib/libc/reent/Makefile.am
index 622a74c82..dad7efdbe 100644
--- a/newlib/libc/reent/Makefile.am
+++ b/newlib/libc/reent/Makefile.am
@@ -61,30 +61,10 @@ endif # USE_LIBTOOL
include $(srcdir)/../../Makefile.shared
-CHEWOUT_FILES = \
- closer.def \
- reent.def \
- execr.def \
- fcntlr.def \
- fstat64r.def \
- fstatr.def \
- gettimeofdayr.def \
- linkr.def \
- lseek64r.def \
- lseekr.def \
- mkdirr.def \
- open64r.def \
- openr.def \
- readr.def \
- renamer.def \
- signalr.def \
- sbrkr.def \
- stat64r.def \
- statr.def \
- timesr.def \
- unlinkr.def \
- writer.def
-
-CHAPTERS = reent.tex
+LIBC_CHEWOUT_FILES =
+LIBC_CHAPTERS =
+include ./Makefile.inc
+CHEWOUT_FILES = $(LIBC_CHEWOUT_FILES)
+CHAPTERS = $(LIBC_CHAPTERS)
$(lpfx)impure.$(oext): $(srcdir)/impure.c $(srcdir)/../include/sys/reent.h
diff --git a/newlib/libc/reent/Makefile.in b/newlib/libc/reent/Makefile.in
index 7307192e4..5317ea169 100644
--- a/newlib/libc/reent/Makefile.in
+++ b/newlib/libc/reent/Makefile.in
@@ -424,36 +424,19 @@ 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)
-CHEWOUT_FILES = \
- closer.def \
- reent.def \
- execr.def \
- fcntlr.def \
- fstat64r.def \
- fstatr.def \
- gettimeofdayr.def \
- linkr.def \
- lseek64r.def \
- lseekr.def \
- mkdirr.def \
- open64r.def \
- openr.def \
- readr.def \
- renamer.def \
- signalr.def \
- sbrkr.def \
- stat64r.def \
- statr.def \
- timesr.def \
- unlinkr.def \
- writer.def
-
-CHAPTERS = reent.tex
+LIBC_CHEWOUT_FILES = closer.def reent.def execr.def fcntlr.def \
+ fstatr.def gettimeofdayr.def linkr.def lseekr.def mkdirr.def \
+ openr.def readr.def renamer.def signalr.def sbrkr.def \
+ statr.def timesr.def unlinkr.def fstat64r.def lseek64r.def \
+ stat64r.def open64r.def writer.def
+LIBC_CHAPTERS = reent.tex
+CHEWOUT_FILES = $(LIBC_CHEWOUT_FILES)
+CHAPTERS = $(LIBC_CHAPTERS)
all: all-am
.SUFFIXES:
.SUFFIXES: .def .xml .c .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../../Makefile.shared $(am__configure_deps)
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../../Makefile.shared $(srcdir)/./Makefile.inc $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
@@ -473,7 +456,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 $(am__empty):
+$(srcdir)/../../Makefile.shared $(srcdir)/./Makefile.inc $(am__empty):
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
diff --git a/newlib/libc/reent/Makefile.inc b/newlib/libc/reent/Makefile.inc
new file mode 100644
index 000000000..975a8d82a
--- /dev/null
+++ b/newlib/libc/reent/Makefile.inc
@@ -0,0 +1,25 @@
+LIBC_CHEWOUT_FILES += \
+ %D%/closer.def \
+ %D%/reent.def \
+ %D%/execr.def \
+ %D%/fcntlr.def \
+ %D%/fstatr.def \
+ %D%/gettimeofdayr.def \
+ %D%/linkr.def \
+ %D%/lseekr.def \
+ %D%/mkdirr.def \
+ %D%/openr.def \
+ %D%/readr.def \
+ %D%/renamer.def \
+ %D%/signalr.def \
+ %D%/sbrkr.def \
+ %D%/statr.def \
+ %D%/timesr.def \
+ %D%/unlinkr.def \
+ %D%/fstat64r.def \
+ %D%/lseek64r.def \
+ %D%/stat64r.def \
+ %D%/open64r.def \
+ %D%/writer.def
+
+LIBC_CHAPTERS += %D%/reent.tex