home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / f2c-1993.04.28-src.lha / src / diffs / f2c-1993.04.28.diffs
Text File  |  1994-02-24  |  8KB  |  275 lines

  1. diff -rc --new-file f2c-1993.04.28-fsf/libF77/makefile f2c-1993.04.28-amiga/libF77/makefile
  2. *** f2c-1993.04.28-fsf/libF77/makefile    Wed Apr 28 19:26:35 1993
  3. --- f2c-1993.04.28-amiga/libF77/makefile    Thu Feb 24 22:01:19 1994
  4. ***************
  5. *** 1,13 ****
  6.   .SUFFIXES: .c .o
  7. ! CC = cc
  8.   SHELL = /bin/sh
  9. ! CFLAGS = -O
  10.   
  11.   # compile, then strip unnecessary symbols
  12.   .c.o:
  13.       $(CC) -c -DSkip_f2c_Undefs $(CFLAGS) $*.c
  14. !     ld -r -x -o $*.xxx $*.o
  15. !     mv $*.xxx $*.o
  16.   
  17.   MISC =    Version.o main.o s_rnge.o abort_.o getarg_.o iargc_.o getenv_.o\
  18.       signal_.o s_stop.o s_paus.o system_.o cabs.o\
  19. --- 1,13 ----
  20.   .SUFFIXES: .c .o
  21. ! CC = gcc
  22.   SHELL = /bin/sh
  23. ! CFLAGS = -O2 -I..
  24.   
  25.   # compile, then strip unnecessary symbols
  26.   .c.o:
  27.       $(CC) -c -DSkip_f2c_Undefs $(CFLAGS) $*.c
  28. ! #    ld -r -x -o $*.xxx $*.o
  29. ! #    mv $*.xxx $*.o
  30.   
  31.   MISC =    Version.o main.o s_rnge.o abort_.o getarg_.o iargc_.o getenv_.o\
  32.       signal_.o s_stop.o s_paus.o system_.o cabs.o\
  33. ***************
  34. *** 38,46 ****
  35.   Version.o: Version.c
  36.       $(CC) -c Version.c
  37.   
  38.   # To compile with C++, first "make f2c.h"
  39.   f2c.h: f2ch.add
  40. !     cat /usr/include/f2c.h f2ch.add >f2c.h
  41.   
  42.   # If your system lacks onexit() and you are not using an
  43.   # ANSI C compiler, then you should uncomment the following
  44. --- 38,48 ----
  45.   Version.o: Version.c
  46.       $(CC) -c Version.c
  47.   
  48. + $(OBJ):    f2c.h
  49.   # To compile with C++, first "make f2c.h"
  50.   f2c.h: f2ch.add
  51. !     cat ../f2c.h f2ch.add >f2c.h
  52.   
  53.   # If your system lacks onexit() and you are not using an
  54.   # ANSI C compiler, then you should uncomment the following
  55. ***************
  56. *** 53,59 ****
  57.   #    $(CC) -c -Donexit=on_exit -DSkip_f2c_Undefs main.c
  58.   
  59.   install:    libF77.a
  60. !     mv libF77.a /usr/lib
  61.   
  62.   clean:
  63.       rm -f libF77.a *.o
  64. --- 55,62 ----
  65.   #    $(CC) -c -Donexit=on_exit -DSkip_f2c_Undefs main.c
  66.   
  67.   install:    libF77.a
  68. !     cp libF77.a /gnu/lib/libF77.a
  69. !     ranlib /gnu/lib/libF77.a
  70.   
  71.   clean:
  72.       rm -f libF77.a *.o
  73. diff -rc --new-file f2c-1993.04.28-fsf/libI77/local.h f2c-1993.04.28-amiga/libI77/local.h
  74. *** f2c-1993.04.28-fsf/libI77/local.h    Thu Jan  1 00:00:00 1970
  75. --- f2c-1993.04.28-amiga/libI77/local.h    Thu Feb 24 22:00:34 1994
  76. ***************
  77. *** 0 ****
  78. --- 1 ----
  79. + /* Dummy local.h file */
  80. diff -rc --new-file f2c-1993.04.28-fsf/libI77/makefile f2c-1993.04.28-amiga/libI77/makefile
  81. *** f2c-1993.04.28-fsf/libI77/makefile    Wed Apr 28 19:29:51 1993
  82. --- f2c-1993.04.28-amiga/libI77/makefile    Thu Feb 24 21:56:59 1994
  83. ***************
  84. *** 1,13 ****
  85.   .SUFFIXES: .c .o
  86. ! CC = cc
  87. ! CFLAGS = -O
  88.   SHELL = /bin/sh
  89.   
  90.   # compile, then strip unnecessary symbols
  91.   .c.o:
  92.       $(CC) -c -DSkip_f2c_Undefs $(CFLAGS) $*.c
  93. !     ld -r -x -o $*.xxx $*.o
  94. !     mv $*.xxx $*.o
  95.   
  96.   OBJ =    Version.o backspace.o close.o dfe.o dolio.o due.o endfile.o err.o \
  97.       fmt.o fmtlib.o iio.o ilnw.o inquire.o lread.o lwrite.o open.o \
  98. --- 1,13 ----
  99.   .SUFFIXES: .c .o
  100. ! CC = gcc
  101. ! CFLAGS = -O2 -DNON_UNIX_STDIO
  102.   SHELL = /bin/sh
  103.   
  104.   # compile, then strip unnecessary symbols
  105.   .c.o:
  106.       $(CC) -c -DSkip_f2c_Undefs $(CFLAGS) $*.c
  107. ! #    ld -r -x -o $*.xxx $*.o
  108. ! #    mv $*.xxx $*.o
  109.   
  110.   OBJ =    Version.o backspace.o close.o dfe.o dolio.o due.o endfile.o err.o \
  111.       fmt.o fmtlib.o iio.o ilnw.o inquire.o lread.o lwrite.o open.o \
  112. ***************
  113. *** 17,31 ****
  114.           ar r libI77.a $?
  115.           ranlib libI77.a
  116.   install:    libI77.a
  117. !     cp libI77.a /usr/lib/libI77.a
  118. !     ranlib /usr/lib/libI77.a
  119.   
  120.   Version.o: Version.c
  121.       $(CC) -c Version.c
  122.   
  123.   # To compile with C++, first "make f2c.h"
  124.   f2c.h: f2ch.add
  125. !     cat /usr/include/f2c.h f2ch.add >f2c.h
  126.   
  127.   
  128.   clean:
  129. --- 17,33 ----
  130.           ar r libI77.a $?
  131.           ranlib libI77.a
  132.   install:    libI77.a
  133. !     cp libI77.a /gnu/lib/libI77.a
  134. !     ranlib /gnu/lib/libI77.a
  135.   
  136.   Version.o: Version.c
  137.       $(CC) -c Version.c
  138.   
  139. + $(OBJ):    f2c.h
  140.   # To compile with C++, first "make f2c.h"
  141.   f2c.h: f2ch.add
  142. !     cat ../f2c.h f2ch.add >f2c.h
  143.   
  144.   
  145.   clean:
  146. diff -rc --new-file f2c-1993.04.28-fsf/makefile f2c-1993.04.28-amiga/makefile
  147. *** f2c-1993.04.28-fsf/makefile    Thu Jan  1 00:00:00 1970
  148. --- f2c-1993.04.28-amiga/makefile    Thu Feb 24 21:57:12 1994
  149. ***************
  150. *** 0 ****
  151. --- 1,11 ----
  152. + all:
  153. +     (cd src; make)
  154. +     (cd libF77; make)
  155. +     (cd libI77; make)
  156. + install:
  157. +     (cd src; make install)
  158. +     (cd libF77; make install)
  159. +     (cd libI77; make install)
  160. +     install -c f2c.1t /gnu/man/man1/f2c.1
  161. +     install -c f2c.h /gnu/include
  162. diff -rc --new-file f2c-1993.04.28-fsf/src/defs.h f2c-1993.04.28-amiga/src/defs.h
  163. *** f2c-1993.04.28-fsf/src/defs.h    Wed Apr 28 19:06:59 1993
  164. --- f2c-1993.04.28-amiga/src/defs.h    Thu Feb 24 21:57:01 1994
  165. ***************
  166. *** 769,775 ****
  167.   extern char *casttypes[], *ftn_types[], *protorettypes[], *usedcasts[];
  168.   extern int Castargs, infertypes;
  169.   extern FILE *protofile;
  170. ! extern void exit(), inferdcl(), protowrite(), save_argtypes();
  171.   extern char binread[], binwrite[], textread[], textwrite[];
  172.   extern char *ei_first, *ei_last, *ei_next;
  173.   extern char *wh_first, *wh_last, *wh_next;
  174. --- 769,776 ----
  175.   extern char *casttypes[], *ftn_types[], *protorettypes[], *usedcasts[];
  176.   extern int Castargs, infertypes;
  177.   extern FILE *protofile;
  178. ! extern void volatile exit();
  179. ! extern void inferdcl(), protowrite(), save_argtypes();
  180.   extern char binread[], binwrite[], textread[], textwrite[];
  181.   extern char *ei_first, *ei_last, *ei_next;
  182.   extern char *wh_first, *wh_last, *wh_next;
  183. diff -rc --new-file f2c-1993.04.28-fsf/src/makefile f2c-1993.04.28-amiga/src/makefile
  184. *** f2c-1993.04.28-fsf/src/makefile    Wed Apr 28 19:08:42 1993
  185. --- f2c-1993.04.28-amiga/src/makefile    Thu Feb 24 21:57:03 1994
  186. ***************
  187. *** 1,16 ****
  188.   #    Makefile for f2c, a Fortran 77 to C converter
  189.   
  190. ! g = -g
  191.   CFLAGS = $g
  192.   SHELL = /bin/sh
  193.   
  194.   OBJECTSd = main.o init.o gram.o lex.o proc.o equiv.o data.o format.o \
  195.         expr.o exec.o intr.o io.o misc.o error.o mem.o names.o \
  196.         output.o p1output.o pread.o put.o putpcc.o vax.o formatdata.o \
  197.         parse_args.o niceprintf.o cds.o sysdep.o version.o
  198. ! OBJECTS = $(OBJECTSd) malloc.o
  199.   
  200. ! all: xsum.out f2c
  201.   
  202.   f2c: $(OBJECTS)
  203.       $(CC) $(LDFLAGS) $(OBJECTS) -o f2c
  204. --- 1,18 ----
  205.   #    Makefile for f2c, a Fortran 77 to C converter
  206.   
  207. ! CC = gcc
  208. ! g = -O2
  209.   CFLAGS = $g
  210.   SHELL = /bin/sh
  211. + YACC = bison -y
  212.   
  213.   OBJECTSd = main.o init.o gram.o lex.o proc.o equiv.o data.o format.o \
  214.         expr.o exec.o intr.o io.o misc.o error.o mem.o names.o \
  215.         output.o p1output.o pread.o put.o putpcc.o vax.o formatdata.o \
  216.         parse_args.o niceprintf.o cds.o sysdep.o version.o
  217. ! OBJECTS = $(OBJECTSd)
  218.   
  219. ! all: f2c
  220.   
  221.   f2c: $(OBJECTS)
  222.       $(CC) $(LDFLAGS) $(OBJECTS) -o f2c
  223. ***************
  224. *** 28,33 ****
  225. --- 30,38 ----
  226.   tokdefs.h: tokens
  227.       grep -n . <tokens | sed "s/\([^:]*\):\(.*\)/#define \2 \1/" >tokdefs.h
  228.   
  229. + install: f2c
  230. +     install -c f2c /gnu/bin
  231.   cds.o: sysdep.h
  232.   exec.o: p1defs.h names.h
  233.   expr.o: output.h niceprintf.h names.h
  234. ***************
  235. *** 80,86 ****
  236.   #Check validity of transmitted source...
  237.   xsum.out: xsum
  238.       ./xsum $b >xsum1.out
  239. !     cmp xsum0.out xsum1.out && mv xsum1.out xsum.out
  240.   
  241.   #On non-Unix systems that end lines with carriage-return/newline pairs,
  242.   #use "make xsumr.out" rather than "make xsum.out".  The -r flag ignores
  243. --- 85,91 ----
  244.   #Check validity of transmitted source...
  245.   xsum.out: xsum
  246.       ./xsum $b >xsum1.out
  247. !     -cmp xsum0.out xsum1.out && mv xsum1.out xsum.out
  248.   
  249.   #On non-Unix systems that end lines with carriage-return/newline pairs,
  250.   #use "make xsumr.out" rather than "make xsum.out".  The -r flag ignores
  251. diff -rc --new-file f2c-1993.04.28-fsf/src/mem.c f2c-1993.04.28-amiga/src/mem.c
  252. *** f2c-1993.04.28-fsf/src/mem.c    Wed Apr 28 19:08:51 1993
  253. --- f2c-1993.04.28-amiga/src/mem.c    Thu Feb 24 21:57:04 1994
  254. ***************
  255. *** 27,33 ****
  256.   #define MEMBSIZE    32000
  257.   #define GMEMBSIZE    16000
  258.   
  259. !  extern void exit();
  260.   
  261.    char *
  262.   gmem(n, round)
  263. --- 27,33 ----
  264.   #define MEMBSIZE    32000
  265.   #define GMEMBSIZE    16000
  266.   
  267. !  extern void volatile exit();
  268.   
  269.    char *
  270.   gmem(n, round)
  271.