Make-lang.in: Various changes to build info files in the object tree rather than...
authorJeffrey A Law <law@cygnus.com>
Mon, 15 Sep 1997 03:02:41 +0000 (03:02 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 15 Sep 1997 03:02:41 +0000 (21:02 -0600)
        * Make-lang.in: Various changes to build info files
        in the object tree rather than the source tree.

        * proj.h: Include ctype.h.

From-SVN: r15447

gcc/f/ChangeLog.egcs
gcc/f/Make-lang.in
gcc/f/proj.h

index 9da564da134f3516af3ac7ef33ebdad8eb9b122c..98eccbe3ecf0d77a1a4458691bc4f6134c7bb192 100644 (file)
@@ -1,3 +1,10 @@
+Sun Sep 14 21:01:23 1997  Jeffrey A Law  (law@cygnus.com)
+
+        * Make-lang.in: Various changes to build info files
+        in the object tree rather than the source tree.
+
+       * proj.h: Include ctype.h.
+
 Sun Sep 14 12:35:20 1997  Fred Fish (fnf@ninemoons.com)
 
        * proj.h (isascii): Provide a default definition if none is available.
index 942729b3cbb3aa928834bbce8f200d0587c5d7b8..32cb4002fd776b3a8bb6929d0b2025f59b884fc6 100644 (file)
@@ -325,15 +325,19 @@ f77.all.cross: g77-cross maybe-f2c f77-runtime
 f77.start.encap: g77 maybe-f2c
 f77.rest.encap: f77-runtime
 
-f77.info: $(srcdir)/f/g77.info
-f77.dvi: $(srcdir)/f/g77.dvi
+f77.info: f/g77.info
+f77.dvi: f/g77.dvi
 
 # g77 documentation.
-$(srcdir)/f/g77.info: f/g77.texi f/bugs.texi f/install.texi f/news.texi f/intdoc.texi
-       cd $(srcdir)/f; $(MAKEINFO) g77.texi
+f/g77.info: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \
+           $(srcdir)/f/install.texi $(srcdir)/f/news.texi \
+           $(srcdir)/f/intdoc.texi
+       $(MAKEINFO) -I$(srcdir)/f $(srcdir)/f/g77.texi -o f/g77.info
 
-$(srcdir)/f/g77.dvi: f/g77.texi f/bugs.texi f/install.texi f/news.texi f/intdoc.texi
-       cd $(srcdir)/f; $(TEXI2DVI) g77.texi
+f/g77.dvi: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \
+                    $(srcdir)/f/install.texi $(srcdir)/f/news.texi \
+                    $(srcdir)/f/intdoc.texi
+       $(TEXI2DVI) -I$(srcdir)/f $(srcdir)/f/g77.texi -o f/g77.dvi
 
 # This dance is all about producing accurate documentation for g77's
 # intrinsics with minimum fuss.  f/ansify appends "\n\" to C strings
@@ -466,7 +470,7 @@ f77.install-common:
 # to do the install.  The sed rule was copied from stmp-int-hdrs.
 f77.install-info:
        -rm -f $(infodir)/g77.info*
-       for f in $(srcdir)/f/g77.info*; do \
+       for f in f/g77.info*; do \
            realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
            $(INSTALL_DATA) $$f $(infodir)/$$realfile; \
        done
index 30c0edbe1920ecde3cb52d0695cc98da2c33ce94..04460700f079a56655e5410a54014d7d024e1f83 100644 (file)
@@ -66,6 +66,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 
 #include "config.j"            /* Must come before any other #includes in gcc. */
 #include "assert.j"            /* Use gcc's assert.h. */
+#include <ctype.h>
 #include <stdio.h>
 #include <stddef.h>
 #include <stdlib.h>