Commit graph

120 commits

Author SHA1 Message Date
Ken Raeburn
1e84ff7ed4 * Makefile.in (config-stamp): Add a "this file generated by make" message to
config.h.
1994-09-13 01:51:26 +00:00
Ken Raeburn
1be01033cf fix config.status, Makefile dependencies 1994-09-08 00:15:49 +00:00
Ken Raeburn
fa156ffebe Remove 'brokensed' hack, autoconf should make it unnecessary now. 1994-09-07 23:52:59 +00:00
Ken Raeburn
c7072f5689 * as.h (volatile): Don't test or define here; not needed.
(alloca): Replace alloca-conf.h inclusion with code recommended in autoconf
documentation.  Include config.h first.

Makefile.in (INCLUDES): Deleted last patch (using -I..).
1994-09-01 00:48:30 +00:00
Ken Raeburn
1bc37618f0 Makefile.in (INCLUDES): Include "-I.." for libiberty/alloca-conf.h. 1994-08-31 23:51:38 +00:00
Ken Raeburn
65ad84c14e Makefile.in (distclean, realclean): Remove new configure-generated files. 1994-08-28 20:26:27 +00:00
Ken Raeburn
b11fb93989 Conversion to autoconf:
* acconfig.h, aclocal.m4: New files.
* configure.in: Rewritten (except for some target-specific code) for autoconf.
* conf.in, configure: New files, generated from the above.
* Makefile.in: Changed magic sequence indicating insertion of makefile
fragments.
(VPATH, srcdir, CC, LIBS, OBJS dependencies): Use @-substitutions from
configure.
(LINKED_HEADERS): Deleted a.out.gnu.h, a.out.h, and host.h.
(config.status, configure): Rewrite rules.
(config-stamp): Depend on conf.  Skip variables that configure is now
substituting itself.
(*.o dependencies): Deleted host.h.
(distclean, realclean): Don't delete host.h.
* as.c: Don't include stdio.h, string.h, sys/types.h.  Include signal.h after
as.h.
* as.h: Include alloca-conf.h first.  Include ctype.h, string.h, strings.h,
stdlib.h, unistd.h, sys/types.h, fopen-bin.h, fopen-same.h, as suggested by
autoconf test results.
[BROKEN_ASSERT]: Don't include assert.h.
(strdup): Declare.
(volatile, const): Define if not __STDC__ and not already defined.
(malloc, realloc) [NEED_MALLOC_DECLARATION]: Declare.
(free) [NEED_FREE_DECLARATION]: Declare.
* gasp.c: Include config.h, stdlib.h (if HAVE_STDLIB_H).  Don't include host.h.
(malloc) [NEED_MALLOC_DECLARATION]: Declare.
* messages.c: Include as.h first.  Include errno.h only if HAVE_ERRNO_H.  If
HAVE_VARARGS_H and not __STDC__, undefine HAVE_STDARG_H.  Set NO_STDARG and
NO_VARARGS as appropriate.
* doc/Makefile.in (srcdir, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Use
autoconf @-substitutions.
1994-08-28 07:59:06 +00:00
Ken Raeburn
9a0d0964d8 (config-stamp): If $(defs) contains multiple words, emit a #define line for
each.
1994-06-16 00:46:20 +00:00
Bill Cox
0b3d0999e9 * Makefile.in (check): Delete as.new dependency, so that
regression test doesn't trigger an assembler build.
1994-06-08 13:30:30 +00:00
Ian Lance Taylor
daa7e18489 * Makefile.in (mostlyclean, realclean): New targets.
* doc/Makefile.in, testsuite/Makefile.in: Likewise.
1994-06-07 17:37:52 +00:00
Ken Raeburn
c06e55d99a changes from gas-2.3/binutils-2.4 dist (details in branch log msgs, changelogs) 1994-05-27 16:58:05 +00:00
Ian Lance Taylor
ac7f7dfeb9 * Makefile.in (install): Redirect ln output to /dev/null. If ln
fails on gasp, install gasp.new, not gasp.
1994-05-18 17:11:19 +00:00
Ken Raeburn
c92d9ee900 * Makefile.in: Make $(OBJS) depend on $(ALL_OBJ_DEPS).
* configure.in: Set ALL_OBJ_DEPS in output Makefile.

Based on suggestions from <BAILEY@hmivax.humgen.upenn.edu> (Charles Bailey):
* vmsconf.sh: In generated file, get ".obj" suffix right, build source files
from other directories into objects in the current directory, and specify PSECT
attributes explicitly to linker.  Also added missing label.
* Makefile.in (stamp-mk.com): Reference new variable VMS_OTHER_OBJS for list of
non-local object files, instead of listing them here.
(VMS_OTHER_OBJS): New variable, added more libiberty files.
* make-gas.com: Regenerated.

* config/ho-vms.h (unlink): Define as delete.

* config-gas.com: Fix quoting on TARGET_CANONICAL definition.  Delete files
before creating them.
1994-04-14 22:46:53 +00:00
Ian Lance Taylor
b3cd855535 * Makefile.in (de-stage1, de-stage2, de-stage3): Use rm -f. 1994-04-14 20:39:39 +00:00
Jeff Law
c20c75060d * Makefile.in (STAGESTUFF): Add gasp.new. 1994-03-20 20:06:53 +00:00
Steve Chamberlain
a5a4b5acdc Support for gasp. 1994-01-31 16:44:53 +00:00
Rob Savoye
03372cf4ab Change all occurances of RUNTEST_FLAGS to RUNTESTFLAGS to be consistant with
everything else. (and now work recursively too)
1994-01-26 21:44:50 +00:00
Ken Raeburn
420065a54e * configure.in (i386-*-netbsd*): New target, using te-netbsd.h.
(i386-*-netbsd0.8): New target, like 386bsd.

* configure.in: Set BFDDEF in Makefile to "define" or "undef".
* Makefile.in (config.h): Protect against multiple inclusions.  Define or undef
BFD_ASSEMBLER as specified by $(BFDDEF).
(ALL_CFLAGS): Omit $(BFDDEF).
1994-01-13 21:24:27 +00:00
Ken Raeburn
dffc8b9eb4 include literal.c, .o 1994-01-06 01:16:51 +00:00
Stan Shebs
5a0517735a Tue Jan 4 15:12:43 1994 Stan Shebs (shebs@andros.cygnus.com)
* Makefile.in (INCLUDES): Add $(srcdir)/.. to places to search.
	* config/obj-ecoff.c: Include files as "bfd/" instead of "../bfd/".
	* app.c, flonum.h, hex-value.c (const): Change #if to be more
	portable.
1994-01-04 23:35:56 +00:00
Ian Lance Taylor
c751ad1914 * Makefile.in (stabs.o): Added dependencies. 1993-11-30 16:25:18 +00:00
Ian Lance Taylor
9cc8106c47 * Makefile.in (REAL_SOURCES): Added ecoff.c.
(REAL_HEADERS): Added ecoff.h.
	(OBJS): Added ecoff.o.
	(ecoff.o): New target.
1993-11-17 23:25:35 +00:00
Jeff Law
7420b02b8d * Makefile.in (distclean): Delete config-stamp and config.h 1993-11-09 09:57:02 +00:00
Ken Raeburn
50fccebe22 (INCLUDES): Look in ../bfd, not ../include, for bfd.h. 1993-06-20 22:25:46 +00:00
Steve Chamberlain
a3a0a4d0a5 Look in the right place for bfd.h. 1993-06-18 21:08:36 +00:00
David D. Zuhn
5ebaf24b77 single-quote $program_transform_name 1993-06-18 19:25:38 +00:00
David D. Zuhn
9126738c04 canonicalize install.sh location 1993-06-17 23:56:08 +00:00
David D. Zuhn
a00ee52267 remove parentdir support 1993-06-16 01:00:29 +00:00
David D. Zuhn
c97b9003b0 remove parentdir support; use INSTALL_XFORM 1993-06-16 00:03:44 +00:00
David D. Zuhn
80c8fd72ed add installcheck 1993-03-23 08:03:44 +00:00
Jim Wilson
69498fa243 Make targ-cpu.o depend on config.h so gas will build from scratch. 1993-03-20 05:03:31 +00:00
Ken Raeburn
fc00f45193 config.h, version.c: Now generated from the Makefile.
ALL_CFLAGS: No longer define TARGET_CPU.
check: Print a message, rather than staying silent.
VERSION: New variable.
1993-03-12 02:58:15 +00:00
Ken Raeburn
7f2cb2702a Some cleanup.
Deleted some unused code.
Fixed some declarations to use PARAMS macro.
Fixed up configure.in for new targets.
Some whitespace/comment fixes.
Merged config/ChangeLog.
1992-12-03 23:54:54 +00:00
Ian Lance Taylor
efbfb612f4 Changes to make an installed cross-compiler find everything correctly.
Tue Sep 15 15:32:02 1992  Ian Lance Taylor  (ian@cygnus.com)

	* Makefile.in (install): if $(tooldir) exists, install as in
	$(tooldir)/bin.
1992-09-15 23:27:10 +00:00
Ken Raeburn
db4d20e5bf include opcode library 1992-09-09 01:27:27 +00:00
Ian Lance Taylor
7e10f53ccf Brought forward from p3:
Sun Aug 30 21:24:46 1992  Ian Lance Taylor  (ian@cygnus.com)

	* Makefile.in: map "as" through program_transform_name when
	installing.
1992-09-01 01:14:04 +00:00
Jim Wilson
b0952e128d Make as.new depend on LOCAL_LOADLIBES. 1992-08-29 19:12:04 +00:00
Ian Lance Taylor
7121231fbf Mon Aug 24 12:45:43 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: defined TARGET_CPU for C code so that it can choose
	one element of a family.
1992-08-24 19:48:24 +00:00
Ian Lance Taylor
4b85771064 Moved in from p3:
Tue Aug 18 14:16:38 1992  Ian Lance Taylor  (ian@cygnus.com)

	* Makefile.in: always create installation directories.  Removed
	MINUS_G, set CFLAGS to default to -g, added FLAGS_TO_PASS, passed
	FLAGS_TO_PASS to recursive makes.
1992-08-18 21:24:59 +00:00
K. Richard Pixley
c0bbfd27c6 get the CROSS macro into gcc's flags 1992-07-07 21:48:41 +00:00
Sean Eric Fagan
da7aaffbae The apollo make does not like lines which end in a backslash, but do not have
anything following (it tries to interpret the next line as a command; for
this file, the next line was merely more rules).
1992-04-07 22:16:41 +00:00
K. Richard Pixley
95a925b8f1 pass MAKEINFO macro on info 1992-03-14 03:08:29 +00:00
Steve Chamberlain
5d53038bb9 Fri Mar 13 08:03:03 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* flonum-const.c: renamed flonum-konst.c to stop dos name
	conflict.
1992-03-13 16:04:21 +00:00
K. Richard Pixley
787c6bfe70 This is the second batch of makefile changes. Libg++ makefiles were
checked in earlier.  These are Makefiles relevant to the progressive
release currently in progress.

* added exec_prefix
* default bindir now exec_prefix/bin
* default libdir now exec_prefix/lib
* default mandir now prefix/man
* default infodir now prefix/info
* added oldincludedir, default NULL
* remove all traces of the old -subdirs and -namesubdir support,
  including code, for loops, and all subdir/unsubdir stuff.
* remove old style staging targets {de-}stage[1234], comparison,
  bootstrapN, from all but the bootstrappable tools.
* added check targets.
* removed any "Last Mod" lines.
* forced copyrights to '92 and shifted some from Cygnus to FSF.
* added tooldir and program_prefix where needed.
* updated texinfo and man pages, removed all references to multiple
  hosts or targets.
1992-03-08 07:47:55 +00:00
K. Richard Pixley
6d5460ab89 changes from Minh Tran-Le <TRANLE@INTELLICORP.COM> to support i386
coff as it appears to be used on aix386.
1992-02-21 11:04:51 +00:00
K. Richard Pixley
79a54a5b52 doc. bring it in, use it. 1992-02-21 09:05:26 +00:00
K. Richard Pixley
542e1629fd fighting bitrot in a major way 1992-02-17 15:54:49 +00:00
K. Richard Pixley
3340f7e5fd White space and comment changes. #ifdef __STDC__ becomes #if __STDC__
== 1.  Get the declarations right in listing.[hc].
1992-02-15 21:13:03 +00:00
K. Richard Pixley
1058238c60 Fri Dec 6 23:16:43 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: install using INSTALL_DATA and INSTALL_PROGRAM.
	  correct include directory locations. added standards.text
	  support.

	* configure.in: mark this directory as target dependent.

Thu Dec  5 22:46:23 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* Makefile.in: idestdir and ddestdir go away.  Added
	  copyrights and shift gpl to v2.  Added ChangeLog if it
	  didn't exist. docdir and mandir now keyed off datadir by
	  default.
1991-12-07 07:19:08 +00:00
K. Richard Pixley
81f73963ae link as.new only if there is something to link to 1991-11-20 03:46:20 +00:00
K. Richard Pixley
b53404d270 make the stage link a soft one 1991-11-13 08:54:38 +00:00
K. Richard Pixley
51e2358ba9 get version from the right place 1991-11-08 00:13:45 +00:00
K. Richard Pixley
2e410706ab only build a link if it isn't there already 1991-11-07 10:14:32 +00:00
Steve Chamberlain
98945b2198 *** empty log message *** 1991-11-06 08:01:00 +00:00
Steve Chamberlain
bca0480e5a Uses ddestdir instead of destdir. 1991-11-05 21:17:49 +00:00
K. Richard Pixley
622e4c4c92 get libiberty path right 1991-11-05 00:48:42 +00:00
Roland Pesch
921faa529c doc/as.texinfo: minor changes for texi2roff-2
Makefile.in: revise 'doc' target.
1991-10-12 01:20:38 +00:00
K. Richard Pixley
c2fa4ebcdd new binary layout and cp/mv instead of INSTALL 1991-10-10 08:17:32 +00:00
K. Richard Pixley
f6b67e4cdd Creating Makefile stubs in preparation for mips three-stage. 1991-10-10 04:56:18 +00:00
K. Richard Pixley
d964a611c0 Some $(srcdir)'s become $(unsubdir)'s. 1991-10-02 12:35:42 +00:00
K. Richard Pixley
f1eb48b62e no more configure on which to depend 1991-10-02 07:24:45 +00:00
K. Richard Pixley
a26878d1fa Exploit the new executable config.status 1991-10-01 03:46:00 +00:00
K. Richard Pixley
da0b2bff46 Link via as.new to avoid what might be some other cross assembler for
people with '.' in their paths.

Also, push as.new into as.old in an attempt to catch a couple gdb
bugs.
1991-09-01 23:38:30 +00:00
K. Richard Pixley
5d63a6687f Awk for version number. 1991-06-12 21:34:45 +00:00
K. Richard Pixley
a01bf1fbc1 added support for binary comparisons. 1991-06-09 20:27:20 +00:00
K. Richard Pixley
d1a9e59485 Buying into ../include and ../libiberty. 1991-05-18 02:15:32 +00:00
K. Richard Pixley
6a3958b22d Three staging checkpoint. 1991-04-24 16:52:32 +00:00
K. Richard Pixley
3d6f098360 Now handles multiple hosts and targets. 1991-04-15 23:57:22 +00:00
K. Richard Pixley
61907f5122 Cut 2 config. Subdirs. 1991-04-11 02:24:30 +00:00
K. Richard Pixley
fecd2382e7 Initial revision 1991-04-04 18:19:53 +00:00