summaryrefslogtreecommitdiffstats
path: root/newlib/libc/xdr/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/xdr/Makefile.in')
-rw-r--r--newlib/libc/xdr/Makefile.in25
1 files changed, 18 insertions, 7 deletions
diff --git a/newlib/libc/xdr/Makefile.in b/newlib/libc/xdr/Makefile.in
index 975b4ac39..7170762bb 100644
--- a/newlib/libc/xdr/Makefile.in
+++ b/newlib/libc/xdr/Makefile.in
@@ -295,10 +295,14 @@ libxdr_la_LDFLAGS = -Xcompiler -nostdlib
@USE_LIBTOOL_FALSE@noinst_LIBRARIES = lib.a
@USE_LIBTOOL_FALSE@lib_a_SOURCES = dummy.c $(ELIX_SOURCES)
@USE_LIBTOOL_FALSE@lib_a_CFLAGS = $(AM_CFLAGS)
-SUFFIXES = .def
CHEWOUT_FILES =
-CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
-TARGETDOC = ../tmp.texi
+CHAPTERS =
+
+#
+# documentation rules
+#
+SUFFIXES = .def
+CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str
CLEANFILES = $(CHEWOUT_FILES) *.ref
all: all-am
@@ -606,18 +610,25 @@ uninstall-am:
mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
uninstall-am
+objectlist.awk.in: $(noinst_LTLIBRARIES)
+ -rm -f objectlist.awk.in
+ for i in `ls *.lo` ; \
+ do \
+ echo $$i `pwd`/$$i >> objectlist.awk.in ; \
+ done
.c.def:
$(CHEW) < $< > $*.def 2> $*.ref
touch stmp-def
+TARGETDOC ?= ../tmp.texi
+
doc: $(CHEWOUT_FILES)
-objectlist.awk.in: $(noinst_LTLIBRARIES)
- -rm -f objectlist.awk.in
- for i in `ls *.lo` ; \
+ for chapter in $(CHAPTERS) ; \
do \
- echo $$i `pwd`/$$i >> objectlist.awk.in ; \
+ cat $(srcdir)/$$chapter >> $(TARGETDOC) ; \
done
+# No doc for xdr.
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.