* Makefile.in (*_FOR_TARGET, INSTALL_XFORM, install, uninstall): Rewrite
handling of program_transform_name.
* configure.in: Test for "unlink" and "delete", define USE_DELETE_FOR_UNLINK if
only the latter is found. Not expected to be triggered on UNIX/POSIX systems.
* acconfig.h (USE_DELETE_FOR_UNLINK): Undef here, provide comments.
Update for autoconf 1.118:
* gdbinit.in: New file, created from old .gdbinit.
* .gdbinit: Deleted.
* aclocal.m4 (GAS_GDBINIT): Deleted.
* configure.in: Don't use it. Instead, generate .gdbinit from gdbinit.in.
Don't substitute cpu_type, obj_format, emulation, atof. Switched order of
AC_LINK_FILES arguments. Use AC_PREREQ to ensure that older versions of
autoconf aren't used.
* Makefile.in: Added @configure_input@ line.
(configure): Deleted rule.
[regenerated conf.in, configure]
1994-09-14 00:27:20 +02:00
|
|
|
## @configure_input@
|
1991-04-04 20:19:53 +02:00
|
|
|
# Makefile for GNU Assembler
|
1993-11-09 10:57:02 +01:00
|
|
|
# Copyright (C) 1987-1992, 1993 Free Software Foundation, Inc.
|
1991-04-04 20:19:53 +02:00
|
|
|
|
1993-11-09 10:57:02 +01:00
|
|
|
# This file is part of GNU GAS.
|
1991-04-04 20:19:53 +02:00
|
|
|
|
1993-11-09 10:57:02 +01:00
|
|
|
# GNU GAS 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.
|
1991-04-04 20:19:53 +02:00
|
|
|
|
1993-11-09 10:57:02 +01:00
|
|
|
# GNU GAS 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.
|
1991-04-04 20:19:53 +02:00
|
|
|
|
1993-11-09 10:57:02 +01:00
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with GNU GAS; see the file COPYING. If not, write to
|
|
|
|
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
1991-04-04 20:19:53 +02:00
|
|
|
|
|
|
|
# The targets for external use include:
|
|
|
|
# all, doc, proto, install, uninstall, includes, TAGS,
|
1994-06-07 19:37:52 +02:00
|
|
|
# clean, mostlyclean, distclean, realclean, stage1, stage2, stage3, stage4.
|
1991-04-04 20:19:53 +02:00
|
|
|
|
|
|
|
# Variables that exist for you to override.
|
|
|
|
# See below for how to change them for certain systems.
|
|
|
|
|
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 09:59:06 +02:00
|
|
|
VPATH = @srcdir@
|
|
|
|
srcdir = @srcdir@
|
1993-11-09 10:57:02 +01:00
|
|
|
srcroot = $(srcdir)/..
|
1991-12-07 08:19:08 +01:00
|
|
|
|
1994-09-08 01:52:59 +02:00
|
|
|
target_alias = @target_alias@
|
1994-09-01 01:51:38 +02:00
|
|
|
prefix = @prefix@
|
1991-12-07 08:19:08 +01:00
|
|
|
|
1994-09-08 01:52:59 +02:00
|
|
|
program_transform_name = @program_transform_name@
|
1994-09-01 01:51:38 +02:00
|
|
|
exec_prefix = @exec_prefix@
|
1992-03-08 08:47:55 +01:00
|
|
|
bindir = $(exec_prefix)/bin
|
|
|
|
libdir = $(exec_prefix)/lib
|
1992-09-16 01:27:10 +02:00
|
|
|
tooldir = $(libdir)/$(target_alias)
|
1992-03-08 08:47:55 +01:00
|
|
|
|
1991-12-07 08:19:08 +01:00
|
|
|
datadir = $(prefix)/lib
|
1992-03-08 08:47:55 +01:00
|
|
|
mandir = $(prefix)/man
|
1991-12-07 08:19:08 +01:00
|
|
|
man1dir = $(mandir)/man1
|
|
|
|
man2dir = $(mandir)/man2
|
|
|
|
man3dir = $(mandir)/man3
|
|
|
|
man4dir = $(mandir)/man4
|
|
|
|
man5dir = $(mandir)/man5
|
|
|
|
man6dir = $(mandir)/man6
|
|
|
|
man7dir = $(mandir)/man7
|
|
|
|
man8dir = $(mandir)/man8
|
|
|
|
man9dir = $(mandir)/man9
|
1992-03-08 08:47:55 +01:00
|
|
|
infodir = $(prefix)/info
|
1991-12-07 08:19:08 +01:00
|
|
|
includedir = $(prefix)/include
|
|
|
|
docdir = $(datadir)/doc
|
|
|
|
|
1994-09-28 20:21:20 +01:00
|
|
|
VERSION=cygnus-2.4.90
|
1993-06-16 02:03:44 +02:00
|
|
|
|
1991-04-04 20:19:53 +02:00
|
|
|
SHELL = /bin/sh
|
1991-12-07 08:19:08 +01:00
|
|
|
|
1993-11-09 10:57:02 +01:00
|
|
|
INSTALL = $${srcroot}/install.sh -c
|
1991-04-04 20:19:53 +02:00
|
|
|
INSTALL_PROGRAM = $(INSTALL)
|
1991-12-07 08:19:08 +01:00
|
|
|
INSTALL_DATA = $(INSTALL)
|
* Makefile.in (*_FOR_TARGET, INSTALL_XFORM, install, uninstall): Rewrite
handling of program_transform_name.
* configure.in: Test for "unlink" and "delete", define USE_DELETE_FOR_UNLINK if
only the latter is found. Not expected to be triggered on UNIX/POSIX systems.
* acconfig.h (USE_DELETE_FOR_UNLINK): Undef here, provide comments.
Update for autoconf 1.118:
* gdbinit.in: New file, created from old .gdbinit.
* .gdbinit: Deleted.
* aclocal.m4 (GAS_GDBINIT): Deleted.
* configure.in: Don't use it. Instead, generate .gdbinit from gdbinit.in.
Don't substitute cpu_type, obj_format, emulation, atof. Switched order of
AC_LINK_FILES arguments. Use AC_PREREQ to ensure that older versions of
autoconf aren't used.
* Makefile.in: Added @configure_input@ line.
(configure): Deleted rule.
[regenerated conf.in, configure]
1994-09-14 00:27:20 +02:00
|
|
|
INSTALL_XFORM = $(INSTALL) -t='-e "$(program_transform_name)"'
|
1993-06-16 02:03:44 +02:00
|
|
|
INSTALL_XFORM1= $(INSTALL_XFORM) -b=.1
|
1991-04-04 20:19:53 +02:00
|
|
|
|
1991-12-07 08:19:08 +01:00
|
|
|
AR = ar
|
|
|
|
AR_FLAGS = qv
|
|
|
|
BISON = bison
|
|
|
|
MAKEINFO = makeinfo
|
1993-06-16 02:03:44 +02:00
|
|
|
TEXI2DVI = texi2dvi
|
1991-04-04 20:19:53 +02:00
|
|
|
RANLIB = ranlib
|
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 09:59:06 +02:00
|
|
|
CC = @CC@
|
1992-08-18 23:24:59 +02:00
|
|
|
CFLAGS = -g
|
|
|
|
|
1993-11-09 10:57:02 +01:00
|
|
|
MAKEOVERRIDES=
|
|
|
|
|
1993-06-16 02:03:44 +02:00
|
|
|
AS_FOR_TARGET = $${here}/as.new
|
|
|
|
|
|
|
|
CC_FOR_TARGET = ` \
|
|
|
|
if [ -f $${here}/../gcc/Makefile ] ; then \
|
|
|
|
echo $${here}/../gcc/xgcc -B$${here}/../gcc/; \
|
|
|
|
else \
|
|
|
|
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
|
|
|
|
echo $(CC); \
|
|
|
|
else \
|
* Makefile.in (*_FOR_TARGET, INSTALL_XFORM, install, uninstall): Rewrite
handling of program_transform_name.
* configure.in: Test for "unlink" and "delete", define USE_DELETE_FOR_UNLINK if
only the latter is found. Not expected to be triggered on UNIX/POSIX systems.
* acconfig.h (USE_DELETE_FOR_UNLINK): Undef here, provide comments.
Update for autoconf 1.118:
* gdbinit.in: New file, created from old .gdbinit.
* .gdbinit: Deleted.
* aclocal.m4 (GAS_GDBINIT): Deleted.
* configure.in: Don't use it. Instead, generate .gdbinit from gdbinit.in.
Don't substitute cpu_type, obj_format, emulation, atof. Switched order of
AC_LINK_FILES arguments. Use AC_PREREQ to ensure that older versions of
autoconf aren't used.
* Makefile.in: Added @configure_input@ line.
(configure): Deleted rule.
[regenerated conf.in, configure]
1994-09-14 00:27:20 +02:00
|
|
|
echo gcc | sed '$(program_transform_name)'; \
|
1993-06-16 02:03:44 +02:00
|
|
|
fi; \
|
|
|
|
fi`
|
|
|
|
|
* Makefile.in (*_FOR_TARGET, INSTALL_XFORM, install, uninstall): Rewrite
handling of program_transform_name.
* configure.in: Test for "unlink" and "delete", define USE_DELETE_FOR_UNLINK if
only the latter is found. Not expected to be triggered on UNIX/POSIX systems.
* acconfig.h (USE_DELETE_FOR_UNLINK): Undef here, provide comments.
Update for autoconf 1.118:
* gdbinit.in: New file, created from old .gdbinit.
* .gdbinit: Deleted.
* aclocal.m4 (GAS_GDBINIT): Deleted.
* configure.in: Don't use it. Instead, generate .gdbinit from gdbinit.in.
Don't substitute cpu_type, obj_format, emulation, atof. Switched order of
AC_LINK_FILES arguments. Use AC_PREREQ to ensure that older versions of
autoconf aren't used.
* Makefile.in: Added @configure_input@ line.
(configure): Deleted rule.
[regenerated conf.in, configure]
1994-09-14 00:27:20 +02:00
|
|
|
NM=nm
|
1993-06-16 02:03:44 +02:00
|
|
|
NM_FOR_TARGET = ` \
|
|
|
|
if [ -f $${here}/../binutils/Makefile ] ; then \
|
|
|
|
echo $${here}/../binutils/nm ; \
|
|
|
|
else \
|
|
|
|
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
|
|
|
|
echo $(NM); \
|
|
|
|
else \
|
* Makefile.in (*_FOR_TARGET, INSTALL_XFORM, install, uninstall): Rewrite
handling of program_transform_name.
* configure.in: Test for "unlink" and "delete", define USE_DELETE_FOR_UNLINK if
only the latter is found. Not expected to be triggered on UNIX/POSIX systems.
* acconfig.h (USE_DELETE_FOR_UNLINK): Undef here, provide comments.
Update for autoconf 1.118:
* gdbinit.in: New file, created from old .gdbinit.
* .gdbinit: Deleted.
* aclocal.m4 (GAS_GDBINIT): Deleted.
* configure.in: Don't use it. Instead, generate .gdbinit from gdbinit.in.
Don't substitute cpu_type, obj_format, emulation, atof. Switched order of
AC_LINK_FILES arguments. Use AC_PREREQ to ensure that older versions of
autoconf aren't used.
* Makefile.in: Added @configure_input@ line.
(configure): Deleted rule.
[regenerated conf.in, configure]
1994-09-14 00:27:20 +02:00
|
|
|
echo nm | sed '$(program_transform_name)' ; \
|
1993-06-16 02:03:44 +02:00
|
|
|
fi; \
|
|
|
|
fi`
|
|
|
|
|
|
|
|
OBJDUMP=objdump
|
|
|
|
OBJDUMP_FOR_TARGET = ` \
|
|
|
|
if [ -f $${here}/../binutils/Makefile ] ; then \
|
|
|
|
echo $${here}/../binutils/objdump ; \
|
|
|
|
else \
|
|
|
|
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
|
|
|
|
echo $(OBJDUMP); \
|
|
|
|
else \
|
* Makefile.in (*_FOR_TARGET, INSTALL_XFORM, install, uninstall): Rewrite
handling of program_transform_name.
* configure.in: Test for "unlink" and "delete", define USE_DELETE_FOR_UNLINK if
only the latter is found. Not expected to be triggered on UNIX/POSIX systems.
* acconfig.h (USE_DELETE_FOR_UNLINK): Undef here, provide comments.
Update for autoconf 1.118:
* gdbinit.in: New file, created from old .gdbinit.
* .gdbinit: Deleted.
* aclocal.m4 (GAS_GDBINIT): Deleted.
* configure.in: Don't use it. Instead, generate .gdbinit from gdbinit.in.
Don't substitute cpu_type, obj_format, emulation, atof. Switched order of
AC_LINK_FILES arguments. Use AC_PREREQ to ensure that older versions of
autoconf aren't used.
* Makefile.in: Added @configure_input@ line.
(configure): Deleted rule.
[regenerated conf.in, configure]
1994-09-14 00:27:20 +02:00
|
|
|
echo objdump | sed '$(program_transform_name)' ; \
|
1993-06-16 02:03:44 +02:00
|
|
|
fi; \
|
|
|
|
fi`
|
|
|
|
|
1992-08-18 23:24:59 +02:00
|
|
|
FLAGS_TO_PASS = \
|
|
|
|
"prefix=$(prefix)" \
|
|
|
|
"exec_prefix=$(exec_prefix)" \
|
|
|
|
"tooldir=$(tooldir)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"CFLAGS=$(CFLAGS)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"LEX=$(LEX)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
|
|
|
"INSTALL=$(INSTALL)" \
|
|
|
|
"INSTALL_DATA=$(INSTALL_DATA)" \
|
|
|
|
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)"
|
1991-04-04 20:19:53 +02:00
|
|
|
|
1994-01-05 00:35:56 +01:00
|
|
|
RUNTEST=runtest
|
1993-06-16 02:03:44 +02:00
|
|
|
CHECKFLAGS= \
|
|
|
|
"AS_FOR_TARGET=$(AS_FOR_TARGET)" \
|
|
|
|
"CC_FOR_TARGET=$(CC_FOR_TARGET)" \
|
|
|
|
"NM_FOR_TARGET=$(NM_FOR_TARGET)" \
|
1993-11-09 10:57:02 +01:00
|
|
|
"OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
|
1994-01-26 22:44:50 +01:00
|
|
|
"RUNTESTFLAGS=$(RUNTESTFLAGS)" \
|
1994-01-05 00:35:56 +01:00
|
|
|
"RUNTEST=$(RUNTEST)"
|
1993-06-16 02:03:44 +02:00
|
|
|
|
1991-04-04 20:19:53 +02:00
|
|
|
# Lists of files for various purposes.
|
|
|
|
|
|
|
|
REAL_SOURCES = \
|
|
|
|
$(srcdir)/app.c \
|
|
|
|
$(srcdir)/as.c \
|
|
|
|
$(srcdir)/atof-generic.c \
|
|
|
|
$(srcdir)/bignum-copy.c \
|
|
|
|
$(srcdir)/cond.c \
|
|
|
|
$(srcdir)/expr.c \
|
1992-03-13 17:04:21 +01:00
|
|
|
$(srcdir)/flonum-konst.c \
|
1991-04-04 20:19:53 +02:00
|
|
|
$(srcdir)/flonum-copy.c \
|
|
|
|
$(srcdir)/flonum-mult.c \
|
|
|
|
$(srcdir)/frags.c \
|
|
|
|
$(srcdir)/hash.c \
|
|
|
|
$(srcdir)/hex-value.c \
|
|
|
|
$(srcdir)/input-file.c \
|
|
|
|
$(srcdir)/input-scrub.c \
|
1994-01-06 02:16:51 +01:00
|
|
|
$(srcdir)/literal.c \
|
1991-04-04 20:19:53 +02:00
|
|
|
$(srcdir)/messages.c \
|
|
|
|
$(srcdir)/output-file.c \
|
|
|
|
$(srcdir)/read.c \
|
|
|
|
$(srcdir)/subsegs.c \
|
|
|
|
$(srcdir)/symbols.c \
|
|
|
|
$(srcdir)/write.c \
|
1992-02-15 22:13:03 +01:00
|
|
|
$(srcdir)/listing.c \
|
1993-11-18 00:25:35 +01:00
|
|
|
$(srcdir)/ecoff.c \
|
1993-11-30 17:25:18 +01:00
|
|
|
$(srcdir)/stabs.c \
|
1992-12-04 00:54:54 +01:00
|
|
|
$(srcdir)/xmalloc.c
|
1991-04-04 20:19:53 +02:00
|
|
|
|
|
|
|
# in an expedient order
|
|
|
|
LINKED_SOURCES = \
|
|
|
|
targ-cpu.c \
|
|
|
|
obj-format.c \
|
|
|
|
atof-targ.c
|
|
|
|
|
|
|
|
SOURCES = $(LINKED_SOURCES) $(REAL_SOURCES)
|
|
|
|
|
|
|
|
REAL_HEADERS = \
|
|
|
|
$(srcdir)/as.h \
|
|
|
|
$(srcdir)/bignum.h \
|
|
|
|
$(srcdir)/expr.h \
|
|
|
|
$(srcdir)/flonum.h \
|
|
|
|
$(srcdir)/frags.h \
|
|
|
|
$(srcdir)/hash.h \
|
|
|
|
$(srcdir)/input-file.h \
|
1992-02-17 16:54:49 +01:00
|
|
|
$(srcdir)/listing.h \
|
1991-04-04 20:19:53 +02:00
|
|
|
$(srcdir)/tc.h \
|
|
|
|
$(srcdir)/obj.h \
|
|
|
|
$(srcdir)/read.h \
|
|
|
|
$(srcdir)/struc-symbol.h \
|
|
|
|
$(srcdir)/subsegs.h \
|
|
|
|
$(srcdir)/symbols.h \
|
1993-11-18 00:25:35 +01:00
|
|
|
$(srcdir)/write.h \
|
|
|
|
$(srcdir)/ecoff.h
|
1991-04-04 20:19:53 +02:00
|
|
|
|
|
|
|
LINKED_HEADERS = \
|
|
|
|
targ-env.h \
|
|
|
|
targ-cpu.h \
|
|
|
|
obj-format.h \
|
|
|
|
atof-targ.h
|
|
|
|
|
|
|
|
HEADERS = $(LINKED_HEADERS) $(REAL_HEADERS)
|
|
|
|
|
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 09:59:06 +02:00
|
|
|
# @target_frag@
|
1994-04-14 22:39:39 +02:00
|
|
|
|
1991-04-04 20:19:53 +02:00
|
|
|
OBJS = \
|
|
|
|
targ-cpu.o \
|
|
|
|
obj-format.o \
|
|
|
|
atof-targ.o \
|
|
|
|
app.o \
|
|
|
|
as.o \
|
|
|
|
atof-generic.o \
|
|
|
|
bignum-copy.o \
|
|
|
|
cond.o \
|
|
|
|
expr.o \
|
1992-03-13 17:04:21 +01:00
|
|
|
flonum-konst.o \
|
1991-04-04 20:19:53 +02:00
|
|
|
flonum-copy.o \
|
|
|
|
flonum-mult.o \
|
|
|
|
frags.o \
|
|
|
|
hash.o \
|
|
|
|
hex-value.o \
|
|
|
|
input-file.o \
|
|
|
|
input-scrub.o \
|
1994-01-06 02:16:51 +01:00
|
|
|
literal.o \
|
1991-04-04 20:19:53 +02:00
|
|
|
messages.o \
|
|
|
|
output-file.o \
|
|
|
|
read.o \
|
|
|
|
subsegs.o \
|
|
|
|
symbols.o \
|
|
|
|
write.o \
|
1992-02-15 22:13:03 +01:00
|
|
|
listing.o \
|
1993-11-18 00:25:35 +01:00
|
|
|
ecoff.o \
|
1993-11-30 17:25:18 +01:00
|
|
|
stabs.o \
|
1994-04-14 22:39:39 +02:00
|
|
|
xmalloc.o \
|
|
|
|
$(TE_OBJS)
|
1991-10-10 05:56:18 +01:00
|
|
|
|
1994-04-15 00:46:53 +02:00
|
|
|
# These are objects we know we'll be pulling in from other directories.
|
|
|
|
# For VMS, we have to build them explicitly.
|
|
|
|
VMS_OTHER_OBJS = \
|
|
|
|
../libiberty/obstack.o \
|
|
|
|
../libiberty/strdup.o \
|
|
|
|
../libiberty/strncasecmp.o \
|
1994-09-28 20:21:20 +01:00
|
|
|
../libiberty/concat.o \
|
|
|
|
../libiberty/getopt.o \
|
|
|
|
../libiberty/getopt1.o \
|
1994-04-15 00:46:53 +02:00
|
|
|
../libiberty/getruntime.o
|
|
|
|
|
1994-09-30 00:03:07 +01:00
|
|
|
all: .gdbinit as.new gasp.new
|
1993-11-09 10:57:02 +01:00
|
|
|
@srcroot=`cd $(srcroot); pwd`; export srcroot; \
|
|
|
|
(cd doc ; $(MAKE) $(FLAGS_TO_PASS) all)
|
1992-02-21 10:05:26 +01:00
|
|
|
|
1993-11-09 10:57:02 +01:00
|
|
|
dvi info install-info clean-info:
|
|
|
|
@srcroot=`cd $(srcroot); pwd`; export srcroot; \
|
|
|
|
(cd doc ; $(MAKE) $(FLAGS_TO_PASS) $@)
|
1991-04-04 20:19:53 +02:00
|
|
|
|
1994-03-20 21:06:53 +01:00
|
|
|
make-gas.com: stamp-mk.com
|
|
|
|
stamp-mk.com: vmsconf.sh Makefile
|
1994-04-15 00:46:53 +02:00
|
|
|
sh $(srcdir)/vmsconf.sh $(OBJS) $(VMS_OTHER_OBJS) > new-make.com
|
1994-03-20 21:06:53 +01:00
|
|
|
$(srcdir)/../move-if-change new-make.com $(srcdir)/make-gas.com
|
|
|
|
touch stamp-mk.com
|
|
|
|
|
1991-04-04 20:19:53 +02:00
|
|
|
# Now figure out from those variables how to compile and link.
|
|
|
|
|
|
|
|
# This is the variable actually used when we compile.
|
1994-01-13 22:24:27 +01:00
|
|
|
ALL_CFLAGS = $(INTERNAL_CFLAGS) $(CROSS) $(CFLAGS) $(HDEFINES) $(TDEFINES)
|
1991-04-04 20:19:53 +02:00
|
|
|
|
|
|
|
# How to link with both our special library facilities
|
|
|
|
# and the system's installed libraries.
|
1991-10-10 05:56:18 +01:00
|
|
|
|
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 09:59:06 +02:00
|
|
|
LIBS = @OPCODES_LIB@ @BFDLIB@ $(LOCAL_LOADLIBES) ../libiberty/libiberty.a
|
1991-04-04 20:19:53 +02:00
|
|
|
|
|
|
|
# Specify the directories to be searched for header files.
|
|
|
|
# Both . and srcdir are used, in that order,
|
|
|
|
# so that tm.h and config.h will be found in the compilation
|
|
|
|
# subdirectory rather than in the source directory.
|
1994-09-01 02:48:30 +02:00
|
|
|
INCLUDES = -I. -I$(srcdir) -I../bfd -I$(srcdir)/config -I$(srcdir)/../include -I$(srcdir)/..
|
1991-12-07 08:19:08 +01:00
|
|
|
SUBDIR_INCLUDES = -I.. -I$(srcdir) -I$(srcdir)/config
|
1991-04-04 20:19:53 +02:00
|
|
|
|
|
|
|
# Always use -I$(srcdir)/config when compiling.
|
|
|
|
.c.o:
|
|
|
|
$(CC) -c $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) $<
|
|
|
|
|
|
|
|
# This tells GNU make version 3 not to export all the variables
|
|
|
|
# defined in this file into the environment.
|
|
|
|
.NOEXPORT:
|
1992-02-17 16:54:49 +01:00
|
|
|
|
1991-04-04 20:19:53 +02:00
|
|
|
# Files to be copied away after each stage in building.
|
1994-03-20 21:06:53 +01:00
|
|
|
STAGESTUFF = *.o as.new gasp.new
|
1991-04-04 20:19:53 +02:00
|
|
|
|
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 09:59:06 +02:00
|
|
|
$(OBJS): @ALL_OBJ_DEPS@
|
1994-04-15 00:46:53 +02:00
|
|
|
|
1992-12-04 00:54:54 +01:00
|
|
|
as.new: $(OBJS) $(LIBS)
|
1991-09-02 01:38:30 +02:00
|
|
|
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o as.new $(OBJS) $(LIBS) $(LOADLIBES)
|
1991-04-04 20:19:53 +02:00
|
|
|
|
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 09:59:06 +02:00
|
|
|
$(OBJS): config.h
|
|
|
|
|
1994-01-31 17:44:53 +01:00
|
|
|
gasp.new: gasp.o
|
|
|
|
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o gasp.new gasp.o $(LIBS) $(LOADLIBES)
|
|
|
|
|
1993-06-16 02:03:44 +02:00
|
|
|
installcheck:
|
|
|
|
@echo No installcheck target is available yet for the GNU assembler.
|
|
|
|
|
1994-06-08 15:30:30 +02:00
|
|
|
check:
|
1993-06-16 02:03:44 +02:00
|
|
|
@(here=`pwd` ; export here ; \
|
|
|
|
cd testsuite ; $(MAKE) $(FLAGS_TO_PASS) $(CHECKFLAGS) check)
|
1992-03-08 08:47:55 +01:00
|
|
|
|
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 09:59:06 +02:00
|
|
|
config.status: configure
|
|
|
|
if [ -r config.status ]; then \
|
1994-09-08 02:15:49 +02:00
|
|
|
sh ./config.status --recheck ; \
|
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 09:59:06 +02:00
|
|
|
else \
|
|
|
|
echo You must configure gas. Look at the INSTALL file for details. ; \
|
|
|
|
exit 1 ; \
|
|
|
|
fi
|
|
|
|
|
1993-03-12 03:58:15 +01:00
|
|
|
config.h: config-stamp ; @true
|
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 09:59:06 +02:00
|
|
|
config-stamp: Makefile conf
|
1993-03-12 03:58:15 +01:00
|
|
|
-rm -f config.new config-stamp
|
1994-09-13 03:51:26 +02:00
|
|
|
echo '/* config.h. Generated automatically by make. */' > config.new
|
|
|
|
echo '#ifndef GAS_VERSION' >> config.new
|
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 09:59:06 +02:00
|
|
|
echo '#define GAS_VERSION "$(VERSION)"' >> config.new
|
|
|
|
echo '' >> config.new
|
|
|
|
cat conf >> config.new
|
|
|
|
echo '#endif /* GAS_VERSION */' >> config.new
|
1993-03-12 03:58:15 +01:00
|
|
|
$(srcdir)/../move-if-change config.new config.h
|
|
|
|
touch config-stamp
|
|
|
|
|
1991-04-04 20:19:53 +02:00
|
|
|
# Compiling object files from source files.
|
|
|
|
|
1994-09-28 20:28:24 +01:00
|
|
|
gasp.o : gasp.c config.h
|
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 09:59:06 +02:00
|
|
|
app.o : app.c as.h targ-env.h obj-format.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
targ-cpu.h struc-symbol.h \
|
1991-04-04 20:19:53 +02:00
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h
|
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 09:59:06 +02:00
|
|
|
as.o : as.c as.h targ-env.h obj-format.h output-file.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
targ-cpu.h struc-symbol.h \
|
1992-12-04 00:54:54 +01:00
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h subsegs.h \
|
1993-03-12 03:58:15 +01:00
|
|
|
tc.h obj.h config.h
|
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 09:59:06 +02:00
|
|
|
atof-generic.o : atof-generic.c as.h targ-env.h obj-format.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
targ-cpu.h struc-symbol.h \
|
1991-04-04 20:19:53 +02:00
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h
|
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 09:59:06 +02:00
|
|
|
bignum-copy.o : bignum-copy.c as.h \
|
1991-04-04 20:19:53 +02:00
|
|
|
targ-env.h obj-format.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
targ-cpu.h struc-symbol.h \
|
1991-04-04 20:19:53 +02:00
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h
|
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 09:59:06 +02:00
|
|
|
cond.o : cond.c as.h targ-env.h obj-format.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
targ-cpu.h struc-symbol.h \
|
1992-04-08 00:16:41 +02:00
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h
|
|
|
|
|
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 09:59:06 +02:00
|
|
|
debug.o : debug.c as.h targ-env.h obj-format.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
targ-cpu.h struc-symbol.h \
|
1991-04-04 20:19:53 +02:00
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h \
|
|
|
|
subsegs.h
|
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 09:59:06 +02:00
|
|
|
expr.o : expr.c as.h targ-env.h obj-format.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
targ-cpu.h struc-symbol.h \
|
1992-04-08 00:16:41 +02:00
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h
|
|
|
|
|
1992-03-13 17:04:21 +01:00
|
|
|
flonum-konst.o : flonum-konst.c flonum.h bignum.h
|
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 09:59:06 +02:00
|
|
|
flonum-copy.o : flonum-copy.c as.h targ-env.h obj-format.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
targ-cpu.h struc-symbol.h \
|
1991-04-04 20:19:53 +02:00
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h
|
|
|
|
flonum-mult.o : flonum-mult.c flonum.h bignum.h
|
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 09:59:06 +02:00
|
|
|
frags.o : frags.c as.h targ-env.h obj-format.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
targ-cpu.h struc-symbol.h \
|
1991-04-04 20:19:53 +02:00
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
subsegs.h
|
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 09:59:06 +02:00
|
|
|
hash.o : hash.c as.h targ-env.h obj-format.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
targ-cpu.h struc-symbol.h \
|
1991-04-04 20:19:53 +02:00
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h
|
|
|
|
hex-value.o : hex-value.c
|
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 09:59:06 +02:00
|
|
|
input-file.o : input-file.c as.h \
|
1991-04-04 20:19:53 +02:00
|
|
|
targ-env.h obj-format.h targ-cpu.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
struc-symbol.h write.h flonum.h bignum.h expr.h \
|
1991-04-04 20:19:53 +02:00
|
|
|
frags.h hash.h read.h symbols.h tc.h obj.h input-file.h
|
|
|
|
input-scrub.o : input-scrub.c /usr/include/errno.h /usr/include/sys/errno.h \
|
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 09:59:06 +02:00
|
|
|
as.h targ-env.h obj-format.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
targ-cpu.h struc-symbol.h \
|
1991-04-04 20:19:53 +02:00
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h \
|
|
|
|
input-file.h
|
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 09:59:06 +02:00
|
|
|
listing.o : listing.c as.h targ-env.h flonum.h bignum.h \
|
1992-02-15 22:13:03 +01:00
|
|
|
listing.h obj-format.h targ-cpu.h struc-symbol.h write.h expr.h \
|
1994-01-13 22:24:27 +01:00
|
|
|
frags.h hash.h read.h symbols.h tc.h obj.h input-file.h subsegs.h
|
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 09:59:06 +02:00
|
|
|
literal.o : literal.c subsegs.h as.h targ-env.h obj-format.h \
|
1994-03-20 21:06:53 +01:00
|
|
|
targ-cpu.h struc-symbol.h \
|
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h
|
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 09:59:06 +02:00
|
|
|
messages.o : messages.c as.h targ-env.h obj-format.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
targ-cpu.h struc-symbol.h \
|
1991-04-04 20:19:53 +02:00
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h
|
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 09:59:06 +02:00
|
|
|
output-file.o : output-file.c as.h targ-env.h obj-format.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
targ-cpu.h struc-symbol.h \
|
1991-04-04 20:19:53 +02:00
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h \
|
|
|
|
output-file.h
|
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 09:59:06 +02:00
|
|
|
read.o : read.c as.h targ-env.h obj-format.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
targ-cpu.h struc-symbol.h \
|
1992-04-08 00:16:41 +02:00
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h
|
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 09:59:06 +02:00
|
|
|
subsegs.o : subsegs.c as.h targ-env.h obj-format.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
targ-cpu.h struc-symbol.h \
|
1991-04-04 20:19:53 +02:00
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
subsegs.h
|
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 09:59:06 +02:00
|
|
|
symbols.o : symbols.c as.h targ-env.h obj-format.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
targ-cpu.h struc-symbol.h \
|
1991-04-04 20:19:53 +02:00
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
subsegs.h
|
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 09:59:06 +02:00
|
|
|
write.o : write.c as.h targ-env.h obj-format.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
targ-cpu.h struc-symbol.h \
|
1991-04-04 20:19:53 +02:00
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
subsegs.h output-file.h
|
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 09:59:06 +02:00
|
|
|
ecoff.o : ecoff.c as.h targ-env.h obj-format.h \
|
1993-11-18 00:25:35 +01:00
|
|
|
targ-cpu.h struc-symbol.h \
|
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h \
|
|
|
|
ecoff.h $(srcdir)/../include/coff/internal.h \
|
|
|
|
$(srcdir)/../include/coff/sym.h $(srcdir)/../include/coff/ecoff.h \
|
|
|
|
$(srcdir)/../include/coff/symconst.h $(srcdir)/../include/aout/stab_gnu.h
|
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 09:59:06 +02:00
|
|
|
stabs.o : stabs.c as.h targ-env.h obj-format.h \
|
1993-11-30 17:25:18 +01:00
|
|
|
targ-cpu.h struc-symbol.h \
|
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h \
|
|
|
|
subsegs.h $(srcdir)/../include/aout/stab_gnu.h
|
1991-04-04 20:19:53 +02:00
|
|
|
xmalloc.o : xmalloc.c
|
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 09:59:06 +02:00
|
|
|
atof-targ.o : atof-targ.c as.h targ-env.h obj-format.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
targ-cpu.h struc-symbol.h \
|
1991-04-04 20:19:53 +02:00
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h \
|
|
|
|
symbols.h tc.h obj.h
|
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 09:59:06 +02:00
|
|
|
obj-format.o : obj-format.c as.h targ-env.h obj-format.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
targ-cpu.h struc-symbol.h \
|
1991-04-04 20:19:53 +02:00
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h \
|
1992-12-04 00:54:54 +01:00
|
|
|
subsegs.h symbols.h tc.h obj.h
|
1993-03-20 06:03:31 +01:00
|
|
|
targ-cpu.o : targ-cpu.c config.h targ-env.h obj-format.h \
|
1991-05-18 04:15:32 +02:00
|
|
|
targ-cpu.h struc-symbol.h \
|
1991-04-04 20:19:53 +02:00
|
|
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h \
|
1991-09-02 01:38:30 +02:00
|
|
|
symbols.h tc.h obj.h $(TARG_CPU_DEPENDENTS)
|
1991-05-18 04:15:32 +02:00
|
|
|
|
1991-04-04 20:19:53 +02:00
|
|
|
# Remake the info files.
|
|
|
|
|
1991-10-12 02:20:38 +01:00
|
|
|
doc: $(srcdir)/as.info
|
1991-04-04 20:19:53 +02:00
|
|
|
|
1991-10-12 02:20:38 +01:00
|
|
|
$(srcdir)/as.info: $(srcdir)/doc/as.texinfo
|
1993-06-16 02:03:44 +02:00
|
|
|
@(cd doc; $(MAKE) $(FLAGS_TO_PASS) as.info; mv as.info $srcdir)
|
1991-04-04 20:19:53 +02:00
|
|
|
|
1993-11-09 10:57:02 +01:00
|
|
|
clean-here:
|
1992-02-17 16:54:49 +01:00
|
|
|
-rm -f $(STAGESTUFF) core
|
1991-04-04 20:19:53 +02:00
|
|
|
|
1994-06-07 19:37:52 +02:00
|
|
|
clean mostlyclean: clean-here
|
|
|
|
@cd doc ; $(MAKE) $(FLAGS_TO_PASS) $@
|
1993-11-09 10:57:02 +01:00
|
|
|
@if [ -d testsuite ] ; then \
|
1994-06-07 19:37:52 +02:00
|
|
|
cd testsuite ; $(MAKE) $(FLAGS_TO_PASS) $@ ; \
|
1993-11-09 10:57:02 +01:00
|
|
|
else true; fi
|
|
|
|
|
1991-04-04 20:19:53 +02:00
|
|
|
# Like clean but also delete the links made to configure gas.
|
1994-06-07 19:37:52 +02:00
|
|
|
distclean realclean: clean-here
|
|
|
|
@cd doc ; $(MAKE) $(FLAGS_TO_PASS) $@
|
1993-11-09 10:57:02 +01:00
|
|
|
@if [ -d testsuite ] ; then \
|
1994-06-07 19:37:52 +02:00
|
|
|
cd testsuite ; $(MAKE) $(FLAGS_TO_PASS) $@ ; \
|
1993-11-09 10:57:02 +01:00
|
|
|
else true; fi
|
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 09:59:06 +02:00
|
|
|
-rm -f config.status Makefile targ-env.h targ-cpu.h \
|
1993-11-09 10:57:02 +01:00
|
|
|
targ-cpu.c obj-format.h obj-format.c atof-targ.c TAGS \
|
1994-08-28 22:26:27 +02:00
|
|
|
config-stamp config.h conf config.log config.cache
|
1992-02-17 16:54:49 +01:00
|
|
|
|
1991-04-04 20:19:53 +02:00
|
|
|
# Entry points `install', `includes' and `uninstall'.
|
|
|
|
|
|
|
|
# Copy the files into directories where they will be run.
|
1992-02-17 16:54:49 +01:00
|
|
|
install:
|
1993-11-09 10:57:02 +01:00
|
|
|
srcroot=`cd $(srcroot); pwd`; export srcroot; \
|
1993-06-16 02:03:44 +02:00
|
|
|
$(INSTALL_XFORM) as.new $(bindir)/as; \
|
1993-11-09 10:57:02 +01:00
|
|
|
$(INSTALL_XFORM1) $(srcdir)/doc/as.1 $(man1dir)/as.1; \
|
* Makefile.in (*_FOR_TARGET, INSTALL_XFORM, install, uninstall): Rewrite
handling of program_transform_name.
* configure.in: Test for "unlink" and "delete", define USE_DELETE_FOR_UNLINK if
only the latter is found. Not expected to be triggered on UNIX/POSIX systems.
* acconfig.h (USE_DELETE_FOR_UNLINK): Undef here, provide comments.
Update for autoconf 1.118:
* gdbinit.in: New file, created from old .gdbinit.
* .gdbinit: Deleted.
* aclocal.m4 (GAS_GDBINIT): Deleted.
* configure.in: Don't use it. Instead, generate .gdbinit from gdbinit.in.
Don't substitute cpu_type, obj_format, emulation, atof. Switched order of
AC_LINK_FILES arguments. Use AC_PREREQ to ensure that older versions of
autoconf aren't used.
* Makefile.in: Added @configure_input@ line.
(configure): Deleted rule.
[regenerated conf.in, configure]
1994-09-14 00:27:20 +02:00
|
|
|
n=`echo as | sed '$(program_transform_name)'`; \
|
1992-09-16 01:27:10 +02:00
|
|
|
if [ -d $(tooldir) ]; then \
|
|
|
|
if [ -d $(tooldir)/bin ] ; then true ; else mkdir $(tooldir)/bin ; fi; \
|
|
|
|
rm -f $(tooldir)/bin/as; \
|
1994-05-18 19:11:19 +02:00
|
|
|
ln $(bindir)/$$n $(tooldir)/bin/as >/dev/null 2>/dev/null \
|
1992-09-16 01:27:10 +02:00
|
|
|
|| $(INSTALL_PROGRAM) as.new $(tooldir)/bin/as; \
|
|
|
|
else true; fi
|
1994-01-31 17:44:53 +01:00
|
|
|
srcroot=`cd $(srcroot); pwd`; export srcroot; \
|
|
|
|
$(INSTALL_XFORM) gasp.new $(bindir)/gasp; \
|
* Makefile.in (*_FOR_TARGET, INSTALL_XFORM, install, uninstall): Rewrite
handling of program_transform_name.
* configure.in: Test for "unlink" and "delete", define USE_DELETE_FOR_UNLINK if
only the latter is found. Not expected to be triggered on UNIX/POSIX systems.
* acconfig.h (USE_DELETE_FOR_UNLINK): Undef here, provide comments.
Update for autoconf 1.118:
* gdbinit.in: New file, created from old .gdbinit.
* .gdbinit: Deleted.
* aclocal.m4 (GAS_GDBINIT): Deleted.
* configure.in: Don't use it. Instead, generate .gdbinit from gdbinit.in.
Don't substitute cpu_type, obj_format, emulation, atof. Switched order of
AC_LINK_FILES arguments. Use AC_PREREQ to ensure that older versions of
autoconf aren't used.
* Makefile.in: Added @configure_input@ line.
(configure): Deleted rule.
[regenerated conf.in, configure]
1994-09-14 00:27:20 +02:00
|
|
|
n=`echo gasp | sed '$(program_transform_name)' `; \
|
1994-01-31 17:44:53 +01:00
|
|
|
if [ -d $(tooldir) ]; then \
|
|
|
|
if [ -d $(tooldir)/bin ] ; then true ; else mkdir $(tooldir)/bin ; fi; \
|
|
|
|
rm -f $(tooldir)/bin/gasp; \
|
1994-05-18 19:11:19 +02:00
|
|
|
ln $(bindir)/$$n $(tooldir)/bin/gasp >/dev/null 2>/dev/null \
|
|
|
|
|| $(INSTALL_PROGRAM) gasp.new $(tooldir)/bin/gasp; \
|
1994-01-31 17:44:53 +01:00
|
|
|
else true; fi
|
1991-04-04 20:19:53 +02:00
|
|
|
|
|
|
|
# Cancel installation by deleting the installed files.
|
|
|
|
uninstall:
|
1994-09-08 01:52:59 +02:00
|
|
|
-n=`t='$(program_transform_name)'; echo as | sed $$t`; \
|
1992-09-01 03:14:04 +02:00
|
|
|
rm -f $(bindir)/$$n; \
|
|
|
|
rm -f $(mandir)/$$n.1
|
1994-09-08 01:52:59 +02:00
|
|
|
-n=`t='$(program_transform_name)'; echo gasp | sed $$t`; \
|
1994-01-31 17:44:53 +01:00
|
|
|
rm -f $(bindir)/$$n; \
|
1992-02-17 16:54:49 +01:00
|
|
|
|
1991-04-04 20:19:53 +02:00
|
|
|
# These exist for maintenance purposes.
|
|
|
|
|
|
|
|
tags TAGS: force
|
1992-03-08 08:47:55 +01:00
|
|
|
etags $(REAL_HEADERS) $(REAL_SOURCES) $(srcdir)/config/*.[hc] $(srcdir)/README $(srcdir)/Makefile.in
|
1994-05-18 19:11:19 +02:00
|
|
|
|
1992-02-17 16:54:49 +01:00
|
|
|
bootstrap: as.new force
|
1991-04-04 20:19:53 +02:00
|
|
|
$(MAKE) stage1
|
1994-05-18 19:11:19 +02:00
|
|
|
$(MAKE) CC="$(CC)" CFLAGS="-O -Bstage1/ $(CFLAGS)" libdir=$(libdir) ALLOCA= as.new gasp.new
|
1991-04-04 20:19:53 +02:00
|
|
|
$(MAKE) stage2
|
1994-05-18 19:11:19 +02:00
|
|
|
$(MAKE) CC="$(CC)" CFLAGS="-O -Bstage2/ $(CFLAGS)" libdir=$(libdir) ALLOCA= as.new gasp.new
|
1991-06-09 22:27:20 +02:00
|
|
|
$(MAKE) comparison against=stage2
|
1991-04-04 20:19:53 +02:00
|
|
|
|
|
|
|
bootstrap2: force
|
1994-05-18 19:11:19 +02:00
|
|
|
$(MAKE) CC="$(CC)" CFLAGS="-O -Bstage1/ $(CFLAGS)" libdir=$(libdir) ALLOCA= as.new gasp.new
|
1991-04-04 20:19:53 +02:00
|
|
|
$(MAKE) stage2
|
1994-05-18 19:11:19 +02:00
|
|
|
$(MAKE) CC="$(CC)" CFLAGS="-O -Bstage2/ $(CFLAGS)" libdir=$(libdir) ALLOCA= as.new gasp.new
|
1991-09-02 01:38:30 +02:00
|
|
|
$(MAKE) comparison against=stage2
|
1991-04-04 20:19:53 +02:00
|
|
|
|
|
|
|
bootstrap3: force
|
1994-05-18 19:11:19 +02:00
|
|
|
$(MAKE) CC="$(CC)" CFLAGS="-O -Bstage2/ $(CFLAGS)" libdir=$(libdir) ALLOCA= as.new gasp.new
|
1991-06-09 22:27:20 +02:00
|
|
|
$(MAKE) comparison against=stage2
|
1991-04-04 20:19:53 +02:00
|
|
|
|
|
|
|
# Copy the object files from a particular stage into a subdirectory.
|
|
|
|
stage1: force
|
|
|
|
-mkdir stage1
|
|
|
|
-mv $(STAGESTUFF) stage1
|
1991-11-20 04:46:20 +01:00
|
|
|
if [ -f stage1/as.new -a ! -f stage1/as ] ; then (cd stage1 ; ln -s as.new as) ; fi
|
1991-04-04 20:19:53 +02:00
|
|
|
|
|
|
|
stage2: force
|
|
|
|
-mkdir stage2
|
|
|
|
-mv $(STAGESTUFF) stage2
|
1991-11-20 04:46:20 +01:00
|
|
|
if [ -f stage2/as.new -a ! -f stage2/as ] ; then (cd stage2 ; ln -s as.new as) ; fi
|
1991-04-04 20:19:53 +02:00
|
|
|
|
|
|
|
stage3: force
|
|
|
|
-mkdir stage3
|
1991-04-24 18:52:32 +02:00
|
|
|
-mv $(STAGESTUFF) stage3
|
1991-11-20 04:46:20 +01:00
|
|
|
if [ -f stage3/as.new -a ! -f stage3/as ] ; then (cd stage3 ; ln -s as.new as) ; fi
|
1991-04-04 20:19:53 +02:00
|
|
|
|
1991-06-09 22:27:20 +02:00
|
|
|
against=stage2
|
|
|
|
|
|
|
|
comparison: force
|
|
|
|
for i in $(STAGESTUFF) ; do cmp $$i $(against)/$$i ; done
|
|
|
|
|
1991-04-24 18:52:32 +02:00
|
|
|
de-stage1: force
|
1994-04-14 22:39:39 +02:00
|
|
|
- (cd stage1 ; rm -f as ; mv -f * ..)
|
1991-04-24 18:52:32 +02:00
|
|
|
- rmdir stage1
|
|
|
|
|
|
|
|
de-stage2: force
|
1994-04-14 22:39:39 +02:00
|
|
|
- (cd stage2 ; rm -f as ; mv -f * ..)
|
1991-04-24 18:52:32 +02:00
|
|
|
- rmdir stage2
|
|
|
|
|
|
|
|
de-stage3: force
|
1994-04-14 22:39:39 +02:00
|
|
|
- (cd stage3 ; rm -f as ; mv -f * ..)
|
1991-04-24 18:52:32 +02:00
|
|
|
- rmdir stage3
|
1991-04-04 20:19:53 +02:00
|
|
|
|
|
|
|
#In GNU Make, ignore whether `stage*' exists.
|
1994-06-07 19:37:52 +02:00
|
|
|
.PHONY: stage1 stage2 stage3 stage4 clean mostlyclean realclean distclean
|
|
|
|
.PHONY: TAGS bootstrap
|
1991-04-04 20:19:53 +02:00
|
|
|
|
|
|
|
force:
|
|
|
|
|
1993-03-12 03:58:15 +01:00
|
|
|
Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag) \
|
1994-09-08 02:15:49 +02:00
|
|
|
$(srcdir)/configure.in config.status
|
1991-10-01 04:46:00 +01:00
|
|
|
$(SHELL) ./config.status
|
1994-09-30 00:03:07 +01:00
|
|
|
.gdbinit: $(srcdir)/gdbinit.in config.status
|
|
|
|
$(SHELL) ./config.status
|