aboutsummaryrefslogtreecommitdiff
path: root/newlib/libm/math
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-01-21 22:50:42 -0500
committerMike Frysinger <vapier@gentoo.org>2022-02-05 00:17:54 -0500
commit6026ef29d8c847716a745bb6e11aa1d2c36a2b64 (patch)
tree40480f5dca7020ed9a6aaa762e4faede55b1cf8d /newlib/libm/math
parentfc2b4ffee0ec7697a02ae7185f1acb7927f2f115 (diff)
downloadnewlib-6026ef29d8c847716a745bb6e11aa1d2c36a2b64.zip
newlib-6026ef29d8c847716a745bb6e11aa1d2c36a2b64.tar.gz
newlib-6026ef29d8c847716a745bb6e11aa1d2c36a2b64.tar.bz2
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/libm/math')
-rw-r--r--newlib/libm/math/Makefile.am6
-rw-r--r--newlib/libm/math/Makefile.in13
2 files changed, 2 insertions, 17 deletions
diff --git a/newlib/libm/math/Makefile.am b/newlib/libm/math/Makefile.am
index 3d23a46..3402090 100644
--- a/newlib/libm/math/Makefile.am
+++ b/newlib/libm/math/Makefile.am
@@ -66,12 +66,6 @@ endif # USE_LIBTOOL
include $(srcdir)/../../Makefile.shared
-LIBM_CHEWOUT_FILES =
-LIBM_CHAPTERS =
-include ./Makefile.inc
-CHEWOUT_FILES = $(LIBM_CHEWOUT_FILES)
-CHAPTERS = $(LIBM_CHAPTERS)
-
# A partial dependency list.
$(lib_a_OBJECTS): $(srcdir)/../../libc/include/math.h $(srcdir)/../common/fdlibm.h
diff --git a/newlib/libm/math/Makefile.in b/newlib/libm/math/Makefile.in
index f0246e0..0d906b8 100644
--- a/newlib/libm/math/Makefile.in
+++ b/newlib/libm/math/Makefile.in
@@ -484,20 +484,11 @@ 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)
-LIBM_CHEWOUT_FILES = w_acos.def w_acosh.def w_asin.def s_asinh.def \
- s_atan.def w_atan2.def w_atanh.def w_j0.def w_cosh.def \
- s_erf.def w_exp.def w_exp2.def s_fabs.def s_floor.def \
- w_fmod.def s_frexp.def w_gamma.def w_hypot.def s_ldexp.def \
- w_log.def w_log10.def w_pow.def w_remainder.def s_sin.def \
- w_sinh.def w_sqrt.def s_tan.def s_tanh.def
-LIBM_CHAPTERS = math.tex
-CHEWOUT_FILES = $(LIBM_CHEWOUT_FILES)
-CHAPTERS = $(LIBM_CHAPTERS)
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*) \
@@ -517,7 +508,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