diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-01-21 10:12:26 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-02-05 03:39:05 +0300 |
commit | 3365bd2f7a8926457e13699c827a59b0c547bbd2 (patch) | |
tree | e3459a92f81ccfc914d22def41c4f41c96a62ff5 /newlib/libm/math | |
parent | 67c600b99545390c9ebaf96a84f47c3614e492ce (diff) |
newlib: libm: move manual into top-level build
This doesn't migrate all the docs, just the libm's manual (pdf/info).
This is to show the basic form of migrating the chew files.
Diffstat (limited to 'newlib/libm/math')
-rw-r--r-- | newlib/libm/math/Makefile.am | 15 | ||||
-rw-r--r-- | newlib/libm/math/Makefile.in | 23 | ||||
-rw-r--r-- | newlib/libm/math/Makefile.inc | 11 |
3 files changed, 27 insertions, 22 deletions
diff --git a/newlib/libm/math/Makefile.am b/newlib/libm/math/Makefile.am index 5529c358a..3d23a46a1 100644 --- a/newlib/libm/math/Makefile.am +++ b/newlib/libm/math/Makefile.am @@ -66,16 +66,11 @@ endif # USE_LIBTOOL include $(srcdir)/../../Makefile.shared -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 - -CHAPTERS = math.tex +LIBM_CHEWOUT_FILES = +LIBM_CHAPTERS = +include ./Makefile.inc +CHEWOUT_FILES = $(LIBM_CHEWOUT_FILES) +CHAPTERS = $(LIBM_CHAPTERS) # A partial dependency list. diff --git a/newlib/libm/math/Makefile.in b/newlib/libm/math/Makefile.in index 03a9bfd71..f0246e0e7 100644 --- a/newlib/libm/math/Makefile.in +++ b/newlib/libm/math/Makefile.in @@ -484,21 +484,20 @@ 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 = 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 - -CHAPTERS = math.tex +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 $(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*) \ @@ -518,7 +517,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/libm/math/Makefile.inc b/newlib/libm/math/Makefile.inc new file mode 100644 index 000000000..bc3205e0b --- /dev/null +++ b/newlib/libm/math/Makefile.inc @@ -0,0 +1,11 @@ +LIBM_CHEWOUT_FILES += \ + %D%/w_acos.def %D%/w_acosh.def %D%/w_asin.def %D%/s_asinh.def \ + %D%/s_atan.def %D%/w_atan2.def %D%/w_atanh.def %D%/w_j0.def \ + %D%/w_cosh.def %D%/s_erf.def %D%/w_exp.def %D%/w_exp2.def \ + %D%/s_fabs.def %D%/s_floor.def %D%/w_fmod.def %D%/s_frexp.def \ + %D%/w_gamma.def %D%/w_hypot.def %D%/s_ldexp.def %D%/w_log.def \ + %D%/w_log10.def \ + %D%/w_pow.def %D%/w_remainder.def %D%/s_sin.def %D%/w_sinh.def \ + %D%/w_sqrt.def %D%/s_tan.def %D%/s_tanh.def + +LIBM_CHAPTERS += %D%/math.tex |