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/complex | |
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/complex')
-rw-r--r-- | newlib/libm/complex/Makefile.am | 12 | ||||
-rw-r--r-- | newlib/libm/complex/Makefile.in | 18 | ||||
-rw-r--r-- | newlib/libm/complex/Makefile.inc | 8 |
3 files changed, 22 insertions, 16 deletions
diff --git a/newlib/libm/complex/Makefile.am b/newlib/libm/complex/Makefile.am index 73fa19045..0f27fff19 100644 --- a/newlib/libm/complex/Makefile.am +++ b/newlib/libm/complex/Makefile.am @@ -35,13 +35,11 @@ endif # USE_LIBTOOL include $(srcdir)/../../Makefile.shared -CHEWOUT_FILES = cabs.def cacos.def cacosh.def carg.def \ - casin.def casinh.def catan.def catanh.def \ - ccos.def ccosh.def cexp.def cimag.def clog.def \ - clog10.def conj.def cpow.def cproj.def creal.def \ - csin.def csinh.def csqrt.def ctan.def ctanh.def - -CHAPTERS = complex.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/complex/Makefile.in b/newlib/libm/complex/Makefile.in index d95d364f2..4c4c84ebb 100644 --- a/newlib/libm/complex/Makefile.in +++ b/newlib/libm/complex/Makefile.in @@ -408,18 +408,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) -CHEWOUT_FILES = cabs.def cacos.def cacosh.def carg.def \ - casin.def casinh.def catan.def catanh.def \ - ccos.def ccosh.def cexp.def cimag.def clog.def \ - clog10.def conj.def cpow.def cproj.def creal.def \ - csin.def csinh.def csqrt.def ctan.def ctanh.def - -CHAPTERS = complex.tex +LIBM_CHEWOUT_FILES = cabs.def cacos.def cacosh.def carg.def casin.def \ + casinh.def catan.def catanh.def ccos.def ccosh.def cexp.def \ + cimag.def clog.def clog10.def conj.def cpow.def cproj.def \ + creal.def csin.def csinh.def csqrt.def ctan.def ctanh.def +LIBM_CHAPTERS = complex.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*) \ @@ -439,7 +439,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/complex/Makefile.inc b/newlib/libm/complex/Makefile.inc new file mode 100644 index 000000000..94288082e --- /dev/null +++ b/newlib/libm/complex/Makefile.inc @@ -0,0 +1,8 @@ +LIBM_CHEWOUT_FILES += \ + %D%/cabs.def %D%/cacos.def %D%/cacosh.def %D%/carg.def \ + %D%/casin.def %D%/casinh.def %D%/catan.def %D%/catanh.def \ + %D%/ccos.def %D%/ccosh.def %D%/cexp.def %D%/cimag.def %D%/clog.def \ + %D%/clog10.def %D%/conj.def %D%/cpow.def %D%/cproj.def %D%/creal.def \ + %D%/csin.def %D%/csinh.def %D%/csqrt.def %D%/ctan.def %D%/ctanh.def + +LIBM_CHAPTERS += %D%/complex.tex |