1998-02-01 09:37:08 +08:00
|
|
|
# Makefile for GNU F77 compiler runtime.
|
|
|
|
# Copyright 1990 - 1994 by AT&T Bell Laboratories and Bellcore (see the
|
|
|
|
# file `Notice').
|
2001-05-16 18:26:52 +08:00
|
|
|
# Portions of this file Copyright (C) 1995, 1996, 1998, 2001 Free Software Foundation, Inc.
|
1998-02-01 09:37:08 +08: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 15:52:05 +08:00
|
|
|
#### Start of system configuration section. ####
|
|
|
|
|
1998-07-12 13:02:03 +08:00
|
|
|
# $(srcdir) must be set to the g77 runtime libI77 source directory.
|
1998-02-01 09:37:08 +08:00
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
1998-07-12 13:02:03 +08:00
|
|
|
# configure sets this to all the -D options appropriate for the
|
|
|
|
# configuration.
|
1998-02-01 09:37:08 +08:00
|
|
|
DEFS = @DEFS@
|
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 15:52:05 +08:00
|
|
|
|
1998-07-12 13:02:03 +08: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 15:52:05 +08:00
|
|
|
|
1998-07-12 13:02:03 +08:00
|
|
|
#### End of system configuration section. ####
|
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 15:52:05 +08:00
|
|
|
|
1998-07-12 13:02:03 +08:00
|
|
|
ALL_CFLAGS = -I. -I$(srcdir) -I$(G2C_H_DIR) -I$(F2C_H_DIR) $(CPPFLAGS) \
|
|
|
|
$(DEFS) $(CFLAGS)
|
1998-02-01 09:37:08 +08:00
|
|
|
|
|
|
|
.SUFFIXES:
|
|
|
|
.SUFFIXES: .c .o
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
$(CC) -c -DSkip_f2c_Undefs -DAllow_TYQUAD $(ALL_CFLAGS) $<
|
|
|
|
|
|
|
|
OBJ = VersionI.o backspace.o close.o dfe.o dolio.o due.o endfile.o err.o \
|
|
|
|
fmt.o fmtlib.o iio.o ilnw.o inquire.o lread.o lwrite.o open.o \
|
|
|
|
rdfmt.o rewind.o rsfe.o rsli.o rsne.o sfe.o sue.o typesize.o uio.o \
|
|
|
|
util.o wref.o wrtfmt.o wsfe.o wsle.o wsne.o xwsne.o \
|
|
|
|
ftell_.o
|
|
|
|
|
1998-07-15 04:27:34 +08:00
|
|
|
all: ../s-libi77
|
1998-07-12 13:02:03 +08:00
|
|
|
|
1998-07-15 04:27:34 +08:00
|
|
|
../s-libi77: $(OBJ)
|
|
|
|
echo timestamp > ../s-libi77
|
1998-07-12 13:02:03 +08:00
|
|
|
|
|
|
|
archive:
|
|
|
|
$(AR) $(ARFLAGS) $(LIBG2C) $(OBJ)
|
|
|
|
|
|
|
|
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 09:37:08 +08:00
|
|
|
|
2001-05-17 16:47:10 +08:00
|
|
|
# autoheader might not change config.h.in, so touch a stamp file.
|
2001-05-18 15:45:56 +08:00
|
|
|
${srcdir}/config.h.in: stamp-h.in; @true
|
2001-05-17 16:47:10 +08:00
|
|
|
${srcdir}/stamp-h.in: configure.in
|
|
|
|
(cd ${srcdir} && autoheader)
|
|
|
|
@rm -f ${srcdir}/stamp-h.in
|
|
|
|
echo timestamp > ${srcdir}/stamp-h.in
|
|
|
|
|
|
|
|
config.h: stamp-h; @true
|
|
|
|
stamp-h: config.h.in config.status
|
2001-05-18 15:45:56 +08:00
|
|
|
CONFIG_FILES= CONFIG_HEADERS=config.h $(SHELL) config.status
|
2001-05-22 19:16:51 +08:00
|
|
|
echo timestamp > stamp-h
|
2001-05-17 16:47:10 +08:00
|
|
|
|
1998-02-01 09:37:08 +08:00
|
|
|
VersionI.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 15:52:05 +08:00
|
|
|
$(CC) -c $(ALL_CFLAGS) -o $@ $(srcdir)/Version.c
|
1998-02-01 09:37:08 +08:00
|
|
|
|
1999-03-06 08:02:54 +08:00
|
|
|
backspace.o: backspace.c fio.h
|
|
|
|
close.o: close.c fio.h
|
1998-02-01 09:37:08 +08:00
|
|
|
dfe.o: fio.h
|
1999-03-06 08:02:54 +08:00
|
|
|
dfe.o: dfe.c fmt.h
|
|
|
|
dolio.o: dolio.c
|
|
|
|
due.o: due.c fio.h
|
2001-05-16 18:26:52 +08:00
|
|
|
endfile.o: endfile.c fio.h rawio.h config.h
|
1999-03-06 08:02:54 +08:00
|
|
|
err.o: err.c fio.h rawio.h
|
1998-02-01 09:37:08 +08:00
|
|
|
fmt.o: fio.h
|
1999-03-06 08:02:54 +08:00
|
|
|
fmt.o: fmt.c fmt.h
|
|
|
|
fmtlib.o: fmtlib.c
|
|
|
|
ftell_.o: ftell_.c fio.h
|
1998-02-01 09:37:08 +08:00
|
|
|
iio.o: fio.h
|
1999-03-06 08:02:54 +08:00
|
|
|
iio.o: iio.c fmt.h
|
1998-02-01 09:37:08 +08:00
|
|
|
ilnw.o: fio.h
|
1999-03-06 08:02:54 +08:00
|
|
|
ilnw.o: ilnw.c lio.h
|
|
|
|
inquire.o: inquire.c fio.h
|
1998-02-01 09:37:08 +08:00
|
|
|
lread.o: fio.h
|
|
|
|
lread.o: fmt.h
|
|
|
|
lread.o: lio.h
|
1999-03-06 08:02:54 +08:00
|
|
|
lread.o: lread.c fp.h
|
1998-02-01 09:37:08 +08:00
|
|
|
lwrite.o: fio.h
|
|
|
|
lwrite.o: fmt.h
|
1999-03-06 08:02:54 +08:00
|
|
|
lwrite.o: lwrite.c lio.h
|
|
|
|
open.o: open.c fio.h rawio.h
|
1998-02-01 09:37:08 +08:00
|
|
|
rdfmt.o: fio.h
|
|
|
|
rdfmt.o: fmt.h
|
1999-03-06 08:02:54 +08:00
|
|
|
rdfmt.o: rdfmt.c fp.h
|
|
|
|
rewind.o: rewind.c fio.h
|
1998-02-01 09:37:08 +08:00
|
|
|
rsfe.o: fio.h
|
1999-03-06 08:02:54 +08:00
|
|
|
rsfe.o: rsfe.c fmt.h
|
1998-02-01 09:37:08 +08:00
|
|
|
rsli.o: fio.h
|
1999-03-06 08:02:54 +08:00
|
|
|
rsli.o: rsli.c lio.h
|
1998-02-01 09:37:08 +08:00
|
|
|
rsne.o: fio.h
|
1999-03-06 08:02:54 +08:00
|
|
|
rsne.o: rsne.c lio.h
|
|
|
|
sfe.o: sfe.c fio.h
|
|
|
|
sue.o: sue.c fio.h
|
|
|
|
typesize.o: typesize.c
|
|
|
|
uio.o: uio.c fio.h
|
|
|
|
util.o: util.c fio.h
|
1998-02-01 09:37:08 +08:00
|
|
|
wref.o: fio.h
|
|
|
|
wref.o: fmt.h
|
1999-03-06 08:02:54 +08:00
|
|
|
wref.o: wref.c fp.h
|
1998-02-01 09:37:08 +08:00
|
|
|
wrtfmt.o: fio.h
|
1999-03-06 08:02:54 +08:00
|
|
|
wrtfmt.o: wrtfmt.c fmt.h
|
1998-02-01 09:37:08 +08:00
|
|
|
wsfe.o: fio.h
|
1999-03-06 08:02:54 +08:00
|
|
|
wsfe.o: wsfe.c fmt.h
|
1998-02-01 09:37:08 +08:00
|
|
|
wsle.o: fio.h
|
|
|
|
wsle.o: fmt.h
|
1999-03-06 08:02:54 +08:00
|
|
|
wsle.o: wsle.c lio.h
|
1998-02-01 09:37:08 +08:00
|
|
|
wsne.o: fio.h
|
1999-03-06 08:02:54 +08:00
|
|
|
wsne.o: wsne.c lio.h
|
1998-02-01 09:37:08 +08:00
|
|
|
xwsne.o: fio.h
|
|
|
|
xwsne.o: lio.h
|
1999-03-06 08:02:54 +08:00
|
|
|
xwsne.o: xwsne.c fmt.h
|
1998-02-01 09:37:08 +08:00
|
|
|
|
|
|
|
# May be pessimistic:
|
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 15:52:05 +08:00
|
|
|
$(OBJ): $(F2C_H_DIR)/f2c.h $(G2C_H_DIR)/g2c.h
|
1998-02-01 09:37:08 +08:00
|
|
|
|
1998-07-12 13:02:03 +08:00
|
|
|
check install uninstall install-strip dist installcheck installdirs:
|
|
|
|
|
|
|
|
mostlyclean:
|
|
|
|
rm -f *.o
|
|
|
|
|
|
|
|
clean: mostlyclean
|
1998-09-21 18:34:28 +08:00
|
|
|
rm -f config.log ../s-libi77
|
1998-07-12 13:02:03 +08:00
|
|
|
|
|
|
|
distclean: clean
|
1998-07-15 04:27:34 +08:00
|
|
|
rm -f config.cache config.status Makefile ../s-libi77 configure
|
1998-07-12 13:02:03 +08:00
|
|
|
|
|
|
|
maintainer-clean:
|
|
|
|
|
|
|
|
.PHONY: mostlyclean clean distclean maintainer-clean all check uninstall \
|
|
|
|
install-strip dist installcheck installdirs archive
|