aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-03-09 18:16:38 +0000
committerIan Lance Taylor <ian@airs.com>1993-03-09 18:16:38 +0000
commit16788ca9fd7352b2b20f4b11111283a8cd4212e2 (patch)
tree95145a0f3dfddebd1cb911d66e320504e2d8deb6
parent3b4322922cd44fd83d8f76793b5e0b12fed1afbc (diff)
downloadgdb-16788ca9fd7352b2b20f4b11111283a8cd4212e2.zip
gdb-16788ca9fd7352b2b20f4b11111283a8cd4212e2.tar.gz
gdb-16788ca9fd7352b2b20f4b11111283a8cd4212e2.tar.bz2
Removed obsolete Makefile.dos.
-rw-r--r--bfd/.Sanitize1
-rw-r--r--bfd/Makefile.dos378
-rw-r--r--binutils/.Sanitize1
-rw-r--r--binutils/Makefile.dos407
-rw-r--r--ld/.Sanitize6
-rw-r--r--ld/Makefile.dos582
-rw-r--r--readline/.Sanitize1
-rw-r--r--readline/Makefile.dos228
-rw-r--r--readline/examples/.Sanitize1
-rw-r--r--readline/examples/Makefile.dos12
10 files changed, 4 insertions, 1613 deletions
diff --git a/bfd/.Sanitize b/bfd/.Sanitize
index faf24e2..975550e 100644
--- a/bfd/.Sanitize
+++ b/bfd/.Sanitize
@@ -26,7 +26,6 @@ COPYING
PORTING
doc
ChangeLog
-Makefile.dos
Makefile.in
TODO
VERSION
diff --git a/bfd/Makefile.dos b/bfd/Makefile.dos
deleted file mode 100644
index 9e677a5..0000000
--- a/bfd/Makefile.dos
+++ /dev/null
@@ -1,378 +0,0 @@
-# This file was generated automatically by configure. Do not edit.
-target_makefile_frag = ./config/mt-h8300-coff
-host_makefile_frag =
-CROSS=-DCROSS_COMPILE
-ALL=all.cross
-host_alias = sun4
-host_cpu = sparc
-host_vendor = sun
-host_os = sunos411
-version_path =
-target_alias = h8300hds
-target_cpu = h8300
-target_vendor = hitachi
-target_os = hds
-subdir =
-unsubdir = .
-VPATH = .
-# Makefile template for Configure for the BFD library.
-# Copyright (C) 1990, 1991 Free Software Foundation, Inc.
-# Written by Cygnus Support.
-#
-# This file is part of BFD, the Binary File Descriptor library.
-#
-# This program 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 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-srcdir = .
-
-prefix = /usr/local
-
-bindir = $(prefix)/bin
-datadir = $(prefix)/lib
-libdir = $(prefix)/lib
-mandir = $(datadir)/man
-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
-infodir = $(datadir)/info
-includedir = $(prefix)/include
-docdir = $(srcdir)/doc
-
-SHELL = /bin/sh
-
-INSTALL = install -c
-INSTALL_PROGRAM = $(INSTALL)
-INSTALL_DATA = $(INSTALL)
-
-AR = ar
-AR_FLAGS = qv
-BISON = bison
-MAKEINFO = makeinfo
-RANLIB = ar rvs
-
-INCDIR = $(srcdir)/../include
-CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
-DEP = mkdep
-
-SUBDIRS = doc
-
-
-# Change this (to MINIMIZE=1) to save space in executables.
-# Currently, all this does is control the target_vector in targets.c.
-MINIMIZE=0
-
-TARGETLIB = libbfd.a
-CFLAGS = -g -O $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) # -DINTEL960VERSION
-
-
-BFD_LIBS = libbfd.o opncls.o bfd.o archive.o targets.o cache.o \
- archures.o core.o section.o format.o syms.o reloc.o init.o ctor.o seclet.o
-
-BFD_MACHINES = cpu-h8300.o
-
-
-BFD_BACKENDS = ieee.o srec.o coff-h83.o
-
-
-
-
-OPTIONAL_BACKENDS = trad-core.o
-
-#### host and target dependent Makefile fragments come in here.
-# Target: Hitachi H8/300 using COFF and IEEE-695 object file format
-# Avoid dragging in a lot of other architectures and formats.
-HDEFINES=-D__MSDOS__ -D__GO32__
-TDEFAULTS=-DBFD -DSELECT_ARCHITECTURES=bfd_h8300_arch -DSELECT_VECS=&ieee_vec\,&srec_vec\,&h8300coff_vec
-CC=gcc
-###
-
-BFD_H=$(INCDIR)/bfd.h
-
-# C source files that correspond to .o's.
-CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c archures.c \
- coff-i386.c aout64.c aout32.c sunos.c demo64.c coff-i960.c srec.c \
- oasys.c ieee.c coff-m68k.c coff-a29k.c coff-rs6000.c \
- format.c section.c core.c syms.c reloc.c init.c ctor.c seclet.c \
- coff-m88k.c coff-mips.c trad-core.c newsos3.c i386aout.c bout.c elf.c \
- cpu-h8300.c cpu-i960.c cpu-sparc.c cpu-m68k.c cpu-m88k.c \
- cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.c cpu-rs6000.c coff-h83.c
-
-STAGESTUFF = $(TARGETLIB) $(OFILES)
-
-all: $(TARGETLIB)
-
-# $(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)"
-
-info: force
- $(MAKE) subdir_do DO=info "DODIRS=$(SUBDIRS)"
-
-install-info: force
- $(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)"
-
-# HDEPFILES comes from the host config; TDEPFILES from the target config.
-OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) $(HDEPFILES) $(TDEPFILES)
-
-$(TARGETLIB): $(OFILES)
- -rm -f $(TARGETLIB)
- >bfd.rf $(AR_FLAGS) $(TARGETLIB) $(OFILES)
- $(AR) @bfd.rf
- $(RANLIB) $(TARGETLIB)
-
-# When compiling targets.c, supply the default target info from configure.
-targets.o: targets.c
- >targets.rf $(CFLAGS) -c -DMINIMIZE=$(MINIMIZE) $(TDEFAULTS) targets.c
- $(CC) @targets.rf
-
-subdir_do: force
- for i in $(DODIRS); do \
- if [ -d $(unsubdir)/$$i ] ; then \
- if (cd $(unsubdir)/$$i$(subdir); \
- $(MAKE) \
- "against=$(against)" \
- "AR=$(AR)" \
- "AR_FLAGS=$(AR_FLAGS)" \
- "CC=$(CC)" \
- "RANLIB=$(RANLIB)" \
- "BISON=$(BISON)" $(DO)) ; then true ; \
- else exit 1 ; fi ; \
- else true ; fi ; \
- done
-
-stage1: force
- - mkdir stage1
- - mv -f $(STAGESTUFF) stage1
- $(MAKE) subdir_do DO=stage1 "DODIRS=$(SUBDIRS)"
-
-stage2: force
- - mkdir stage2
- - mv -f $(STAGESTUFF) stage2
- $(MAKE) subdir_do DO=stage2 "DODIRS=$(SUBDIRS)"
-
-stage3: force
- - mkdir stage3
- - mv -f $(STAGESTUFF) stage3
- $(MAKE) subdir_do DO=stage3 "DODIRS=$(SUBDIRS)"
-
-against=stage2
-
-comparison: force
- for i in *.o ; do cmp $$i $(against)/$$i || exit 1 ; done
- $(MAKE) subdir_do DO=comparison "DODIRS=$(SUBDIRS)"
-
-de-stage1: force
- - (cd stage1 ; mv -f $(STAGESTUFF) ..)
- - rmdir stage1
- $(MAKE) subdir_do DO=de-stage1 "DODIRS=$(SUBDIRS)"
-
-de-stage2: force
- - (cd stage2 ; mv -f $(STAGESTUFF) ..)
- - rmdir stage2
- $(MAKE) subdir_do DO=de-stage2 "DODIRS=$(SUBDIRS)"
-
-de-stage3: force
- - (cd stage3 ; mv -f $(STAGESTUFF) ..)
- - rmdir stage3
- $(MAKE) subdir_do DO=de-stage3 "DODIRS=$(SUBDIRS)"
-
-tags etags: TAGS
-
-TAGS: force
- etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
-
-clean:
- rm -f *.[oa] *~ core *.E *.p *.ip aout-params.h gen-aout
- $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)"
-
-clobber realclean: clean
- rm -f libbfd.a TAGS
- $(MAKE) subdir_do DO=clobber "DODIRS=$(SUBDIRS)"
-
-# Mark everything as depending on config.status, since the timestamp on
-# sysdep.h might actually move backwards if we reconfig and relink it
-# to a different hosts/h-xxx.h file. This will force a recompile anyway.
-# dos - don't do that.
-RECONFIG =
-$(BFD_LIBS): libbfd.h $(BFD_H) $(RECONFIG)
-$(BFD_MACHINES): libbfd.h $(BFD_H) $(RECONFIG)
-$(BFD_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG)
-$(OPTIONAL_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG)
-
-# Get around a Sun Make bug in SunOS 4.1.1 with VPATH
-cpu-i386.o: cpu-i386.c
-
-saber:
- #suppress 65 on bfd_map_over_sections
- #suppress 66 on bfd_map_over_sections
- #suppress 67 on bfd_map_over_sections
- #suppress 68 on bfd_map_over_sections
- #suppress 69 on bfd_map_over_sections
- #suppress 70 on bfd_map_over_sections
- #suppress 110 in bfd_map_over_sections
- #suppress 112 in bfd_map_over_sections
- #suppress 530
- #suppress 590 in swap_exec_header
- #suppress 590 in _bfd_dummy_core_file_matches_executable_p
- #suppress 590 in bfd_dont_truncate_arname
- #suppress 590 on ignore
- #suppress 590 on abfd
- #setopt load_flags $(CFLAGS)
- #load $(CFILES)
-
-
-#-----------------------------------------------------------------------------
-# 'STANDARD' GNU/960 TARGETS BELOW THIS POINT
-#
-# 'VERSION' file must be present and contain a string of the form "x.y"
-#-----------------------------------------------------------------------------
-
-ver960.c: FORCE
- rm -f ver960.c
- echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
-
-
-# This target should be invoked before building a new release.
-# 'VERSION' file must be present and contain a string of the form "x.y"
-#
-roll:
- @V=`cat VERSION` ; \
- MAJ=`sed 's/\..*//' VERSION` ; \
- MIN=`sed 's/.*\.//' VERSION` ; \
- V=$$MAJ.`expr $$MIN + 1` ; \
- rm -f VERSION ; \
- echo $$V >VERSION ; \
- echo Version $$V
-
-# Dummy target to force execution of dependent targets.
-#
-force:
-
-install:
- $(INSTALL_DATA) libbfd.a $(libdir)/libbfd.a
- $(RANLIB) $(libdir)/libbfd.a
- $(INSTALL_DATA) $(INCDIR)/bfd.h $(includedir)/bfd.h
- $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)"
-
-# Target to uncomment host-specific lines in this makefile. Such lines must
-# have the following string beginning in column 1: #__<hostname>__#
-# Original Makefile is backed up as 'Makefile.old'.
-#
-# Invoke with: make make HOST=xxx
-#
-make:
- -@if test $(HOST)x = x ; then \
- echo 'Specify "make make HOST=???"'; \
- exit 1; \
- fi ; \
- grep -s "^#The next line was generated by 'make make'" Makefile; \
- if test $$? = 0 ; then \
- echo "Makefile has already been processed with 'make make'";\
- exit 1; \
- fi ; \
- mv -f Makefile Makefile.old; \
- echo "#The next line was generated by 'make make'" >Makefile ; \
- echo "HOST=$(HOST)" >>Makefile ; \
- echo >>Makefile ; \
- sed "s/^#__$(HOST)__#//" < Makefile.old >>Makefile
-
-Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
- $(SHELL) ./config.status
-
-dep: $(CFILES)
- mkdep $(CFLAGS) $?
-
-gen-aout: $(srcdir)/gen-aout.c
- $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
-
-aout-params.h: gen-aout
- ./gen-aout > aout-params.h
-
-host-aout.o: aout-params.h
-
-headers:
- (cd $(docdir); $(MAKE) protos)
- # Rebuild prototypes in bfd.h
- cp $(docdir)/bfd.h $(BFD_H)
- cp $(docdir)/libbfd.h $(srcdir)/libbfd.h
- cp $(docdir)/libcoff.h $(srcdir)/libcoff.h
-
-bfd.info:
- ( cd $(docdir); $(MAKE) bfd.info)
-
-bfd.dvi:
- (cd $(docdir); $(MAKE) bfd.dvi)
-
-bfd.ps:
- (cd $(docdir); $(MAKE) bfd.ps)
-
-# What appears below is generated by a hacked mkdep using gcc -MM.
-
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-libbfd.o : libbfd.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h
-opncls.o : opncls.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h
-bfd.o : bfd.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h
-archive.o : archive.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
- $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
-targets.o : targets.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h
-cache.o : cache.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h
-archures.o : archures.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h
-aout64.o : aout64.c
-aout32.o : aout32.c aoutx.h $(INCDIR)/bfd.h $(INCDIR)/ansidecl.h \
- $(INCDIR)/obstack.h libaout.h libbfd.h $(INCDIR)/aout/aout64.h \
- $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
-sunos.o : sunos.c aoutf1.h $(INCDIR)/bfd.h $(INCDIR)/obstack.h \
- libaout.h libbfd.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
- $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
-demo64.o : demo64.c
-
-srec.o : srec.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h
-oasys.o : oasys.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
- $(INCDIR)/oasys.h liboasys.h
-ieee.o : ieee.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
- $(INCDIR)/ieee.h libieee.h
-coff-h83.o: coff-h83.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
- $(INCDIR)/coff/h8300.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h
-format.o : format.c $(INCDIR)/bfd.h \
- $(INCDIR)/obstack.h libbfd.h
-section.o : section.c $(INCDIR)/bfd.h \
- $(INCDIR)/obstack.h libbfd.h
-core.o : core.c $(INCDIR)/bfd.h \
- $(INCDIR)/obstack.h libbfd.h
-syms.o : syms.c $(INCDIR)/bfd.h \
- $(INCDIR)/obstack.h libbfd.h
-
-reloc.o : reloc.c $(INCDIR)/bfd.h \
- $(INCDIR)/obstack.h libbfd.h
-
-trad-core.o : trad-core.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h \
- libbfd.h libaout.h
-newsos3.o : newsos3.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
- $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
- $(INCDIR)/aout/ar.h libaout.h
-i386aout.o : i386aout.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
- $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
- $(INCDIR)/aout/ar.h libaout.h
-bout.o : bout.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
- $(INCDIR)/bout.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
-
diff --git a/binutils/.Sanitize b/binutils/.Sanitize
index 749d8b8..ae3920f 100644
--- a/binutils/.Sanitize
+++ b/binutils/.Sanitize
@@ -26,7 +26,6 @@ Do-first:
Things-to-keep:
ChangeLog
-Makefile.dos
Makefile.in
NEWS
README
diff --git a/binutils/Makefile.dos b/binutils/Makefile.dos
deleted file mode 100644
index ff24f19..0000000
--- a/binutils/Makefile.dos
+++ /dev/null
@@ -1,407 +0,0 @@
-# This file was generated automatically by configure. Do not edit.
-target_makefile_frag =
-host_makefile_frag =
-CROSS=-DCROSS_COMPILE
-ALL=all.cross
-host_alias = sun4
-host_cpu = sparc
-host_vendor = sun
-host_os = sunos411
-version_path =
-target_alias = h8300hds
-target_cpu = h8300
-target_vendor = hitachi
-target_os = hds
-subdir =
-unsubdir = .
-VPATH = .
-# Makefile for GNU binary-file utilities
-# Copyright (C) 1989-1991 Free Software Foundation, Inc.
-
-# This file is part of GNU binutils.
-
-# This program 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 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-srcdir = .
-
-prefix = /usr/local
-
-bindir = $(prefix)/bin
-datadir = $(prefix)/lib
-libdir = $(prefix)/lib
-mandir = $(datadir)/man
-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
-infodir = $(datadir)/info
-includedir = $(prefix)/include
-docdir = $(datadir)/doc
-
-SHELL = /bin/sh
-
-INSTALL = install -c
-INSTALL_PROGRAM = $(INSTALL)
-INSTALL_DATA = $(INSTALL)
-
-AR = ar
-AR_FLAGS = qv
-BISON = bison
-MAKEINFO = makeinfo
-RANLIB = ranlib
-
-TEXI2ROFF=texi2roff
-
-# Distribution version
-VERSION=1.94
-# Distribution name
-DIST_NAME=binutils-beta-${VERSION}
-
-version=`$(unsubdir)/../gcc$(subdir)/gcc -dumpversion`
-
-# Where to find texinfo.tex to format docn with TeX
-TEXIDIR = $(srcdir)/../texinfo/fsf
-
-MANPAGES= ar.1 nm.1 objdump.1 ranlib.1 size.1 strip.1
-
-#CC=gcc -Wall
-# these two are almost the same program
-AR_PROG=ar
-RANLIB_PROG=ranlib
-
-# copy and strip should be the same program
-COPY_PROG=copy
-STRIP_PROG=strip
-
-# These should all be the same program too.
-SIZE_PROG=size
-NM_PROG=nm
-OBJDUMP_PROG=objdump
-
-PROGS = $(SIZE_PROG) $(COPY_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRIP_PROG) $(RANLIB_PROG)
-STAGESTUFF = $(PROGS) *.o
-
-BASEDIR = $(srcdir)/..
-LIBDIR = $(unsubdir)/../bfd$(subdir)
-
-MINUS_G =
-#### host and target dependant Makefile fragments come in here.
-HDEFINES=-O -D__MSDOS__ -D__GO32__
-TDEFINES=
-MALLOC=
-###
-
-INCDIR = $(BASEDIR)/include
-
-CFLAGS = $(MINUS_G) -I. -I$(srcdir) -I$(INCDIR) $(HDEFINES) $(TDEFINES)
-
-# When adding .o files, to make VPATH work in Sun Make, you have to
-# also add a foo.o: foo.c line at the bottom of the file.
-DISASMS = m68k-pinsn.o i960-pinsn.o sparc-pinsn.o am29k-pinsn.o
-
-#
-## Random definitions
-# Hopefully all these may be flushed once we get configuration down pat.
-
-# alloca only needed for systems which don't have it and when cc != gcc.
-# ALLOCA = alloca.o
-
-# nm tries to malloc enough space for the string table. The old GNU malloc
-# rounds this up to a power of two (e.g. 5M becomes 8M), and so it might
-# fail unnecessarily. I've also seen some Unix malloc's fail, even when
-# there is enough memory. So use the new GNU malloc.
-# MALLOC = gmalloc.o
-
-# Use the GNU getopt unless you have problems with it.
-# The IRIS version could probably benefit from being assembled with
-# libmalloc rather than the ordinary malloc.
-LIBIBERTY = $(unsubdir)/../libiberty$(subdir)/libiberty.a
-
-# Code shared by all the binutils.
-BULIBS = bucomm.o version.o filemode.o
-
-ADDL_LIBS = $(MALLOC) $(BULIBS) $(BFD) $(LIBIBERTY)
-
-BFD = $(LIBDIR)/libbfd.a
-#
-## The rules
-
-all: $(ADDL_LIBS) $(PROGS)
-
-info: binutils.info
-
-#$(BFD):$(LIBDIR)/../common/*.c
-# (cd $(LIBDIR); make)
-
-$(SIZE_PROG): $(ADDL_LIBS) size.o $(BFD)
- >bu.rf $(LDFLAGS) $(CFLAGS) -o $(SIZE_PROG) size.o $(ADDL_LIBS) $(LOADLIBES)
- $(CC) @bu.rf
-
-$(COPY_PROG): $(ADDL_LIBS) copy.o not-strip.o $(BFD)
- >bu.rf $(LDFLAGS) $(CFLAGS) -o $(COPY_PROG) copy.o not-strip.o $(ADDL_LIBS) $(LOADLIBES)
- $(CC) @bu.rf
-
-$(STRIP_PROG): $(ADDL_LIBS) copy.o is-strip.o $(BFD)
- >bu.rf $(LDFLAGS) $(CFLAGS) -o $(STRIP_PROG) copy.o is-strip.o $(ADDL_LIBS) $(LOADLIBES)
- $(CC) @bu.rf
-
-$(NM_PROG): $(ADDL_LIBS) nm.o $(BFD)
- >bu.rf $(LDFLAGS) $(CFLAGS) -o $(NM_PROG) nm.o $(ADDL_LIBS) $(LOADLIBES)
- $(CC) @bu.rf
-
-$(OBJDUMP_PROG): $(ADDL_LIBS) size.o objdump.o $(DISASMS) $(BFD)
- >bu.rf $(LDFLAGS) $(CFLAGS) -o $(OBJDUMP_PROG) objdump.o $(DISASMS) $(ADDL_LIBS) $(LOADLIBES)
- $(CC) @bu.rf
-
-$(AR_PROG): $(ADDL_LIBS) ar.o not-ranlib.o $(BFD)
- >bu.rf $(LDFLAGS) $(CFLAGS) -o $(AR_PROG) ar.o not-ranlib.o $(ADDL_LIBS) $(LOADLIBES)
- $(CC) @bu.rf
-
-$(RANLIB_PROG): $(ADDL_LIBS) ar.o is-ranlib.o $(BFD)
- >bu.rf $(LDFLAGS) $(CFLAGS) -o $(RANLIB_PROG) ar.o is-ranlib.o $(ADDL_LIBS) $(LOADLIBES)
- $(CC) @bu.rf
-
-# This rule creates a single binary that switches between ar and ranlib
-# by looking at argv[0]. Use this kludge to save some disk space.
-# However, you have to install things by hand.
-# (That is after 'make install', replace the installed ranlib by a link to ar.)
-
-# Alternatively, you can install ranlib.sh as ranlib.
-
-ar_with_ranlib: $(ADDL_LIBS) ar.o maybe-ranlib.o $(BFD)
- $(CC) $(LDFLAGS) $(CFLAGS) -o $(AR_PROG) ar.o maybe-ranlib.o $(ADDL_LIBS) $(LOADLIBES)
- -rm -f $(RANLIB_PROG)
- -ln $(AR_PROG) $(RANLIB_PROG)
-
-# copy and strip in one binary that uses argv[0] to decide its action.
-
-copy_with_strip: $(ADDL_LIBS) copy.o maybe-strip.o $(BFD)
- $(CC) $(LDFLAGS) $(CFLAGS) -o $(COPY_PROG) copy.o maybe-strip.o $(ADDL_LIBS) $(LOADLIBES)
- -rm -f $(STRIP_PROG)
- -ln $(COPY_PROG) $(STRIP_PROG)
-
-stage1: force
- - mkdir stage1
- - mv -f $(STAGESTUFF) stage1
-
-stage2: force
- - mkdir stage2
- - mv -f $(STAGESTUFF) stage2
-
-stage3: force
- - mkdir stage3
- - mv -f $(STAGESTUFF) stage3
-
-against=stage2
-
-comparison: force
- for i in $(STAGESTUFF) ; do cmp $$i $(against)/$$i ; done
-
-de-stage1: force
- - (cd stage1 ; mv -f * ..)
- - rmdir stage1
-
-de-stage2: force
- - (cd stage2 ; mv -f * ..)
- - rmdir stage2
-
-de-stage3: force
- - (cd stage3 ; mv -f * ..)
- - rmdir stage3
-
-######################################################################
-# DOCUMENTATION TARGETS
-# TeX output
-binutils.dvi: $(srcdir)/binutils.texi
- TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex $(srcdir)/binutils.texi
- texindex binutils.??
- TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex $(srcdir)/binutils.texi
-
-# info file for online browsing
-binutils.info: $(srcdir)/binutils.texi
- $(MAKEINFO) -o binutils.info $(srcdir)/binutils.texi
-
-# different targets for -ms, -mm, -me
-# Try to use a recent texi2roff. v2 was put on prep in jan91.
-# If you want an index, see texi2roff doc for postprocessing
-# and add -i to texi2roff invocations below.
-# Workarounds for texi2roff-2 (probably fixed in later texi2roff's, delete
-# correspondint -e lines when later texi2roff's are current)
-# + @ifinfo's deleted explicitly due to texi2roff-2 bug w nested constructs.
-# + @c's deleted explicitly because texi2roff sees texinfo commands in them
-# + @ (that's at-BLANK) not recognized by texi2roff, turned into blank
-# + @alphaenumerate is ridiculously new, turned into @enumerate
-
-# roff output (-ms)
-binutils.ms: $(srcdir)/binutils.texi
- sed -e '/\\input texinfo/d' \
- -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
- -e '/^@ifinfo/,/^@end ifinfo/d' \
- -e '/^@c/d' \
- -e 's/{.*,,/{/' \
- -e 's/@ / /g' \
- -e 's/^@alphaenumerate/@enumerate/g' \
- -e 's/^@end alphaenumerate/@end enumerate/g' \
- $(srcdir)/binutils.texi | \
- $(TEXI2ROFF) -ms | \
- sed -e 's/---/\\(em/g' \
- >binutils.ms
-
-# roff output (-mm)
-# '@noindent's removed due to texi2roff-2 mm bug; if yours is newer,
-# try leaving them in
-binutils.mm: $(srcdir)/binutils.texi
- sed -e '/\\input texinfo/d' \
- -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
- -e '/^@ifinfo/,/^@end ifinfo/d' \
- -e '/^@c/d' \
- -e 's/{.*,,/{/' \
- -e '/@noindent/d' \
- -e 's/@ / /g' \
- -e 's/^@alphaenumerate/@enumerate/g' \
- -e 's/^@end alphaenumerate/@end enumerate/g' \
- $(srcdir)/binutils.texi | \
- $(TEXI2ROFF) -mm | \
- sed -e 's/---/\\(em/g' \
- >binutils.mm
-
-# roff output (-me)
-binutils.me: $(srcdir)/binutils.texi
- sed -e '/\\input texinfo/d' \
- -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
- -e '/^@ifinfo/,/^@end ifinfo/d' \
- -e '/^@c/d' \
- -e 's/{.*,,/{/' \
- -e 's/@ / /g' \
- -e 's/^@alphaenumerate/@enumerate/g' \
- -e 's/^@end alphaenumerate/@end enumerate/g' \
- $(srcdir)/binutils.texi | \
- $(TEXI2ROFF) -me | \
- sed -e 's/---/\\(em/g' \
- >binutils.me
-
-
-######################################################################
-
-clean:
- -rm -f *.o *~ \#* core $(STAGESTUFF) TAGS binutils.?? binutils.???
-
-etags tags: TAGS
-
-TAGS: force
- etags $(INCDIR)/*.h $(BFDSRC)/*.[hc] *.[hc]
-
-realclean: clean
- -rm -f $(STAGESTUFF) TAGS
-
-install: all
- for i in $(PROGS) ; do \
- $(INSTALL_PROGRAM) $$i $(bindir)/$$i ; \
- done
- for i in $(MANPAGES) ; do \
- $(INSTALL_DATA) $(srcdir)/$$i $(man1dir)/$$i ; \
- done
-
-install-info: info
- for i in *.info* ; do \
- $(INSTALL_DATA) $$i $(infodir)/$$i ; \
- done
-
-dist: $(DIST_NAME).tar.Z
-
-$(DIST_NAME).tar.Z:
- cd ../..; rm -f $(DIST_NAME); ln -s devo $(DIST_NAME)
- make binutils.mm -f Makefile.in
- cd ../ld; make ld.mm -f Makefile.in
- cd ../..; tar chf - $(DIST_NAME) | compress >$(DIST_NAME).tar.Z
- rm -rf ../../$(DIST_NAME)
-
-# These get around a bug in Sun Make in SunOS 4.1.1
-alloca.o: alloca.c
-am29k-pinsn.o: am29k-pinsn.c
-ar.o: ar.c
-bucomm.o: bucomm.c
-copy.o: copy.c
-cplus-dem.o: cplus-dem.c
-filemode.o: filemode.c
-getopt.o: getopt.c
-getopt1.o: getopt1.c
-gmalloc.o: gmalloc.c
-i960-pinsn.o: i960-pinsn.c
-is-ranlib.o: is-ranlib.c
-is-strip.o: is-strip.c
-m68k-pinsn.o: m68k-pinsn.c
-maybe-ranlib.o: maybe-ranlib.c
-maybe-strip.o: maybe-strip.c
-nm.o: nm.c
-not-ranlib.o: not-ranlib.c
-not-strip.o: not-strip.c
-objdump.o: objdump.c
-size.o: size.c
-sparc-pinsn.o: sparc-pinsn.c
-strip.o: strip.c
-version.o: $(srcdir)/version.c
- $(CC) $(CFLAGS) -DVERSION=\"$(VERSION)\" -c $(srcdir)/version.c
-
-#-----------------------------------------------------------------------------
-# 'STANDARD' GNU/960 TARGETS BELOW THIS POINT
-#
-# 'VERSION' file must be present and contain a string of the form "x.y"
-#-----------------------------------------------------------------------------
-
-ver960.c: FORCE
- rm -f ver960.c
- echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
-
-
-# Dummy target to force execution of dependent targets.
-#
-force:
-
-# Target to uncomment host-specific lines in this makefile. Such lines must
-# have the following string beginning in column 1: #__<hostname>__#
-# Original Makefile is backed up as 'Makefile.old'.
-#
-# Invoke with: make make HOST=xxx
-#
-make:
- -@if test $(HOST)x = x ; then \
- echo 'Specify "make make HOST=???"'; \
- exit 1; \
- fi ; \
- grep -s "^#The next line was generated by 'make make'" Makefile; \
- if test $$? = 0 ; then \
- echo "Makefile has already been processed with 'make make'";\
- exit 1; \
- fi ; \
- mv -f Makefile Makefile.old; \
- echo "#The next line was generated by 'make make'" >Makefile ; \
- echo "HOST=$(HOST)" >>Makefile ; \
- echo >>Makefile ; \
- sed "s/^#__$(HOST)__#//" < Makefile.old >>Makefile
-
-Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
- $(SHELL) ./config.status
-
-### Local Variables: ***
-### mode:fundamental ***
-### page-delimiter: "^#" ***
-### End: ***
-### end of file
diff --git a/ld/.Sanitize b/ld/.Sanitize
index 3ecc8ed..c17ba98 100644
--- a/ld/.Sanitize
+++ b/ld/.Sanitize
@@ -29,7 +29,6 @@ fi
Things-to-keep:
ChangeLog
-Makefile.dos
Makefile.in
README
TODO
@@ -162,7 +161,10 @@ fi
#
#
# $Log$
-# Revision 1.53 1993/03/04 20:49:05 ian
+# Revision 1.54 1993/03/09 18:12:14 ian
+# Removed obsolete Makefile.dos.
+#
+# Revision 1.53 1993/03/04 20:49:05 ian
# * mips.sc-sh: Added variables which may be overridden by a
# specific emulation.
# * mipsidt.sh: New file; emulation for IDT MIPS board.
diff --git a/ld/Makefile.dos b/ld/Makefile.dos
deleted file mode 100644
index 57fab98..0000000
--- a/ld/Makefile.dos
+++ /dev/null
@@ -1,582 +0,0 @@
-# This file was generated automatically by configure. Do not edit.
-target_makefile_frag = ./config/mt-coff-h8300
-host_makefile_frag = ./config/mh-sparc
-CROSS=-DCROSS_COMPILE
-ALL=all.cross
-host_alias = sun4
-host_cpu = sparc
-host_vendor = sun
-host_os = sunos411
-version_path =
-target_alias = h8300hms
-target_cpu = h8300
-target_vendor = hitachi
-target_os = hms
-subdir =
-unsubdir = .
-VPATH = .
-# Makefile for the GNU linker ld (version 2)
-# Copyright (C) 1989-1991 Free Software Foundation, Inc.
-
-# This file is part of GNU ld..
-
-# This program 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 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-srcdir = .
-
-prefix = /usr/local
-
-bindir = $(prefix)/bin
-datadir = $(prefix)/lib
-libdir = $(prefix)/lib
-mandir = $(datadir)/man
-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
-infodir = $(datadir)/info
-includedir = $(prefix)/include
-docdir = $(datadir)/doc
-
-SHELL = /bin/sh
-
-INSTALL = install -c
-INSTALL_PROGRAM = $(INSTALL)
-INSTALL_DATA = $(INSTALL)
-
-AR = ar
-AR_FLAGS = qv
-BISON = bison -y
-MAKEINFO = makeinfo
-RANLIB = ranlib
-
-#version=/`$(unsubdir)/../gcc$(subdir)/gcc -dumpversion`
-version=
-
-# Seach path to override the default search path for -lfoo libraries.
-# If LIB_PATH is empty, the ones in the script (if any) are left alone.
-# Otherwise, they are replaced with the ones given in LIB_PATH,
-# which may have the form: LIB_PATH=/lib:/usr/local/lib
-LIB_PATH =
-
-BASEDIR = ../..
-INCLUDE = $(srcdir)/../include
-INCLUDES = -I. -I$(srcdir) -I$(INCLUDE)
-MINUS_G =
-
-# Where to find texinfo.tex to format docn with TeX
-TEXIDIR = $(srcdir)/../texinfo/fsf
-
-# Whether to get roff to put indexing entries on stderr
-TEXI2OPT =
-# You neeed this to generate ld-index.ms (or .mm or .me)
-# TEXI2OPT = -i
-
-TEXI2ROFF=texi2roff
-
-# Which roff program to use to generate index for texi2roff'd doc
-ROFF = groff
-
-SCRIPTS = ldgld68k.sc ldgld.sc \
- ldlnk960.sc ldlnk960r.sc ldgld960.sc \
- i386aout.sc ldm88k.sc ldglda29k.sc news.sc h8300hms.sc ebmon29k.sc
-
-#### Host, target, and site specific Makefile fragments come in here.
-HDEFINES = -O -D__MSDOS__ -D__GO32__
-TDEFINES = -DDEFAULT_EMULATION=H8300HMS_EMULATION_NAME
-YACC=yacc -tvd
-#CC=gcc -Wall -ansi
-#stuff for self hosting
-HOSTING_CRT0=/lib/crt0.o
-HOSTING_LIBS=/usr/latest/lib/gcc/sun4/libgnu.a -lc
-HOSTING_EMU=LDEMULATION=gld; export LDEMULATION
-
-###
-
-CFLAGS = $(INCLUDES) $(MINUS_G) $(HDEFINES) $(TDEFINES) $(CDEFINES)
-LINTFLAGS = $(INCLUDES) $(EXTRA_DEF)
-
-.SUFFIXES: .y .x .xr .xu .xn .xN .sc .scu .scr .scn $(SUFFIXES)
-
-# go directly to ld.new in case this ld isn't capable of
-# linking native object on this host. It can be renamed on
-# install.
-LD_PROG = ld.new
-
-# A .sc script file is needed for each emulation mode.
-# sed is used to transform this script into two variant forms:
-# A .scr script is for linking without relocation (-r flag).
-# A .scu script is like .scr, but *do* create constructors.
-# A .scn script is for linking with -N flag (mix text and data on same page).
-# A .scN script is for linking with -N flag (mix text and data on same page).
-# The diference is that segments should (need) not be page aligned.
-
-# A sed pattern to translate .sc to .scu:
-SED_MAKE_RELOC_WITH_CONSTRUCTORS=\
- -e "/If relocating/,/End if relocating/d" \
- -e "/=/s/[_a-zA-Z.]* *= .*//g" \
- -e '/>/s/} *> *[a-zA-Z]*/}/' \
- -e "/text/s/[.]text .*:/.text :/" \
- -e "/data/s/[.]data .*:/.data :/"
-# A sed pattern to translate .scu to .scr:
-SED_REMOVE_CONSTRUCTORS= -e /CONSTRUCTORS/d
-
-.sc.scu:
- sed $(SED_MAKE_RELOC_WITH_CONSTRUCTORS) $< >$*.scu
-.scu.scr:
- sed $(SED_REMOVE_CONSTRUCTORS) < $< >$*.scr
-
-# Each builtin script file is included as a C string literal.
-# These are generated by the mkscript filter.
-.sc.x:
- go32 mkscript < $< >$*.x
-
-# if [ "x"$(LIB_PATH) = "x" ]; then mkscript < $< >$*.x ; \
-# else \
-# (sed <$< -e '/SEARCH_DIR(.*)/d' ; \
-# echo $(LIB_PATH) | tr ':' ' ' | sed -e 's/\([^ ][^ ]*\)/SEARCH_DIR(\1);/g';) | mkscript >$*.x;\
-# fi
-
-# The .xn script is used if the -n flag is given (write-protect text)..
-# Sunos starts the text segment for demand-paged binaries at 0x2020
-# and other binaries at 0x2000, since the exec header is paged in
-# with the text. Some other Unix variants do the same.
-# For -n and -N flags the offset of the exec header must be removed.
-# This sed script does this if the master script contains
-# a line of the form ".text 0xAAAA BLOCK(0xBBBB):" - the
-# output will contain ".text 0xBBBB:". (For Sunos AAAA=2020 and BBBB=2000.)
-.x.xn:
- sed -e '/text/s/\.text .* BLOCK(\([^)]*\)):/.text \1:/' < $< >$*.xn
-
-# The .xN script is used if the -N flag is given (don't write-protect text).
-# This is like -n, except that the data segment need not be page-aligned.
-# So get rid of commands for page-alignment: We assume these use ALIGN
-# with a hex constant that end with 00, since any normal page size is be
-# at least divisible by 256. We use the 00 to avoid matching
-# anything that tries to align of (say) 8-byte boundaries.
-.xn.xnn:
- sed -e '/ALIGN/s/ALIGN( *0x[0-9a-fA-F]*00 *)/./' < $< >$*.xnn
-
-# The xu and xr scripts don't search libraries, so LIB_PATH doesn't matter.
-.sc.xu:
- sed $(SED_MAKE_RELOC_WITH_CONSTRUCTORS) < $< | mkscript >$*.xu
-.sc.xr:
- sed $(SED_MAKE_RELOC_WITH_CONSTRUCTORS) $(SED_REMOVE_CONSTRUCTORS) \
- < $< | mkscript >$*.xr
-
-# for self hosting
-BFDLIB=$(unsubdir)/../bfd$(subdir)/libbfd.a
-LIBIBERTY=$(unsubdir)/../libiberty$(subdir)/libiberty.a
-
-OFILES= ldgram.o ldlex.o ldlang.o ldctor.o ldmain.o ldindr.o \
- ldwarn.o ldwrite.o ldexp.o ldlnk960.o em_gld68k.o em_i386aout.o \
- em_m88k.o em_glda29k.o em_news.o h8300hms.o em_ebmon29k.o \
- em_gld.o ldgld960.o ldemul.o ldver.o ldmisc.o ldsym.o \
- ldvanilla.o ldfile.o \
- relax.o ../bfd/seclet.o lderror.o
-
-HEADERS=config.h ldmain.h ldmain.h ldwarn.h ldmisc.h ldindr.h \
- ldsym.h ldctor.h ldlang.h ldexp.h \
- ldlex.h ldwrite.h ldver.h ldemul.h ldfile.h ldgram.h ld.h
-
-MANSOURCES=ld.tex
-
-LDCSOURCES=ldlang.c ldctor.c ldindr.c ldmain.c ldwrite.c ldwarn.c ldlnk960.c \
- em_gld.c em_gld68k.c em_m88k.c em_ebmon29k.c \
- ldgld960.c ldemul.c ldver.c ldmisc.c ldexp.c ldsym.c ldfile.c \
- ldvanilla.c relax.c ../bfd/seclet.c lderror.c
-
-GENERATED_SOURCES=ldgram.c ldlex.c ldgram.h em_*.c
-GENERATED_HEADERS=ldgram.h
-
-LDSOURCES=$(LDCSOURCES) ldgram.y ldlex.l ldgram.h
-
-BFDSOURCES=../../bfd/common/*.c
-
-SOURCES= $(LDSOURCES) $(BFDSOURCES)
-LINTSOURCES= $(LDCSOURCES) $(BFDSOURCES) $(GENERATED_SOURCES)
-
-STAGESTUFF = *.x *.x[ru] *.sc[ru] $(GENERATED_SOURCES) $(GENERATED_HEADERS) $(OFILES) $(LD_PROG) mkscript
-
-all: $(LD_PROG)
-
-info: ld.info
-
-ldgram.h ldgram.c: ldgram.y
- $(BISON) $(BISONFLAGS) -d -o ldgram.c $(VPATH)/ldgram.y
-
-ldlex.c: ldlex.l
- lex -t $(VPATH)/ldlex.l >ldlex.c
-
-# These all start with em_ so 'make clean' can find them.
-
-em_gld.c: $(srcdir)/ldtemplate
- sed -e s/"<ldtarget>"/ldgld/g -e s/"<arch>"/m68k/g \
- -e s/"<target>"//g -e s/"<TARGET>"//g <$(srcdir)/ldtemplate >$@
-em_news.c: $(srcdir)/ldtemplate
- sed -e s/"<ldtarget>"/news/g -e s/"<arch>"/m68k/g \
- -e s/"<target>"/news/g -e s/"<TARGET>"/NEWS/g <$(srcdir)/ldtemplate >$@
-
-em_i386aout.c: $(srcdir)/ldtemplate
- sed -e s/"<ldtarget>"/i386aout/g -e s/"<arch>"/i386/g \
- -e s/"<target>"/i386aout/g -e s/"<TARGET>"/I386AOUT/g <$(srcdir)/ldtemplate >$@
-
-
-em_ebmon29k.c: $(srcdir)/ldtemplate
- sed -e s/"<ldtarget>"/ebmon29k/g -e s/"<arch>"/a29k/g \
- -e s/"gld<target>"/ebmon29k/g -e s/"GLD<TARGET>"/EBMON29K/g \
- -e s/"<ldtarget>.x"/ebmon.x/ <$(srcdir)/ldtemplate >$@
-
-em_gld68k.c: $(srcdir)/ldtemplate
- sed -e s/"<ldtarget>"/ldgld68k/g -e s/"<arch>"/m68k/g \
- -e s/"<target>"/68k/g -e s/"<TARGET>"/68K/g <$(srcdir)/ldtemplate >$@
-em_glda29k.c: $(srcdir)/ldtemplate
- sed -e s/"<ldtarget>"/ldglda29k/g -e s/"<arch>"/a29k/g \
- -e s/"<target>"/29k/g -e s/"<TARGET>"/29K/g <$(srcdir)/ldtemplate >$@
-em_m88k.c: $(srcdir)/ldtemplate
- sed -e s/"<ldtarget>"/ldm88k/g -e s/"<arch>"/m88k/g \
- -e s/"<target>"/m88kbcs/g -e s/"<TARGET>"/M88KBCS/g <$(srcdir)/ldtemplate >$@
-
-# The .c files for these are generated from ldtemplete.
-em_gld.o: mkscript ldgld.x ldgld.xr ldgld.xu ldgld.xn ldgld.xnn
-em_news.o: mkscript news.x news.xr news.xu news.xn news.xnn
-em_i386aout.o: mkscript i386aout.x i386aout.xr i386aout.xu i386aout.xn i386aout.xnn
-em_ebmon29k.o: mkscript ebmon29k.x ebmon29k.xr ebmon29k.xu \
- ebmon29k.xn ebmon29k.xnn
-em_gld68k.o: mkscript ldgld68k.x ldgld68k.xr ldgld68k.xu \
- ldgld68k.xn ldgld68k.xnn
-em_glda29k.o: mkscript ldglda29k.x ldglda29k.xr ldglda29k.xu \
- ldglda29k.xn ldglda29k.xnn
-em_m88k.o: mkscript ldm88k.x ldm88k.xr ldm88k.xu ldm88k.xn ldm88k.xnn
-
-# The .c files for these are (for now) specially written (not ldtemplete).
-ldgld960.o: mkscript ldgld960.x
-ldlnk960.o: mkscript ldlnk960.x ldlnk960.xr
-h8300hms.o: mkscript h8300hms.x
-
-
-#$(BFDLIB): $(BFDSOURCES)
-# (cd ../bfd; make)
-
-$(LD_PROG): $(OFILES) $(BFDLIB) $(LIBIBERTY)
- >ld.rf $(CFLAGS) $(LDFLAGS) -o $(LD_PROG) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(LOADLIBES)
- $(CC) @ld.rf
-
-# (cd ../bfd; make)
-# LDEMULATION=gld; export LDEMULATION; GNUTARGET=a.out-sunos-big;./ldok -format a.out-sunos-big -o ld /lib/crt0.o $(OFILES) $(BFDLIB) $(LIBIBERTY) -lc /usr/local/lib/gcc/sparc/1.91/gnulib
-# gld -o ld /lib/crt0.o $(OFILES) $(BFDLIB) $(LIBIBERTY) -lc /usr/local/lib/gcc/sparc/1.91/gnulib
-# $(CC) -Bstatic -o ld.new $(OFILES) $(BFDLIB) $(LIBIBERTY)
-
-
-ld1: ld.new
- $(HOSTING_EMU); ./ld.new -o ld1 $(HOSTING_CRT0) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
-
-ld2: ld1
- $(HOSTING_EMU); ./ld1 -o ld2 $(HOSTING_CRT0) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
-
-ld3: ld2
- $(HOSTING_EMU); ./ld2 -o ld3 $(HOSTING_CRT0) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
-
-######################################################################
-TDEFINES = -DDEFAULT_EMULATION=H8300HMS_EMULATION_NAME
-YACC=yacc -tvd
-#CC=gcc -Wall -ansi
-#stuff for self hosting
-HOSTING_CRT0=/lib/crt0.o
-HOSTING_LIBS=/usr/latest/lib/gcc/sun4/libgnu.a -lc
-HOSTING_EMU=LDEMULATION=gld; export LDEMULATION
-
-# DOCUMENTATION TARGETS
-# TeX output
-ld.dvi: $(srcdir)/ld.texinfo
- TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex $(srcdir)/ld.texinfo
- texindex ld.??
- TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex $(srcdir)/ld.texinfo
-
-# info file for online browsing
-ld.info: $(srcdir)/ld.texinfo
- $(MAKEINFO) -o ld.info $(srcdir)/ld.texinfo
-
-#separate targets for "ms", "me", and "mm" forms of roff doc
-# Try to use a recent texi2roff. v2 was put on prep in jan91.
-# If you want an index, see texi2roff doc for postprocessing
-# and add -i to texi2roff invocations below.
-# Workarounds for texi2roff-2 (probably fixed in later texi2roff's, delete
-# correspondint -e lines when later texi2roff's are current)
-# + @ifinfo's deleted explicitly due to texi2roff-2 bug w nested constructs.
-# + @c's deleted explicitly because texi2roff sees texinfo commands in them
-# + @ (that's at-BLANK) not recognized by texi2roff, turned into blank
-# + @alphaenumerate is ridiculously new, turned into @enumerate
-
-ld.ms: $(srcdir)/ld.texinfo
- sed -e '/\\input texinfo/d' \
- -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
- -e '/^@ifinfo/,/^@end ifinfo/d' \
- -e '/^@c/d' \
- -e 's/{.*,,/{/' \
- -e 's/@ / /g' \
- -e 's/^@alphaenumerate/@enumerate/g' \
- -e 's/^@end alphaenumerate/@end enumerate/g' \
- $(srcdir)/ld.texinfo | \
- $(TEXI2ROFF) $(TEXI2OPT) -ms | \
- sed -e 's/---/\\(em/g' \
- >>ld.ms
-
-# index for roff output
-ld-index.ms: ld.ms
- $(ROFF) -ms ld.ms 2>&1 1>/dev/null | \
- sed -e '/: warning:/d' | \
- texi2index >ld-index.ms
-
-# roff output (-mm)
-ld.mm: $(srcdir)/ld.texinfo
- sed -e '/\\input texinfo/d' \
- -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
- -e '/^@ifinfo/,/^@end ifinfo/d' \
- -e '/^@c/d' \
- -e 's/{.*,,/{/' \
- -e '/@noindent/d' \
- -e 's/@ / /g' \
- -e 's/^@alphaenumerate/@enumerate/g' \
- -e 's/^@end alphaenumerate/@end enumerate/g' \
- $(srcdir)/ld.texinfo | \
- $(TEXI2ROFF) $(TEXI2OPT) -mm | \
- sed -e 's/---/\\(em/g' \
- >ld.mm
-
-# index for roff output
-ld-index.mm: ld.mm
- $(ROFF) -mm ld.mm 2>&1 1>/dev/null | \
- sed -e '/: warning:/d' | \
- texi2index >ld-index.mm
-
-# roff output (-me)
-ld.me: $(srcdir)/ld.texinfo
- sed -e '/\\input texinfo/d' \
- -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
- -e '/^@ifinfo/,/^@end ifinfo/d' \
- -e '/^@c/d' \
- -e 's/{.*,,/{/' \
- -e 's/@ / /g' \
- -e 's/^@alphaenumerate/@enumerate/g' \
- -e 's/^@end alphaenumerate/@end enumerate/g' \
- $(srcdir)/ld.texinfo | \
- $(TEXI2ROFF) $(TEXI2OPT) -me | \
- sed -e 's/---/\\(em/g' \
- >>ld.me
-
-# index for roff output
-ld-index.me: ld.me
- $(ROFF) -me ld.me 2>&1 1>/dev/null | \
- sed -e '/: warning:/d' | \
- texi2index >ld-index.me
-
-
-######################################################################
-TDEFINES = -DDEFAULT_EMULATION=H8300HMS_EMULATION_NAME
-YACC=yacc -tvd
-#CC=gcc -Wall -ansi
-#stuff for self hosting
-HOSTING_CRT0=/lib/crt0.o
-HOSTING_LIBS=/usr/latest/lib/gcc/sun4/libgnu.a -lc
-HOSTING_EMU=LDEMULATION=gld; export LDEMULATION
-
-
-mkscript: $(srcdir)/mkscript.c
- $(CC) $(CFLAGS) $(LDFLAGS) -o mkscript $(srcdir)/mkscript.c $(LOADLIBES)
-
-ldlex.c: ldlex.l ldgram.h
-ldlex.o: ldlex.c ldgram.h
-ldgram.o: ldgram.c
-ldgram.c: ldgram.y
-
-ldgld68k.x : ldgld68k.sc
-ldgld68kUr.x : ldgld68kUr.sc
-ldgld68kr.x : ldgld68kr.sc
-h8300hms.x: h8300hms.sc
-ldgld.x : ldgld.sc
-ldgldUr.x : ldgldUr.sc
-ldgldr.x : ldgldr.sc
-ldlnk960.x : ldlnk960.sc
-ldlnk960r.x : ldlnk960r.sc
-ldgld960.x : ldgld960.sc
-ldgldm88k.x : ldgldm88k.sc
-ldm88kUr.x : ldm88kUr.sc
-ldm88kr.x: ldm88kr.sc
-ldm88k.x: ldm88k.sc
-news.x: news.sc
-i386aout.x: i386aout.sc
-h8300hms.x: h8300hms.sc
-h8300hms.o: h8300hms.c
-ldgld68k.x: ldgld68k.sc
-ldglda29k.x : ldglda29k.sc
-ldglda29kr.x : ldglda29kr.sc
-ldglda29kUr.x : ldglda29kUr.sc
-
-ebmon29k.x : ebmon29k.sc
-ebmon29kr.x : ebmon29kr.sc
-ebmon29kUr.x : ebmon29kUr.sc
-
-stage1: force
- -mkdir stage1
- -mv -f $(STAGESTUFF) stage1
- -(cd stage1 ; ln -s $(LD_PROG) ld)
-
-stage2: force
- -mkdir stage2
- -mv -f $(STAGESTUFF) stage2
- -(cd stage2 ; ln -s $(LD_PROG) ld)
-
-stage3: force
- -mkdir stage3
- -mv -f $(STAGESTUFF) stage3
- -(cd stage3 ; ln -s $(LD_PROG) ld)
-
-against=stage2
-
-comparison: force
- for i in $(STAGESTUFF) ; do cmp $$i $(against)/$$i ; done
-
-de-stage1: force
- -(cd stage1 ; mv -f * ..)
- -rm ld
- -rmdir stage1
-
-de-stage2: force
- -(cd stage2 ; mv -f * ..)
- -rm ld
- -rmdir stage2
-
-de-stage3: force
- -(cd stage3 ; mv -f * ..)
- -rm ld
- -rmdir stage3
-
-clean:
- -rm -f TAGS $(OFILES) $(GENERATED_SOURCES) $(GENERATED_HEADERS)
- -rm -f *.x *.x[runN] *.sc[runN]
- -rm -f ld.?? ld.???
- -rm -f ld ld1 ld2 ld3 ld.new mkscript *.o y.output
-
-lintlog: $(SOURCES) Makefile
- $(LINT) -abhxzn $(LINTFLAGS) $(LINTSOURCES) \
-| grep -v "pointer casts may be troublesome" \
-| grep -v "possible pointer alignment problem" \
-| grep -v "ignore" \
-| grep -v "conversion from long may lose accuracy" \
-| grep -v "warning: constant argument to NOT" \
-| grep -v "enumeration type clash, operator CAST" \
-| grep -v "warning: constant in conditional context"\
-| grep -v "archive\.c"
-
-
-tags TAGS: $(SOURCES) $(HEADERS)
- etags -t $?
-
-
-objdump: objdump.c
-
-install: $(LD_PROG)
- $(INSTALL_PROGRAM) ld.new $(bindir)/ld
-# $(INSTALL_PROGRAM) ld.new $(gcclibdir)/ld
-
-install-info: info
- for i in ld.info* ; do \
- $(INSTALL_DATA) $$i $(infodir)/$$i ; \
- done
-
-# Something like the following might make sense for install, but doesn't work
-# - it is too fragile, depending on a gcc binary int the right place.
-# Perhaps using gcc/version.c might work?
-# # If $(gcclibdir) exists, install ld there, and put a link to it
-# # from $(bindir); otherwise put ld in $(bindir).
-# if ([ -x $(unsubdir)/../gcc$(subdir)/gcc -a -d $(gcclibdir) ]); then \
-# $(INSTALL_PROGRAM) ld.new $(gcclibdir)/ld; \
-# cd $(bindir); rm -f ld; ln -s $(gcclibdir)/ld ld; \
-# else \
-# $(INSTALL_PROGRAM) ld.new $(bindir)/ld; \
-# fi
-
-#-----------------------------------------------------------------------------
-# 'STANDARD' GNU/960 TARGETS BELOW THIS POINT
-#
-# 'VERSION' file must be present and contain a string of the form "x.y"
-#-----------------------------------------------------------------------------
-
-ver960.c: FORCE
- rm -f ver960.c
- echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
-
-
-# This target should be invoked before building a new release.
-# 'VERSION' file must be present and contain a string of the form "x.y"
-#
-roll:
- @V=`cat VERSION` ; \
- MAJ=`sed 's/\..*//' VERSION` ; \
- MIN=`sed 's/.*\.//' VERSION` ; \
- V=$$MAJ.`expr $$MIN + 1` ; \
- rm -f VERSION ; \
- echo $$V >VERSION ; \
- echo Version $$V
-
-
-dep: $(LDSOURCES)
- mkdep $(CFLAGS) $?
-
-# Dummy target to force execution of dependent targets.
-#
-force:
-
-# Target to uncomment host-specific lines in this makefile. Such lines must
-# have the following string beginning in column 1: #__<hostname>__#
-# Original Makefile is backed up as 'Makefile.old'.
-#
-# Invoke with: make make HOST=xxx
-#
-make:
- -@if test $(HOST)x = x ; then \
- echo 'Specify "make make HOST=???"'; \
- exit 1; \
- fi ; \
- grep -s "^#The next line was generated by 'make make'" Makefile; \
- if test $$? = 0 ; then \
- echo "Makefile has already been processed with 'make make'";\
- exit 1; \
- fi ; \
- mv -f Makefile Makefile.old; \
- echo "#The next line was generated by 'make make'" >Makefile ; \
- echo "HOST=$(HOST)" >>Makefile ; \
- echo >>Makefile ; \
- sed "s/^#__$(HOST)__#//" < Makefile.old >>Makefile
-
-#
-
-Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
- $(SHELL) ./config.status
-
-### mode:fundamental ***
-### Local Variables: ***
-### page-delimiter: "^#" ***
-### End: ***
-### end of file
-
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/readline/.Sanitize b/readline/.Sanitize
index 0599ebd..539c960 100644
--- a/readline/.Sanitize
+++ b/readline/.Sanitize
@@ -27,7 +27,6 @@ Things-to-keep:
COPYING
ChangeLog
-Makefile.dos
Makefile.in
configure.bat
chardefs.h
diff --git a/readline/Makefile.dos b/readline/Makefile.dos
deleted file mode 100644
index 201fc79..0000000
--- a/readline/Makefile.dos
+++ /dev/null
@@ -1,228 +0,0 @@
-# This file was generated automatically by configure. Do not edit.
-target_makefile_frag =
-host_makefile_frag =
-CROSS=-DCROSS_COMPILE
-ALL=all.cross
-host_alias = go32
-host_cpu = i386
-host_vendor = dj
-host_os = dos
-version_path =
-target_alias = h8300hds
-target_cpu = h8300
-target_vendor = hitachi
-target_os = hds
-subdir =
-unsubdir = .
-VPATH = .
-#
-# Makefile
-# Copyright 1990, 1991 Free Software Foundation, Inc.
-#
-# This file 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 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-#
-
-#
-# Makefile for readline and history libraries.
-#
-
-srcdir = .
-
-prefix = /usr/local
-
-bindir = $(prefix)/bin
-datadir = $(prefix)/lib
-libdir = $(prefix)/lib
-mandir = $(datadir)/man
-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
-infodir = $(datadir)/info
-includedir = $(prefix)/include
-docdir = $(datadir)/doc
-
-SHELL = /bin/sh
-
-INSTALL = install -c
-INSTALL_PROGRAM = $(INSTALL)
-INSTALL_DATA = $(INSTALL)
-
-AR = ar
-AR_FLAGS = qv
-BISON = bison
-MAKEINFO = makeinfo
-RANLIB = ar rvs
-
-#### Host, target, and site specific Makefile fragments come in here.
-###
-
-# Define TYPES as -DVOID_SIGHANDLER if your operating system uses
-# a return type of "void" for signal handlers.
-TYPES = -DVOID_SIGHANDLER
-
-# HP-UX compilation requires the BSD library.
-#LOCAL_LIBS = -lBSD
-
-# Xenix compilation requires -ldir -lx
-#LOCAL_LIBS = -ldir -lx
-
-# Comment out "-DVI_MODE" if you don't think that anyone will ever desire
-# the vi line editing mode and features.
-READLINE_DEFINES = $(TYPES) -DVI_MODE
-
-DEBUG_FLAGS = -g
-LDFLAGS = $(DEBUG_FLAGS)
-H_CFLAGS=-D__MSDOS__ -D__GO32__
-CFLAGS = $(H_CFLAGS) $(DEBUG_FLAGS) $(USG) -I. $(LOCAL_INCLUDES) $(CPPFLAGS) $(READLINE_DEFINES)
-
-# A good alternative is gcc -traditional.
-#CC = gcc -traditional
-RM = rm
-CP = cp
-
-LOCAL_INCLUDES = -I$(srcdir)/../
-
-CSOURCES = readline.c history.c funmap.c keymaps.c vi_mode.c \
- emacs_keymap.c vi_keymap.c
-
-HSOURCES = readline.h chardefs.h history.h keymaps.h
-SOURCES = $(CSOURCES) $(HSOURCES)
-
-DOCUMENTATION = readline.texi inc-read.texi \
- history.texi inc-hist.texi
-
-SUPPORT = COPYING Makefile $(DOCUMENTATION) ChangeLog
-
-THINGS_TO_TAR = $(SOURCES) $(SUPPORT)
-
-##########################################################################
-
-STAGESTUFF = *.o
-
-all: libreadline.a
-
-info:
- echo FIXME
- echo FIXME
- echo FIXME
-
-clean-info: force
- -rm -f *.info*
-
-history.info: $(srcdir)/history.texi
- $(MAKEINFO) -o history.info $(srcdir)/history.texi
-
-readline.info: $(srcdir)/readline.texi $(srcdir)/inc-read.texi
- $(MAKEINFO) -o readline.info $(srcdir)/readline.texi
-
-libreadline.a: readline.o history.o funmap.o keymaps.o tilde.o vi_mode.o
- -$(RM) -f libreadline.a
- $(AR) $(AR_FLAGS) libreadline.a readline.o history.o funmap.o keymaps.o tilde.o vi_mode.o
- $(RANLIB) libreadline.a
-
-readline.o: readline.h chardefs.h keymaps.h history.h readline.c vi_mode.c
-history.o: history.c history.h
-funmap.o: readline.h
-keymaps.o: emacs_keymap.c vi_keymap.c keymaps.h chardefs.h keymaps.c
-
-tilde.o: $(srcdir)/../glob/tilde.c
- $(CC) -c $(CFLAGS) $(srcdir)/../glob/tilde.c
-
-libtest: libreadline.a libtest.c
- $(CC) -o libtest $(CFLAGS) $(CPPFLAGS) -L. libtest.c -lreadline -ltermcap
-
-readline: readline.c history.o keymaps.o funmap.o readline.h chardefs.h vi_mode.o
- $(CC) $(CFLAGS) $(CPPFLAGS) $(READLINE_DEFINES) \
- $(LOCAL_INCLUDES) -DTEST -o readline readline.c funmap.o \
- keymaps.o history.o vi_mode.o -L. -ltermcap
-
-readline.tar: $(THINGS_TO_TAR)
- tar -cf readline.tar $(THINGS_TO_TAR)
-
-readline.tar.Z: readline.tar
- compress -f readline.tar
-
-install:
- $(INSTALL_DATA) libreadline.a $(libdir)/libreadline.a
- $(RANLIB) $(libdir)/libreadline.a
- [ -d $(includedir)/readline ] || mkdir $(includedir)/readline
- $(INSTALL_DATA) $(srcdir)/readline.h $(includedir)/readline/readline.h
- $(INSTALL_DATA) $(srcdir)/keymaps.h $(includedir)/readline/keymaps.h
- $(INSTALL_DATA) $(srcdir)/chardefs.h $(includedir)/readline/chardefs.h
-
-install-info: info
- echo FIXME
- echo FIXME
- echo FIXME
-# for i in *.info* ; do \
-# $(INSTALL_DATA) $$i $(infodir)/$$i ; \
-# done
-
-includes:
- if [ ! -r $(INCDIR)/readline ]; then\
- mkdir $(INCDIR)/readline;\
- chmod a+r $(INCDIR)/readline;\
- fi
- $(INSTALL_FILE) $(srcdir)/readline.h $(INCDIR)/readline/
- $(INSTALL_FILE) $(srcdir)/keymaps.h $(INCDIR)/readline/
- $(INSTALL_FILE) $(srcdir)/chardefs.h $(INCDIR)/readline/
-clean:
- rm -f $(STAGESTUFF) *.a *.log *.cp *.tp *.vr *.fn
- rm -f *.aux *.pg *.toc
-
-$(DESTDIR)/libreadline.a: libreadline.a
-
-# Copy the object files from a particular stage into a subdirectory.
-stage1: force
- -mkdir stage1
- -mv $(STAGESTUFF) stage1
-
-stage2: force
- -mkdir stage2
- -mv $(STAGESTUFF) stage2
-
-stage3: force
- -mkdir stage3
- -mv $(STAGESTUFF) stage3
-
-against=stage2
-
-comparison: force
- for i in $(STAGESTUFF) ; do cmp $$i $(against)/$$i ; done
-
-de-stage1: force
- -(cd stage1 ; mv -f * ..)
- -rmdir stage1
-
-de-stage2: force
- -(cd stage2 ; mv -f * ..)
- -rmdir stage2
-
-de-stage3: force
- -(cd stage3 ; mv -f * ..)
- -rmdir stage3
-
-force:
-
-# with the gnu make, this is done automatically.
-
-Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
- $(SHELL) ./config.status
diff --git a/readline/examples/.Sanitize b/readline/examples/.Sanitize
index 74688ce..71015a2 100644
--- a/readline/examples/.Sanitize
+++ b/readline/examples/.Sanitize
@@ -27,7 +27,6 @@ Things-to-keep:
Inputrc
Makefile
-Makefile.dos
configure.bat
fileman.c
manexamp.c
diff --git a/readline/examples/Makefile.dos b/readline/examples/Makefile.dos
deleted file mode 100644
index 76796ec..0000000
--- a/readline/examples/Makefile.dos
+++ /dev/null
@@ -1,12 +0,0 @@
-# This is the Makefile for the examples subdirectory of readline. -*- text -*-
-#
-
-EXECUTABLES = fileman
-CFLAGS = -g -I../.. -D__MSDOS__ -D__GO32__
-LDFLAGS = -g -L..
-
-fileman: fileman.o
- $(CC) $(LDFLAGS) -o fileman fileman.o -lreadline -lpc
-
-fileman.o: fileman.c
-