Makefile.in (s-libe77, [...]): Rely on VPATH, dropping explicit use of $(srcdir)...
[platform/upstream/gcc.git] / libf2c / ChangeLog
index 80d1f88..2bc7c4c 100644 (file)
@@ -1,3 +1,187 @@
+1998-07-24  Dave Love  <d.love@dl.ac.uk>
+
+       * Makefile.in (s-libe77, ${srcdir}/configure, g2c.h, Makefile,
+       config.status, rebuilt): Rely on VPATH, dropping explicit use of
+       $(srcdir) in various places.
+
+1998-07-19  Dave Love  <d.love@dl.ac.uk>
+
+       * Makefile.in (all): Depend on s-libe77, not e77.
+       (.PHONY): Remove e77.
+
+Mon Jul 13 13:31:03 1998  Craig Burley  <burley@gnu.org>
+
+       * libU77/u77-test.f: Double-check ETIME results, just
+       like 0.5.24 does.
+
+1998-07-10  Dave Love  <d.love@dl.ac.uk>
+
+       * Makefile.in: Re-write build procedure mainly to honour
+       dependencies correctly but also allow making in the build
+       directory by configuring the relevant variables.  The lib[FIU]77
+       subdirs do dependency checking of their objects.  Stamp files
+       dictate when to run (new) archive targets in subdirs.  Some
+       tidying of variables.  Supply full set of standard targets.
+
+       * configure.in: Move much of testing to new configures in
+       subdirs.  Tidy up handling of RANLIB etc.
+
+       * stamp-h.in, libF77/configure.in, libI77/configure.in,
+       libF77/configure, libI77/configure: New files.
+
+       * libF77/Makefile.in, libI77/Makefile.in, libU77/Makefile.in:
+       Change in step with libf2c/Makefile.in.
+
+1998-07-09  Dave Love  <d.love@dl.ac.uk>
+
+       * libU77/Makefile.in (check): Wrap -lg2c ... -lm around $(LIBS) in
+       case of static link.
+
+       * libU77/Version.c, libI77/Version.c: Update version info.
+
+       * libU77/sys_clock_.c: Replace TIMES conditional stuff removed in
+       error by last change.
+
+1998-07-06  Dave Love  <d.love@dl.ac.uk>
+
+       * libU77/Makefile.in (lib): Change variable lib to LIBS.
+
+1998-07-06  Robert Lipe <robertl@dgii.com>
+
+       * libU77/configure.in: Look for -lsocket, add to LIBS if found.
+
+       * libU77/Makefile.in (lib):  Use LIBS from above.
+
+1998-07-05  Dave Love  <d.love@dl.ac.uk>
+
+       * f2cext.c (system_clock_): Remove (just f90 intrinsic).
+
+       * Makefile.in (F2CEXT): Remove sclock.
+       (UOBJ): Add libU77/datetime_.o.
+
+       * libU77/config.h.in: Add HAVE_GETTIMEOFDAY.
+
+       * libU77/configure.in: Check for gettimeofday.
+
+       * libU77/datetime_.c: New file.
+
+       * libU77/sys_clock_.c: Allow optional args.
+
+       * libU77/Makefile.in (G77DIR): Fix for current directory
+       structure.
+       (SRCS, OBJS): Add datetime.
+
+       * libU77/u77-test.f: Call date_and_time.  Call system_clock
+       omitting args.
+
+1998-06-29  Dave Love  <d.love@dl.ac.uk>
+
+       * libI77/wsfe.c (s_wsfe): Fix setting of f__curunit lost in
+       previous change.
+       * libI77/rsfe.c (s_rsfe): Likewise.
+
+1998-06-23  Dave Love  <d.love@dl.ac.uk>
+
+       * libI77/backspace.c, libI77/dfe.c, libI77/due.c, libI77/iio.c,
+       libI77/lread.c, libI77/ sfe.c, libI77/sue.c, libI77/wsfe.c: Update
+       to Netlib version of 1998-06-18.
+
+Sat Jun 13 03:46:40 1998  Craig Burley  <burley@gnu.org>
+
+       * Makefile.in (install): Don't install if $(libsubdir)
+       is empty; issue a diagnostic saying top-level Makefile
+       must pass it in instead, and exit.
+
+       * Makefile.in (g2c.h): Rename from f2c.h.
+
+       * Makefile.in, libF77/Makefile.in, libI77/Makefile.in,
+       libU77/Makefile.in: Rewrite config and var assignment
+       sections to be even more minimal than before, and to
+       more clearly documented what macros are expected to be
+       set and to what sorts of values.  Eliminate CROSS and
+       related stuff, since there's no such things as CROSS
+       in egcs.  Rename GCC_FOR_TARGET to CC throughout.
+       * Makefile.in (stamp-libi77, stamp-libf77, stamp-libu77):
+       Eliminate CROSS.
+       * configure.in: Eliminate CROSS.
+
+       Rename libf2c.a and f2c.h to libg2c.a and g2c.h,
+       normalize and simplify g77/libg2c build process:
+       * Makefile.in: Remove all stuff pertaining to
+       installation, cleaning, and so on.  Parent Makefile
+       does all that now.  Pass F2C_H_DIR,
+       G2C_H_DIR, and GCC_H_DIR, the pathnames for the
+       directories containing f2c.h, g2c.h, and other
+       #include files, to subdirectory Makefiles.
+       (stamp-libf77, stamp-libi77, stamp-libu77):
+       Don't specify `-f Makefile' anymore, it's not needed
+       now that subdirectory makefile's from netlib are
+       renamed to makefile.netlib in g77 source (and to
+       makefile.ori by configuration process, in case they're
+       still around somehow).
+       (stamp-libe77): Don't make libE77 dir unless it doesn't
+       exist, if it does just delete all objects in it.
+       Compile using $(GCC_FOR_TARGET), not $(CC).
+       (rebuilt): Remove this and all subordinate targets,
+       as parent Makefile now handles all that.
+       (*clean): Remove.
+       * configure.in (Pad_UDread, ALWAYS_FLUSH, WANT_LEAD_0):
+       Remove these and commentary to new f2c.h file.
+       AC_OUTPUT g2c.h instead of f2c.h.  Remove old commentary
+       regarding concatenation.
+       * g2c.h.in: Rename from f2c.h.in, add appropriate
+       commentary.
+       * f2c.h: New file, a wrapper for g2c.h that does
+       libg2c-specific stuff.
+       * libF77/Makefile.in, libI77/Makefile.in, libU77/Makefile.in:
+       Change $(ALL_CFLAGS) to use F2C_H_DIR, G2C_H_DIR, and GCC_H_DIR
+       macros.  Remove F2C_H macro, replace use with explicit
+       dependencies on f2c.h and g2c.h.
+       (*clean): Remove.
+
+1998-05-20  Dave Love  <d.love@dl.ac.uk>
+
+       * Makefile.in ($(lib)): Use shell loop instead of unportable
+       make variable substitution.
+
+Tue May 19 12:50:27 1998  Craig Burley  <burley@gnu.org>
+
+       Break up main() into separate .o's so making and
+       linking against shared libraries with non-Fortran
+       main() routines is easier:
+       * Makefile.in (MISC): Add setarg.o and setsig.o.
+       * libF77/Makefile.in (MISC): Ditto.
+       * libF77/setarg.c: New file, contains f_setarg().
+       * libF77/setsig.c: New file, contains f_setsig().
+       * libF77/getarg_.c: Rename xarg* to f__xarg*.
+       * libF77/iargc_.c: Ditto
+
+Sat May  2 16:44:46 1998  Craig Burley  <burley@gnu.org>
+
+       * libF77/signal_.c, libI77/dfe.c, libI77/due.c,
+       libI77/wsfe.c: Tweaks to eliminate unnecessary
+       differences vs. netlib libf2c.
+
+Fri May  1 11:57:45 1998  Craig Burley  <burley@gnu.org>
+
+       Update to Netlib version of 1998-04-20:
+       * libF77/dtime_.c, libF77/etime_.c, libF77/h_dnnt.c,
+       libF77/h_nint.c, libF77/i_dnnt.c, libF77/i_nint.c,
+       libF77/main.c, libF77/s_paus.c, libF77/signal1.h0,
+       libI77/backspace.c, libI77/close.c, libI77/dfe.c,
+       libI77/endfile.c, libI77/err.c, libI77/fio.h,
+       libI77/iio.c, libI77/ilnw.c, libI77/lread.c,
+       libI77/lwrite.c, libI77/open.c, libI77/rawio.h,
+       libI77/sfe.c, libI77/util.c, libI77/wrtfmt.c,
+       libI77/wsfe.c, libI77/wsle.c, libI77/wsne.c:
+       See changes.netlib for info.
+
+Sun Apr 26 09:13:41 1998  Craig Burley  <burley@gnu.org>
+
+       * libU77/hostnm_.c (G77_hostnm_0): Fix off-by-one error
+       that was trashing the byte just beyond the CHARACTER*(*)
+       argument.
+
 Wed Mar  4 16:32:46 1998  Craig Burley  <burley@gnu.org>
 
        * libU77/u77-test.f: Don't bother declaring etime.
