* emultempl/generic.em: Use "e" rather than "em_" as prefix for filename.

* emultempl/gld960.em, emultempl/gld960c.em, emultempl/lnk960.em,
emultempl/hppaelf.em, emultempl/m88kbcs.em, emultempl/vanilla.em: Ditto.
* Makefile.in: Changed all generated file names.
(ldemul-list.h): Depend on Makefile, not config.status.  Changed sed patterns
to handle new filenames.
This commit is contained in:
Ken Raeburn
1994-05-06 06:55:35 +00:00
parent 97dc4cf850
commit 38cae0cd30

View File

@ -1,6 +1,6 @@
# This shell script emits a C file. -*- C -*- # This shell script emits a C file. -*- C -*-
# It does some substitutions. # It does some substitutions.
cat >em_${EMULATION_NAME}.c <<EOF cat >e${EMULATION_NAME}.c <<EOF
/* This file is is generated by a shell script. DO NOT EDIT! */ /* This file is is generated by a shell script. DO NOT EDIT! */
/* emulate the original gld for the given ${EMULATION_NAME} /* emulate the original gld for the given ${EMULATION_NAME}
@ -61,7 +61,7 @@ s/$/\\n\\/
$s/$/n"/ $s/$/n"/
' '
cat >>em_${EMULATION_NAME}.c <<EOF cat >>e${EMULATION_NAME}.c <<EOF
{ {
*isfile = 0; *isfile = 0;
@ -81,7 +81,7 @@ EOF
else else
# Scripts read from the filesystem. # Scripts read from the filesystem.
cat >>em_${EMULATION_NAME}.c <<EOF cat >>e${EMULATION_NAME}.c <<EOF
{ {
*isfile = 1; *isfile = 1;
@ -100,7 +100,7 @@ EOF
fi fi
cat >>em_${EMULATION_NAME}.c <<EOF cat >>e${EMULATION_NAME}.c <<EOF
struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation = struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
{ {