aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1995-12-01 22:44:24 +0000
committerStan Shebs <shebs@codesourcery.com>1995-12-01 22:44:24 +0000
commit67e69d7e9edb13adbe267028b993c8dc9dcc8273 (patch)
tree4401829434c72c2b79f1fba521ae4905fc52481b /binutils
parent90f543f68427eb7a884ad6152f7287569e1fe4c6 (diff)
downloadgdb-67e69d7e9edb13adbe267028b993c8dc9dcc8273.zip
gdb-67e69d7e9edb13adbe267028b993c8dc9dcc8273.tar.gz
gdb-67e69d7e9edb13adbe267028b993c8dc9dcc8273.tar.bz2
* mpw-make.sed (install, install-only): Edit in Mac-specific
install procedure.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/mpw-make.sed18
2 files changed, 23 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 56aacb3..b04c6e5 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+Fri Dec 1 14:41:56 1995 Stan Shebs <shebs@andros.cygnus.com>
+
+ * mpw-make.sed (install, install-only): Edit in Mac-specific
+ install procedure.
+
Thu Nov 30 20:26:02 1995 Kim Knuttila <krk@cygnus.com>
* dlltool.c (ppc_jtab): The binary glue for PowerPC dll linkage,
diff --git a/binutils/mpw-make.sed b/binutils/mpw-make.sed
index 6984d2f..1fba3c7 100644
--- a/binutils/mpw-make.sed
+++ b/binutils/mpw-make.sed
@@ -66,6 +66,24 @@ BUILD_DLLTOOL = \
# Fix an over-eagerness.
/echo.*WARNING.*This file/s/'.*'/' '/
+/^install \\Option-f /,/^$/c\
+install \\Option-f all install-only\
+\
+install-only \\Option-f\
+ If "`Exists "{prefix}"`" == ""\
+ Echo "{prefix}" does not exist, cannot install anything\
+ Exit 1\
+ End If\
+ If "`Exists "{bindir}"`" == ""\
+ NewFolder "{bindir}"\
+ End If\
+ # Need to copy all the tools\
+ For prog in {PROGS}\
+ Set progname `echo {prog} | sed -e 's/.new//'`\
+ Duplicate -y :{prog} "{bindir}"{progname}\
+ End For\
+
+
# Remove un-useful targets.
/^Makefile \\Option-f/,/^$/d
/^"{o}"config.h \\Option-f/,/^$/d