diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-01-21 21:50:20 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-02-04 23:57:12 -0500 |
commit | fc2b4ffee0ec7697a02ae7185f1acb7927f2f115 (patch) | |
tree | ffeef100a30966fce8e55fb3b82fa1db41f0c852 /newlib/libc/stdio64 | |
parent | 44f6310bf93748ca1d55abcb9a2c82a432643256 (diff) | |
download | newlib-fc2b4ffee0ec7697a02ae7185f1acb7927f2f115.zip newlib-fc2b4ffee0ec7697a02ae7185f1acb7927f2f115.tar.gz newlib-fc2b4ffee0ec7697a02ae7185f1acb7927f2f115.tar.bz2 |
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/stdio64')
-rw-r--r-- | newlib/libc/stdio64/Makefile.am | 18 | ||||
-rw-r--r-- | newlib/libc/stdio64/Makefile.in | 21 | ||||
-rw-r--r-- | newlib/libc/stdio64/Makefile.inc | 11 |
3 files changed, 25 insertions, 25 deletions
diff --git a/newlib/libc/stdio64/Makefile.am b/newlib/libc/stdio64/Makefile.am index 074107e..56ddbe3 100644 --- a/newlib/libc/stdio64/Makefile.am +++ b/newlib/libc/stdio64/Makefile.am @@ -38,16 +38,10 @@ endif # USE_LIBTOOL include $(srcdir)/../../Makefile.shared -AM_CFLAGS = -I $(srcdir)/../stdio +LIBC_CHEWOUT_FILES = +LIBC_CHAPTERS = +include ./Makefile.inc +CHEWOUT_FILES = $(LIBC_CHEWOUT_FILES) +CHAPTERS = $(LIBC_CHAPTERS) -CHEWOUT_FILES = \ - fdopen64.def \ - fgetpos64.def \ - fopen64.def \ - freopen64.def \ - fseeko64.def \ - fsetpos64.def \ - ftello64.def \ - tmpfile64.def - -CHAPTERS = stdio64.tex +AM_CFLAGS = -I $(srcdir)/../stdio diff --git a/newlib/libc/stdio64/Makefile.in b/newlib/libc/stdio64/Makefile.in index 68c18c3..31bd0f2 100644 --- a/newlib/libc/stdio64/Makefile.in +++ b/newlib/libc/stdio64/Makefile.in @@ -387,23 +387,18 @@ 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) -AM_CFLAGS = -I $(srcdir)/../stdio -CHEWOUT_FILES = \ - fdopen64.def \ - fgetpos64.def \ - fopen64.def \ - freopen64.def \ - fseeko64.def \ - fsetpos64.def \ - ftello64.def \ +LIBC_CHEWOUT_FILES = fdopen64.def fgetpos64.def fopen64.def \ + freopen64.def fseeko64.def fsetpos64.def ftello64.def \ tmpfile64.def - -CHAPTERS = stdio64.tex +LIBC_CHAPTERS = stdio64.tex +CHEWOUT_FILES = $(LIBC_CHEWOUT_FILES) +CHAPTERS = $(LIBC_CHAPTERS) +AM_CFLAGS = -I $(srcdir)/../stdio 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*) \ @@ -423,7 +418,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/stdio64/Makefile.inc b/newlib/libc/stdio64/Makefile.inc new file mode 100644 index 0000000..bfe2527 --- /dev/null +++ b/newlib/libc/stdio64/Makefile.inc @@ -0,0 +1,11 @@ +LIBC_CHEWOUT_FILES += \ + %D%/fdopen64.def \ + %D%/fgetpos64.def \ + %D%/fopen64.def \ + %D%/freopen64.def \ + %D%/fseeko64.def \ + %D%/fsetpos64.def \ + %D%/ftello64.def \ + %D%/tmpfile64.def + +LIBC_CHAPTERS += %D%/stdio64.tex |