Commit Graph

47 Commits

Author SHA1 Message Date
Toon Moene
01dae62a3a Makefile.in: $(MULTISUBDIR) has an implied leading `/'; remove duplicates.
2002-01-20  Toon Moene  <toon@moene.indiv.nluug.nl>

	* Makefile.in: $(MULTISUBDIR) has an implied leading `/';
	remove duplicates.
	Use libtool for removing libg2c{a|la|so} for the `uninstall' target.

From-SVN: r49021
2002-01-20 19:58:42 +00:00
Toon Moene
d7af7a9ace Makefile.in: Add missing `/' separator in last change.
2002-01-18  Toon Moene  <toon@moene.indiv.nluug.nl>

	* Makefile.in: Add missing `/' separator in last change.

From-SVN: r48995
2002-01-18 20:07:36 +00:00
Toon Moene
5784b11456 Makefile.in: Install libg2c.{a|la|so} in $(libdir)$(MULTISUBDIR) instead of...
2002-01-18  Toon Moene  <toon@moene.indiv.nluug.nl>

	* Makefile.in: Install libg2c.{a|la|so} in $(libdir)$(MULTISUBDIR)
	instead of $(libsubdir)$(MULTISUBDIR).

From-SVN: r48994
2002-01-18 19:58:48 +00:00
Loren J. Rittle
0cc5f81223 * Makefile.in ($(LIBG2C):): Let libtool decide when to add -lc.
From-SVN: r48529
2002-01-04 06:22:49 +00:00
Alexandre Oliva
1b3ea405b0 * Makefile.in ($(LIBG2C)): Fix -rpath argument to libtool.
From-SVN: r47606
2001-12-04 10:02:51 +00:00
Alexandre Oliva
90f86cb5d1 Makefile.in (AR, RANLIB): Add, for substitutions.
* Makefile.in (AR, RANLIB): Add, for substitutions.
(all-unilib, $(LIBG2C)): Depend on object lists, not
convenience libraries.
(s-libe77): Renamed from libE77.la; build object list.
(install): Do not move libraries to libdir.
(mostlyclean, clean): Adjust.
* libF77/Makefile.in (RANLIB): Add.
(LINK): Remove.
(../s-libf77): Renamed from ../libF77.la; build object list.
(../libfrtbegin.a): Remove target first.  Don't use $<.
(all, clean, distclean): Adjust.
* libF77/configure.in: Substitute RANLIB.
* libF77/configure: Rebuilt.
* libI77/Makefile.in (LINK): Delete.
(../s-libi77): Renamed from ../libI77.la; build object list.
(all, clean, distclean): Adjust.
* libU77/Makefile.in: Likewise.

From-SVN: r47605
2001-12-04 09:53:18 +00:00
John David Anglin
f27315216e Makefile.in: Add MAKEOVERRIDES= to suppress exporting environment to (sub)shells.
2001-11-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>

	* Makefile.in: Add MAKEOVERRIDES= to suppress exporting
	environment to (sub)shells.

From-SVN: r47106
2001-11-16 21:29:29 +00:00
Toon Moene
f871d7bf4b Makefile.in: Change dependencies on stamp files into dependencies on the generated .la files.
2001-11-13  Toon Moene  <toon@moene.indiv.nluug.nl>

	* Makefile.in: Change dependencies on stamp files
	into dependencies on the generated .la files.
	Get rid of objlist.  Update comment.
	* libF77/Makefile.in: Ditto.
	* libI77/Makefile.in: Ditto.
	* libU77/Makefile.in: Ditto.

From-SVN: r46970
2001-11-13 00:55:38 +00:00
David Edelsohn
2434acdcbe Makefile.in: Do not include SUBDIRS in objlist.
2001-10-20  David Edelsohn  <dje@watson.ibm.com>

	* Makefile.in: Do not include SUBDIRS in objlist.  Create
	libg2c.so from F2CEXT and SUBDIRS archives.
	* libF77/Makefile.in: Create archive.
	* libI77/Makefile.in: Same.
	* libU77/Makefile.in: Same.

From-SVN: r46384
2001-10-20 16:02:09 +00:00
Toon Moene
855e983b25 Makefile.in: Move libg2c.so and libg2c.{l}a to the same directory at install.
2001-10-05  Toon Moene  <toon@moene.indiv.nluug.nl>

	* Makefile.in: Move libg2c.so and libg2c.{l}a to
	the same directory at install.

From-SVN: r46029
2001-10-05 06:51:46 +00:00
Toon Moene
4ffe74d94f Make-lang.in: Remove reference to FORTRAN_INIT.
2001-10-03  Toon Moene  <toon@moene.indiv.nluug.nl>

	gcc/f/
	* Make-lang.in: Remove reference to FORTRAN_INIT.
	* g77spec.c: Add reference to FORTRAN_INIT.

	libf2c/
	* Makefile.in: Add "AR" reference, change
	from frtbegin.o to libfrtbegin.a.
	* libF77/Makefile.in: Ditto.

From-SVN: r45985
2001-10-03 06:10:50 +00:00
Toon Moene
9fd7c995bf Makefile.in: Set major:minor:sub version number of shared libf2c to 0:0:0.
2001-10-01  Toon Moene  <toon@moene.indiv.nluug.nl>

	* Makefile.in: Set major:minor:sub version number
	of shared libf2c to 0:0:0.

From-SVN: r45918
2001-10-01 06:30:39 +00:00
Juergen Pfeifer
dedc4a53c1 Make libf2c a shared library (gcc/f directory).
2001-09-29  Juergen Pfeifer  <juergen.pfeifer@gmx.net>

	Make libf2c a shared library (gcc/f directory).

	* Make-lang.in: Pass define of frtbegin.o to compilation of g77spec.c.
	* g77spec.c (lang_specific_driver): Treat linking in of frtbegin.o.

2001-09-29  Juergen Pfeifer  <juergen.pfeifer@gmx.net>
            Toon Moene  <toon@moene.indiv.nluug.nl>

	Make libf2c a shared library (libf2c directory).

	* aclocal.m4: Get definition of libtool.
	* Makefile.in: Use libtool.
	* configure.in: Use libtool.
	* configure: Regenerated.
	* libF77/Makefile.in: Use libtool; treat main program contained in
	libF77/main.c specially.
	* libF77/configure.in: Use libtool.
	* libF77/configure: Regenerated.
	* libI77/Makefile.in: Use libtool.
	* libI77/configure.in: Use libtool.
	* libI77/configure: Regenerated.
	* libU77/Makefile.in: Use libtool.
	* libU77/configure.in: Use libtool.
	* libU77/configure: Regenerated.
	* libU77/date_.c: Adapt for -fPIC compiling.
	* libU77/vxtidate_.c: Ditto.

From-SVN: r45913
2001-09-30 22:06:23 +00:00
Zack Weinberg
861c44d0c9 * Makefile.in: Take PICFLAG and RUNTESTFLAGS out of FLAGS_TO_PASS.
From-SVN: r43761
2001-07-04 17:31:36 +00:00
Marc Espie
4ce8ba6e5a * Makefile.in: Prepend $(SHELL) to move-if-change calls.
From-SVN: r29397
1999-09-14 01:45:42 -06:00
Daniel Jacobowitz
76632dd06d Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix, libdir, libsubdir and tooldir.
* Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
        libdir, libsubdir and tooldir.
Applied in libchill, libf2c, libiberty and libobjc

From-SVN: r28569
1999-08-06 23:37:16 -06:00
Craig Burley
ec5e633a08 revert Sat Apr 17 patch
From-SVN: r26610
1999-04-24 04:10:00 -04:00
Craig Burley
134fddff1b better support SMP builds in libf2c
From-SVN: r26521
1999-04-17 10:37:14 -04:00
Craig Burley
411d4e28f8 Warn about invoking non-Y2K-compliant intrinsics
From-SVN: r25609
1999-03-05 18:40:12 -05:00
Nathan Sidwell
2d54e33a8f Makefile.in (distclean): Move Makefile deletion to end of commands.
* Makefile.in (distclean): Move Makefile deletion to end of
        commands.

From-SVN: r25116
1999-02-09 12:55:01 -07:00
Dave Love
ce43588feb Makefile.in (.SUFFIXES): Don't use any.
1998-10-12  Dave Love  <fx@gnu.org>
	* Makefile.in (.SUFFIXES): Don't use any.
	(all-unilib): New target, like old all.
	(all): Use it.
	(.PHONY): Add all-unilib.

From-SVN: r23045
1998-10-13 08:51:49 +00:00
Jeffrey A Law
9a07247c2a * Makefile.in: Revert last patch.
From-SVN: r22874
1998-10-06 14:18:21 -06:00
H.J. Lu
3f219cad5d Makefile.in (s-libi77): Depend on i77.
* Makefile.in (s-libi77): Depend on i77.
        (s-libf77): Depend on i77.
        (s-libu77): Depend on u77.

From-SVN: r22829
1998-10-04 18:17:29 -06:00
Dave Love
43b80f8247 Makefile.in (f2cext.c): Depend on g2c.h.
1998-09-30  Dave Love  <d.love@dl.ac.uk>
	* Makefile.in (f2cext.c): Depend on g2c.h.

From-SVN: r22668
1998-09-30 11:50:08 +00:00
Robert Lipe
bba4de62d4 Makefile.in (all): Correct dependencies do --disable-multilibs works again.
* Makefile.in (all): Correct dependencies do --disable-multilibs
	works again.
  	(distclean): Correct typo.

From-SVN: r22662
1998-09-30 08:05:57 +00:00
Robert Lipe
ab3003756e Makefile.in (distclean, [...]): Add multilib support.
* Makefile.in (distclean, clean, uninstall, install, all): Add
	multilib support.
	configure.in: Likewise.
	configure: Regenerate.
	* libF77/Makefile.in, libU77/Makefile.in, libI77/Makefile.in (clean):
	Explictly remove stamp in parent's directory.

From-SVN: r22519
1998-09-21 10:34:28 +00:00
Kamil Iskra
50a029fdcc Makefile.in (install): Add missing "else true;".
Thu Sep 10 14:57:25 1998  Kamil Iskra  <iskra@student.uci.agh.edu.pl>
	* Makefile.in (install): Add missing "else true;".

From-SVN: r22401
1998-09-13 04:19:15 +00:00
Jeffrey A Law
563f648be5 * Makefile.in (FLAGS_TO_PASS): Fix typo.
From-SVN: r22012
1998-08-26 16:20:34 -06:00
Dave Love
b07d089197 (s-libe77, ${srcdir}/configure, g2c.h, Makefile,
config.status, rebuilt): Rely on VPATH, dropping explicit use of
$(srcdir) in various places.

From-SVN: r21378
1998-07-25 05:37:48 +00:00
Dave Love
affb86c1b4 (all): Depend on s-libe77, not e77.
(.PHONY): Remove e77.

From-SVN: r21279
1998-07-19 04:54:06 +00:00
Jeffrey A Law
e3a0385963 g2c.hin: Renamed from g2c.h.in.
* g2c.hin: Renamed from g2c.h.in.
        * Makefile.in, configure.in: Changed as needed.
        * configure: Rebuilt.
        * libU77/config.hin: Renamed from libU77/config.h.in.
        * Makefile.in, configure.in: Changed as needed.
        * configure: Rebuilt.

From-SVN: r21202
1998-07-15 18:07:42 -06:00
Jeffrey A Law
5d01f362ff Makefile.in: stamp-lib* -> s-lib*.
* Makefile.in: stamp-lib* -> s-lib*.
        * libU77/Makefile.in: Likewise.
        * libF77/Makefile.in: Likewise.
        * libI77/Makefile.in: Likewise.

From-SVN: r21162
1998-07-14 14:27:34 -06:00
Gerald Pfeifer
0176af447d * Makefile.in (all): Invoke $(MAKE) instead of just make.
From-SVN: r21152
1998-07-14 13:04:13 -06:00
Dave Love
b53c05f514 Makefile.in: Re-write build procedure mainly to honour dependencies correctly but also allow...
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.

From-SVN: r21082
1998-07-12 05:02:03 +00:00
Mike Stump
27e581e328 Makefile.in (clean): Don't remove Makefiles, that is done in distclean.
* Makefile.in (clean): Don't remove Makefiles, that is done in
        distclean.

From-SVN: r20956
1998-07-06 15:01:47 -06:00
Dave Love
28ef523e11 (F2CEXT): Remove sclock.
(UOBJ): Add libU77/datetime_.o.

From-SVN: r20946
1998-07-06 09:51:36 +00:00
Jeffrey A Law
3efa279767 Makefile.in (FLAGS_TO_PASS, [...]): Use $(TARGET_SUBDIR) instead of hardcoding "libraries".
* Makefile.in (FLAGS_TO_PASS, case G2C_H_DIR): Use $(TARGET_SUBDIR)
        instead of hardcoding "libraries".

From-SVN: r20762
1998-06-27 16:09:32 -06:00
Manfred Hollstein
f1943b772f Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger.
d
egcs/ChangeLog:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger.
	(Makefile): Depend on $(gcc_version_trigger).
	* configure (gcc_version): Change default initializer to empty
	string.
	(gcc_version_trigger): New variable; pass this variable down
	to subdir configures to enable them checking gcc's version
	themselves. Emit make macros for both gcc_version vars.
	(topsrcdir): Initialize reliably.
	(recursion line): Remove --with-gcc-version=${gcc_version}.
egcs/gcc/ChangeLog:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* Makefile.in (gcc_version, gcc_version_trigger): New macros.
	(version): Initialize from $(gcc_version).
	* configure.in (version): Rename to gcc_version.
	(gcc_version_trigger): New variable; call AC_SUBST for it and
	emit it into the generated config.status.
	* configure: Regenerate.
egcs/libf2c/ChangeLog.egcs:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* Makefile.in (gcc_version_trigger): Add new macro.
	(config.status): Add dependency upon $(gcc_version_trigger).
	* configure.in (gcc_version_trigger): New variable; initialize
	using value from toplevel configure; add AC_SUBST for it.
	(gcc_version): Change initialization to use this new variable.
	* configure: Regenerate.
egcs/libio/ChangeLog:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* config.shared (FLAGS_TO_PASS): Add gcc_version_trigger.
	(Makefile): Add dependency upon $(gcc_version_trigger).

From-SVN: r20736
1998-06-26 02:13:51 +00:00
Manfred Hollstein
6174dcf375 configure (gcc_version): Initialize properly depending on how and where configure is started.
d
egcs/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure (gcc_version): Initialize properly depending on
	how and where configure is started.
	(recursion line): Pass a --with-gcc-version=${gcc_version}
	to configures in subdirs.
egcs/libf2c/ChangeLog.egcs:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
	* Makefile.in (version): Rename to gcc_version.
	* configure.in (version): Likewise.
	(gcc_version): Add code to use an option passed from parent configure.
	* configure: Regenerate.
egcs/libio/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
	* config.shared (FLAGS_TO_PASS): Add gcc_version.

From-SVN: r20687
1998-06-24 06:16:19 +00:00
Dave Love
0f1d4fada4 configure.in (version, [...]): Define.
X
	* configure.in (version, target_alias): Define.
	* Makefile.in (version, target_alias, libsubdir): Define.
	(install): Remove check for libsubdir.

From-SVN: r20633
1998-06-20 18:28:48 -06:00
Craig Burley
f30bc2e7f5 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 07:52:05 +00:00
Dave Love
2929d7a2a0 Makefile.in ($(lib)): Use shell loop instead of unportable make variable substitution.
1998-05-20  Dave Love  <d.love@dl.ac.uk>
	* Makefile.in ($(lib)): Use shell loop instead of unportable
	make variable substitution.

From-SVN: r19957
1998-05-22 10:49:26 +00:00
Craig Burley
5a276a25c6 Break up main() into separate .o's so making and linking against shared...
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

From-SVN: r19956
1998-05-22 10:32:18 +00:00
Dave Love
9992b2e1f1 u77-test.f: Tweak some o/p.
* libU77/u77-test.f: Tweak some o/p.
        * libU77/Makefile.in (check): Use -L for new directory structure.
        * Makefile.in (check): Run the u77 check.
        (config.status, Makefile): New targets.

From-SVN: r18059
1998-02-17 16:52:39 -07:00
Manfred Hollstein
7bd52f251f Makefile.in ($(lib)): Call $(AR) repeatedly to avoid overflowing argument size limit on ancious System V.
* Makefile.in ($(lib)): Call $(AR) repeatedly to avoid overflowing
        argument size limit on ancious System V.

From-SVN: r17848
1998-02-10 17:44:50 -07:00
Manfred Hollstein
12346e710c * Makefile.in: Add `info install-info clean-info check dvi' targets.
From-SVN: r17771
1998-02-07 16:30:55 -07:00
Jeff Law
81fea2b1d1 * Previous contents of gcc/f/runtime moved into toplevel
"libf2c" directory.

From-SVN: r17568
1998-01-31 18:37:08 -07:00