@@ -43,6 +227,12 @@ Wed Oct 15 10:06:29 1997  Richard Henderson  <rth@cygnus.com>
        * libI77/fio.h: Include <string.h> if STDC_HEADERS.
        * libU77/chmod_.c: Likewise.
 
+1997-10-03  Dave Love  <d.love@dl.ac.uk>
+
+       * configure.in: Check for tempnam (best because it obeys TMPDIR).
+       * libI77/open.c: Use it.
+       * libI77/err.c: New message # 132.
+
 Tue Sep 30 00:41:39 1997  Craig Burley  <burley@gnu.ai.mit.edu>
 
        Do a better job of printing the offending FORMAT string
@@ -487,7 +677,7 @@ Wed Feb  5 00:21:23 1997  Craig Burley  <burley@gnu.ai.mit.edu>
        * Makefile.in: Don't invoke config.status here -- let
        compiler-level stuff handle all that.
 
-       * err.c [MISSING_FILE_ELEMS]: Declare malloc in this case
+       * libI77/err.c [MISSING_FILE_ELEMS]: Declare malloc in this case
        too, so it doesn't end up as an integer.
 
 Sat Feb  1 02:43:48 1997  Craig Burley  <burley@gnu.ai.mit.edu>
@@ -566,12 +756,6 @@ Thu Oct 31 22:27:45 1996  Craig Burley  <burley@gnu.ai.mit.edu>
        * libI77/Version.c: Use <stdio.h>, not "stdio.h".
        * libF77/Version.c: Likewise.
 
-1997-10-03  Dave Love  <d.love@dl.ac.uk>
-
-       * configure.in: Check for tempnam (best because it obeys TMPDIR).
-       * libI77/open.c: Use it.
-       * libI77/err.c: New message # 132.
-
 Wed Aug 28 13:25:29 1996  Dave Love  <d.love@dl.ac.uk>
 
        * libI77/rsne.c (x_rsne): Use size_t instead of int.