From d73812a1d62890a28f3be4054614e16690a1b029 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Fri, 4 Sep 1992 03:29:15 +0000 Subject: [PATCH] * Makefile.in, Makefile.dos, generic.em, genscripts.sh, gld960.em, h8300hms.em, h8300xray.em, lnk960.em, st2000.em, vanilla.em: Rename all (generated) ld__*.c files to em_.c. This is one character shorter, and lets people build on SVR3 system. (ld__h8300xray.[co] was the killer there; h8300xray.sc-sh is also overlong, but seems harmless.) Based on a patch from Jonathan Ryshpan . * Makefile.in (clean): Fix typo mostclean -> mostlyclean. * configure.in: Add host isc. --- ld/Makefile.dos | 40 ++++++++++++++++++++-------------------- ld/generic.em | 2 +- ld/gld960.em | 2 +- ld/h8300hms.em | 2 +- ld/h8300xray.em | 2 +- ld/lnk960.em | 2 +- ld/st2000.em | 2 +- ld/vanilla.em | 2 +- 8 files changed, 27 insertions(+), 27 deletions(-) diff --git a/ld/Makefile.dos b/ld/Makefile.dos index 46d912d0892..57fab985680 100644 --- a/ld/Makefile.dos +++ b/ld/Makefile.dos @@ -186,9 +186,9 @@ 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 ld__gld68k.o ld__i386aout.o \ - ld__m88k.o ld__glda29k.o ld__news.o h8300hms.o ld__ebmon29k.o \ - ld__gld.o ldgld960.o ldemul.o ldver.o ldmisc.o ldsym.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 @@ -199,11 +199,11 @@ HEADERS=config.h ldmain.h ldmain.h ldwarn.h ldmisc.h ldindr.h \ MANSOURCES=ld.tex LDCSOURCES=ldlang.c ldctor.c ldindr.c ldmain.c ldwrite.c ldwarn.c ldlnk960.c \ - ld__gld.c ld__gld68k.c ld__m88k.c ld__ebmon29k.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 ld__*.c +GENERATED_SOURCES=ldgram.c ldlex.c ldgram.h em_*.c GENERATED_HEADERS=ldgram.h LDSOURCES=$(LDCSOURCES) ldgram.y ldlex.l ldgram.h @@ -225,46 +225,46 @@ ldgram.h ldgram.c: ldgram.y ldlex.c: ldlex.l lex -t $(VPATH)/ldlex.l >ldlex.c -# These all start with ld__ so 'make clean' can find them. +# These all start with em_ so 'make clean' can find them. -ld__gld.c: $(srcdir)/ldtemplate +em_gld.c: $(srcdir)/ldtemplate sed -e s/""/ldgld/g -e s/""/m68k/g \ -e s/""//g -e s/""//g <$(srcdir)/ldtemplate >$@ -ld__news.c: $(srcdir)/ldtemplate +em_news.c: $(srcdir)/ldtemplate sed -e s/""/news/g -e s/""/m68k/g \ -e s/""/news/g -e s/""/NEWS/g <$(srcdir)/ldtemplate >$@ -ld__i386aout.c: $(srcdir)/ldtemplate +em_i386aout.c: $(srcdir)/ldtemplate sed -e s/""/i386aout/g -e s/""/i386/g \ -e s/""/i386aout/g -e s/""/I386AOUT/g <$(srcdir)/ldtemplate >$@ -ld__ebmon29k.c: $(srcdir)/ldtemplate +em_ebmon29k.c: $(srcdir)/ldtemplate sed -e s/""/ebmon29k/g -e s/""/a29k/g \ -e s/"gld"/ebmon29k/g -e s/"GLD"/EBMON29K/g \ -e s/".x"/ebmon.x/ <$(srcdir)/ldtemplate >$@ -ld__gld68k.c: $(srcdir)/ldtemplate +em_gld68k.c: $(srcdir)/ldtemplate sed -e s/""/ldgld68k/g -e s/""/m68k/g \ -e s/""/68k/g -e s/""/68K/g <$(srcdir)/ldtemplate >$@ -ld__glda29k.c: $(srcdir)/ldtemplate +em_glda29k.c: $(srcdir)/ldtemplate sed -e s/""/ldglda29k/g -e s/""/a29k/g \ -e s/""/29k/g -e s/""/29K/g <$(srcdir)/ldtemplate >$@ -ld__m88k.c: $(srcdir)/ldtemplate +em_m88k.c: $(srcdir)/ldtemplate sed -e s/""/ldm88k/g -e s/""/m88k/g \ -e s/""/m88kbcs/g -e s/""/M88KBCS/g <$(srcdir)/ldtemplate >$@ # The .c files for these are generated from ldtemplete. -ld__gld.o: mkscript ldgld.x ldgld.xr ldgld.xu ldgld.xn ldgld.xnn -ld__news.o: mkscript news.x news.xr news.xu news.xn news.xnn -ld__i386aout.o: mkscript i386aout.x i386aout.xr i386aout.xu i386aout.xn i386aout.xnn -ld__ebmon29k.o: mkscript ebmon29k.x ebmon29k.xr ebmon29k.xu \ +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 -ld__gld68k.o: mkscript ldgld68k.x ldgld68k.xr ldgld68k.xu \ +em_gld68k.o: mkscript ldgld68k.x ldgld68k.xr ldgld68k.xu \ ldgld68k.xn ldgld68k.xnn -ld__glda29k.o: mkscript ldglda29k.x ldglda29k.xr ldglda29k.xu \ +em_glda29k.o: mkscript ldglda29k.x ldglda29k.xr ldglda29k.xu \ ldglda29k.xn ldglda29k.xnn -ld__m88k.o: mkscript ldm88k.x ldm88k.xr ldm88k.xu ldm88k.xn ldm88k.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 diff --git a/ld/generic.em b/ld/generic.em index cae7c92e28f..81c0dc2096d 100644 --- a/ld/generic.em +++ b/ld/generic.em @@ -1,6 +1,6 @@ # This shell script that emits a C file. # It does some substitutions. -cat >ld__${EMULATION_NAME}.c <em_${EMULATION_NAME}.c <ld__${EMULATION_NAME}.c <em_${EMULATION_NAME}.c <ld__${EMULATION_NAME}.c <em_${EMULATION_NAME}.c <ld__${EMULATION_NAME}.c <em_${EMULATION_NAME}.c <ld__${EMULATION_NAME}.c <em_${EMULATION_NAME}.c <ld__${EMULATION_NAME}.c <em_${EMULATION_NAME}.c <ld__${EMULATION_NAME}.c <em_${EMULATION_NAME}.c <