aboutsummaryrefslogtreecommitdiff
path: root/ld/Makefile.am
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-08-06 22:46:03 +0000
committerIan Lance Taylor <ian@airs.com>1999-08-06 22:46:03 +0000
commit597e25914ec5895fba8097946514d4b8c878eb0a (patch)
treefdc7d79e1329f02cd7685d15e9dc98a2d5072989 /ld/Makefile.am
parent4a607dcc2c50b3c622c4e12c405ef33d85ee7f5f (diff)
downloadgdb-597e25914ec5895fba8097946514d4b8c878eb0a.zip
gdb-597e25914ec5895fba8097946514d4b8c878eb0a.tar.gz
gdb-597e25914ec5895fba8097946514d4b8c878eb0a.tar.bz2
* emultempl/ostring.sed: Rename from stringify.sed.
* emultempl/astring.sed: New file. * Makefile.am (stringify.sed): New target. (GEN_DEPENDS): Change $(srcdir)/emultempl/stringify.sed to stringify.sed. * configure.in: Define and substitute STRINGIFY. * emultempl/*.em: Use stringify.sed from build directory rather than source directory. * emultempl/elf32.em: Use stringify.sed rather than inline sed script. * emultempl/gld960.em, emultempl/gld960c.em: Likewise. * emultempl/hppaelf.em, emultempl/linux.em: Likewise. * emultempl/lnk960.em, emultempl/sunos.em: Likewise. * configure, Makefile.in: Rebuild.
Diffstat (limited to 'ld/Makefile.am')
-rw-r--r--ld/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/ld/Makefile.am b/ld/Makefile.am
index 3e7f23b..1934092 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -260,10 +260,13 @@ ldemul-list.h: Makefile
echo " 0") >ldemul-tmp.h
mv ldemul-tmp.h ldemul-list.h
+stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
+ cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
+
# These all start with e so 'make clean' can find them.
GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@"
-GEN_DEPENDS = $(srcdir)/genscripts.sh $(srcdir)/emultempl/stringify.sed
+GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
@TDIRS@
ea29k.c: $(srcdir)/emulparams/a29k.sh \