1998-02-01 02:37:08 +01:00
|
|
|
# Makefile for GNU F77 compiler runtime.
|
|
|
|
# Copyright 1990 - 1994 by AT&T Bell Laboratories and Bellcore (see the
|
|
|
|
# file `Notice').
|
Makefile.in (install): Don't install if $(libsubdir) is empty...
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.
From-SVN: r20507
1998-06-15 09:52:05 +02:00
|
|
|
# Portions of this file Copyright (C) 1995-1998 Free Software Foundation, Inc.
|
1998-02-01 02:37:08 +01:00
|
|
|
# Contributed by Dave Love (d.love@dl.ac.uk).
|
|
|
|
#
|
|
|
|
#This file is part of GNU Fortran.
|
|
|
|
#
|
|
|
|
#GNU Fortran is free software; you can redistribute it and/or modify
|
|
|
|
#it under the terms of the GNU General Public License as published by
|
|
|
|
#the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
#any later version.
|
|
|
|
#
|
|
|
|
#GNU Fortran is distributed in the hope that it will be useful,
|
|
|
|
#but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
#GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
#You should have received a copy of the GNU General Public License
|
|
|
|
#along with GNU Fortran; see the file COPYING. If not, write to
|
|
|
|
#the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
|
|
|
#02111-1307, USA.
|
|
|
|
|
Makefile.in (install): Don't install if $(libsubdir) is empty...
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.
From-SVN: r20507
1998-06-15 09:52:05 +02:00
|
|
|
#### Start of system configuration section. ####
|
|
|
|
|
1998-07-12 07:02:03 +02:00
|
|
|
# $(srcdir) must be set to the g77 runtime libF77 source directory.
|
1998-02-01 02:37:08 +01:00
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
1998-07-12 07:02:03 +02:00
|
|
|
# configure sets this to all the -D options appropriate for the
|
|
|
|
# configuration.
|
Makefile.in (install): Don't install if $(libsubdir) is empty...
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.
From-SVN: r20507
1998-06-15 09:52:05 +02:00
|
|
|
DEFS = @DEFS@
|
|
|
|
|
1998-07-12 07:02:03 +02:00
|
|
|
LIBG2C = ../libg2c.a
|
|
|
|
|
|
|
|
F2C_H_DIR = @srcdir@/..
|
|
|
|
G2C_H_DIR = ..
|
|
|
|
CC = @CC@
|
|
|
|
CFLAGS = @CFLAGS@
|
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
AR = @AR@
|
|
|
|
ARFLAGS = rc
|
|
|
|
@SET_MAKE@
|
|
|
|
|
|
|
|
SHELL = /bin/sh
|
Makefile.in (install): Don't install if $(libsubdir) is empty...
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.
From-SVN: r20507
1998-06-15 09:52:05 +02:00
|
|
|
|
1998-07-12 07:02:03 +02:00
|
|
|
#### End of system configuration section. ####
|
1998-02-01 02:37:08 +01:00
|
|
|
|
1998-07-12 07:02:03 +02:00
|
|
|
ALL_CFLAGS = -I. -I$(srcdir) -I$(G2C_H_DIR) -I$(F2C_H_DIR) $(CPPFLAGS) $(DEFS) $(CFLAGS)
|
Makefile.in (install): Don't install if $(libsubdir) is empty...
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.
From-SVN: r20507
1998-06-15 09:52:05 +02:00
|
|
|
|
|
|
|
.SUFFIXES:
|
|
|
|
.SUFFIXES: .c .o
|
1998-02-01 02:37:08 +01:00
|
|
|
|
|
|
|
.c.o:
|
Makefile.in (install): Don't install if $(libsubdir) is empty...
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.
From-SVN: r20507
1998-06-15 09:52:05 +02:00
|
|
|
$(CC) -c -DSkip_f2c_Undefs $(ALL_CFLAGS) $<
|
1998-02-01 02:37:08 +01:00
|
|
|
|
|
|
|
MISC = F77_aloc.o VersionF.o main.o s_rnge.o abort_.o getarg_.o iargc_.o\
|
|
|
|
getenv_.o signal_.o s_stop.o s_paus.o system_.o cabs.o\
|
1998-05-22 12:32:18 +02:00
|
|
|
derf_.o derfc_.o erf_.o erfc_.o sig_die.o exit_.o setarg.o setsig.o
|
1998-02-01 02:37:08 +01:00
|
|
|
POW = pow_ci.o pow_dd.o pow_di.o pow_hh.o pow_ii.o pow_ri.o pow_zi.o pow_zz.o \
|
|
|
|
pow_qq.o
|
|
|
|
CX = c_abs.o c_cos.o c_div.o c_exp.o c_log.o c_sin.o c_sqrt.o
|
|
|
|
DCX = z_abs.o z_cos.o z_div.o z_exp.o z_log.o z_sin.o z_sqrt.o
|
|
|
|
REAL = r_abs.o r_acos.o r_asin.o r_atan.o r_atn2.o r_cnjg.o r_cos.o\
|
|
|
|
r_cosh.o r_dim.o r_exp.o r_imag.o r_int.o\
|
|
|
|
r_lg10.o r_log.o r_mod.o r_nint.o r_sign.o\
|
|
|
|
r_sin.o r_sinh.o r_sqrt.o r_tan.o r_tanh.o
|
|
|
|
DBL = d_abs.o d_acos.o d_asin.o d_atan.o d_atn2.o\
|
|
|
|
d_cnjg.o d_cos.o d_cosh.o d_dim.o d_exp.o\
|
|
|
|
d_imag.o d_int.o d_lg10.o d_log.o d_mod.o\
|
|
|
|
d_nint.o d_prod.o d_sign.o d_sin.o d_sinh.o\
|
|
|
|
d_sqrt.o d_tan.o d_tanh.o
|
|
|
|
INT = i_abs.o i_dim.o i_dnnt.o i_indx.o i_len.o i_mod.o i_nint.o i_sign.o
|
|
|
|
HALF = h_abs.o h_dim.o h_dnnt.o h_indx.o h_len.o h_mod.o h_nint.o h_sign.o
|
|
|
|
CMP = l_ge.o l_gt.o l_le.o l_lt.o hl_ge.o hl_gt.o hl_le.o hl_lt.o
|
|
|
|
EFL = ef1asc_.o ef1cmc_.o
|
|
|
|
CHAR = s_cat.o s_cmp.o s_copy.o
|
|
|
|
F90BIT = lbitbits.o lbitshft.o qbitbits.o qbitshft.o
|
|
|
|
|
1998-07-12 07:02:03 +02:00
|
|
|
OBJS = $(MISC) $(POW) $(CX) $(DCX) $(REAL) $(DBL) $(INT) \
|
1998-02-01 02:37:08 +01:00
|
|
|
$(HALF) $(CMP) $(EFL) $(CHAR) $(F90BIT)
|
|
|
|
|
1998-07-14 22:27:34 +02:00
|
|
|
all: ../s-libf77
|
1998-07-12 07:02:03 +02:00
|
|
|
|
1998-07-14 22:27:34 +02:00
|
|
|
../s-libf77: $(OBJS)
|
|
|
|
echo timestamp > ../s-libf77
|
1998-07-12 07:02:03 +02:00
|
|
|
|
|
|
|
archive:
|
|
|
|
$(AR) $(ARFLAGS) $(LIBG2C) $(OBJS)
|
|
|
|
|
|
|
|
Makefile: Makefile.in config.status
|
|
|
|
$(SHELL) config.status
|
|
|
|
|
|
|
|
config.status: configure
|
|
|
|
rm -f config.cache
|
|
|
|
CONFIG_SITE=no-such-file CC='$(CC)' AR='$(AR)' CFLAGS='$(CFLAGS)' \
|
|
|
|
CPPFLAGS='$(CPPFLAGS)' $(SHELL) config.status --recheck
|
|
|
|
|
|
|
|
${srcdir}/configure: configure.in
|
|
|
|
rm -f config.cache
|
|
|
|
cd ${srcdir} && autoconf
|
|
|
|
|
1998-02-01 02:37:08 +01:00
|
|
|
VersionF.o: Version.c
|
Makefile.in (install): Don't install if $(libsubdir) is empty...
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.
From-SVN: r20507
1998-06-15 09:52:05 +02:00
|
|
|
$(CC) -c $(ALL_CFLAGS) -o $@ $(srcdir)/Version.c
|
1998-02-01 02:37:08 +01:00
|
|
|
|
1999-03-06 01:02:54 +01:00
|
|
|
F77_aloc.o: F77_aloc.c
|
|
|
|
main.o: main.c
|
|
|
|
s_rnge.o: s_rnge.c
|
|
|
|
abort_.o: abort_.c
|
|
|
|
getarg_.o: getarg_.c
|
|
|
|
iargc_.o: iargc_.c
|
|
|
|
getenv_.o: getenv_.c
|
|
|
|
signal_.o: signal_.c
|
|
|
|
s_stop.o: s_stop.c
|
|
|
|
s_paus.o: s_paus.c
|
|
|
|
system_.o: system_.c
|
|
|
|
cabs.o: cabs.c
|
|
|
|
derf_.o: derf_.c
|
|
|
|
derfc_.o: derfc_.c
|
|
|
|
erf_.o: erf_.c
|
|
|
|
erfc_.o: erfc_.c
|
|
|
|
sig_die.o: sig_die.c
|
|
|
|
exit_.o: exit_.c
|
|
|
|
setarg.o: setarg.c
|
|
|
|
setsig.o: setsig.c
|
|
|
|
pow_ci.o: pow_ci.c
|
|
|
|
pow_dd.o: pow_dd.c
|
|
|
|
pow_di.o: pow_di.c
|
|
|
|
pow_hh.o: pow_hh.c
|
|
|
|
pow_ii.o: pow_ii.c
|
|
|
|
pow_ri.o: pow_ri.c
|
|
|
|
pow_zi.o: pow_zi.c
|
|
|
|
pow_zz.o: pow_zz.c
|
|
|
|
pow_qq.o: pow_qq.c
|
|
|
|
c_abs.o: c_abs.c
|
|
|
|
c_cos.o: c_cos.c
|
|
|
|
c_div.o: c_div.c
|
|
|
|
c_exp.o: c_exp.c
|
|
|
|
c_log.o: c_log.c
|
|
|
|
c_sin.o: c_sin.c
|
|
|
|
c_sqrt.o: c_sqrt.c
|
|
|
|
z_abs.o: z_abs.c
|
|
|
|
z_cos.o: z_cos.c
|
|
|
|
z_div.o: z_div.c
|
|
|
|
z_exp.o: z_exp.c
|
|
|
|
z_log.o: z_log.c
|
|
|
|
z_sin.o: z_sin.c
|
|
|
|
z_sqrt.o: z_sqrt.c
|
|
|
|
r_abs.o: r_abs.c
|
|
|
|
r_acos.o: r_acos.c
|
|
|
|
r_asin.o: r_asin.c
|
|
|
|
r_atan.o: r_atan.c
|
|
|
|
r_atn2.o: r_atn2.c
|
|
|
|
r_cnjg.o: r_cnjg.c
|
|
|
|
r_cos.o: r_cos.c
|
|
|
|
r_cosh.o: r_cosh.c
|
|
|
|
r_dim.o: r_dim.c
|
|
|
|
r_exp.o: r_exp.c
|
|
|
|
r_imag.o: r_imag.c
|
|
|
|
r_int.o: r_int.c
|
|
|
|
r_lg10.o: r_lg10.c
|
|
|
|
r_log.o: r_log.c
|
|
|
|
r_mod.o: r_mod.c
|
|
|
|
r_nint.o: r_nint.c
|
|
|
|
r_sign.o: r_sign.c
|
|
|
|
r_sin.o: r_sin.c
|
|
|
|
r_sinh.o: r_sinh.c
|
|
|
|
r_sqrt.o: r_sqrt.c
|
|
|
|
r_tan.o: r_tan.c
|
|
|
|
r_tanh.o: r_tanh.c
|
|
|
|
d_abs.o: d_abs.c
|
|
|
|
d_acos.o: d_acos.c
|
|
|
|
d_asin.o: d_asin.c
|
|
|
|
d_atan.o: d_atan.c
|
|
|
|
d_atn2.o: d_atn2.c
|
|
|
|
d_cnjg.o: d_cnjg.c
|
|
|
|
d_cos.o: d_cos.c
|
|
|
|
d_cosh.o: d_cosh.c
|
|
|
|
d_dim.o: d_dim.c
|
|
|
|
d_exp.o: d_exp.c
|
|
|
|
d_imag.o: d_imag.c
|
|
|
|
d_int.o: d_int.c
|
|
|
|
d_lg10.o: d_lg10.c
|
|
|
|
d_log.o: d_log.c
|
|
|
|
d_mod.o: d_mod.c
|
|
|
|
d_nint.o: d_nint.c
|
|
|
|
d_prod.o: d_prod.c
|
|
|
|
d_sign.o: d_sign.c
|
|
|
|
d_sin.o: d_sin.c
|
|
|
|
d_sinh.o: d_sinh.c
|
|
|
|
d_sqrt.o: d_sqrt.c
|
|
|
|
d_tan.o: d_tan.c
|
|
|
|
d_tanh.o: d_tanh.c
|
|
|
|
i_abs.o: i_abs.c
|
|
|
|
i_dim.o: i_dim.c
|
|
|
|
i_dnnt.o: i_dnnt.c
|
|
|
|
i_indx.o: i_indx.c
|
|
|
|
i_len.o: i_len.c
|
|
|
|
i_mod.o: i_mod.c
|
|
|
|
i_nint.o: i_nint.c
|
|
|
|
i_sign.o: i_sign.c
|
|
|
|
h_abs.o: h_abs.c
|
|
|
|
h_dim.o: h_dim.c
|
|
|
|
h_dnnt.o: h_dnnt.c
|
|
|
|
h_indx.o: h_indx.c
|
|
|
|
h_len.o: h_len.c
|
|
|
|
h_mod.o: h_mod.c
|
|
|
|
h_nint.o: h_nint.c
|
|
|
|
h_sign.o: h_sign.c
|
|
|
|
l_ge.o: l_ge.c
|
|
|
|
l_gt.o: l_gt.c
|
|
|
|
l_le.o: l_le.c
|
|
|
|
l_lt.o: l_lt.c
|
|
|
|
hl_ge.o: hl_ge.c
|
|
|
|
hl_gt.o: hl_gt.c
|
|
|
|
hl_le.o: hl_le.c
|
|
|
|
hl_lt.o: hl_lt.c
|
|
|
|
ef1asc_.o: ef1asc_.c
|
|
|
|
ef1cmc_.o: ef1cmc_.c
|
|
|
|
s_cat.o: s_cat.c
|
|
|
|
s_cmp.o: s_cmp.c
|
|
|
|
s_copy.o: s_copy.c
|
|
|
|
lbitbits.o: lbitbits.c
|
|
|
|
lbitshft.o: lbitshft.c
|
|
|
|
qbitbits.o: qbitbits.c
|
|
|
|
qbitshft.o: qbitshft.c
|
|
|
|
|
1998-02-01 02:37:08 +01:00
|
|
|
# Not quite all these actually do depend on f2c.h...
|
Makefile.in (install): Don't install if $(libsubdir) is empty...
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.
From-SVN: r20507
1998-06-15 09:52:05 +02:00
|
|
|
$(MISC) $(POW) $(CX) $(DCX) $(REAL) $(DBL) $(INT) $(HALF) $(CMP) $(EFL) \
|
|
|
|
$(CHAR) $(F90BIT): $(F2C_H_DIR)/f2c.h $(G2C_H_DIR)/g2c.h
|
1998-02-01 02:37:08 +01:00
|
|
|
|
1998-07-12 07:02:03 +02:00
|
|
|
check install uninstall install-strip dist installcheck installdirs:
|
|
|
|
|
|
|
|
mostlyclean:
|
|
|
|
rm -f *.o
|
|
|
|
|
|
|
|
clean: mostlyclean
|
|
|
|
rm -f config.log
|
1998-09-21 12:34:28 +02:00
|
|
|
rm -f ../s-libf77
|
1998-07-12 07:02:03 +02:00
|
|
|
|
|
|
|
distclean: clean
|
1998-07-14 22:27:34 +02:00
|
|
|
rm -f config.cache config.status Makefile ../s-libf77 configure
|
1998-07-12 07:02:03 +02:00
|
|
|
|
|
|
|
maintainer-clean:
|
|
|
|
|
|
|
|
.PHONY: mostlyclean clean distclean maintainer-clean all check uninstall \
|
|
|
|
install-strip dist installcheck installdirs archive
|