aboutsummaryrefslogtreecommitdiff
path: root/gdb/mpw-make.sed
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1995-12-12 02:35:27 +0000
committerStan Shebs <shebs@codesourcery.com>1995-12-12 02:35:27 +0000
commitc148ab3c6d9bde57c23eb2d64184f89677ea110b (patch)
tree761386b32ba606454826dcbc36d1e0decdaf410a /gdb/mpw-make.sed
parent1f43e1dd51a810225b3a38a47feffaad40599098 (diff)
downloadgdb-c148ab3c6d9bde57c23eb2d64184f89677ea110b.zip
gdb-c148ab3c6d9bde57c23eb2d64184f89677ea110b.tar.gz
gdb-c148ab3c6d9bde57c23eb2d64184f89677ea110b.tar.bz2
* configure.in (powerpc-*-macos*): New target configuration.
* configure: Update. * config/powerpc/macos.mh, config/powerpc/macos.mt, config/powerpc/nm-macos.h, config/powerpc/tm-macos.h, mac-nat.c: New files, native PowerMac debugging support. * Makefile.in (mac-nat.o): Add build rule. * mpw-config.in (enable_cflags): Add support. (m68k-apple-macos, powerpc-apple-macos): Fix natdepfiles to list object file instead of source file. * mpw-make.sed (@ENABLE_CFLAGS@): Don't edit out, replace with value of variable. (install, install-only): Edit MPW-specific installation into place of Unix shell code. * mac-gdb.r: Fix version resources to use symbolic version strings. (cfrg): New resource, code fragment for PowerMac.
Diffstat (limited to 'gdb/mpw-make.sed')
-rw-r--r--gdb/mpw-make.sed16
1 files changed, 12 insertions, 4 deletions
diff --git a/gdb/mpw-make.sed b/gdb/mpw-make.sed
index 5373cfb..dfba2c7 100644
--- a/gdb/mpw-make.sed
+++ b/gdb/mpw-make.sed
@@ -6,7 +6,8 @@
/^host_makefile_frag@$/d
/^target_makefile_frag@$/d
-/@ENABLE_CFLAGS@/s/@ENABLE_CFLAGS@//g
+/@ENABLE_CFLAGS@/s/@ENABLE_CFLAGS@/{ENABLE_CFLAGS}/g
+/^ENABLE_CFLAGS=/s/^/#/
# Edit all the symbolic definitions pointing to various libraries and such.
@@ -132,6 +133,16 @@ readline_headers =\
{MAKEPEF} gdb{PROG_EXT} -o gdb {MAKEPEF_TOOL_FLAGS} {MAKEPEF_FLAGS}\
{REZ} "{s}"mac-gdb.r -o gdb -append -d PROG_NAME='"'gdb'"' -d VERSION_STRING='"'{version}'"'\
+/^install \\Option-f /,/^$/c\
+install \\Option-f all install-only\
+\
+install-only \\Option-f \
+ Duplicate -y gdb "{bindir}"gdb\
+ If "`Exists SiowGDB`" != ""\
+ Duplicate -y SiowGDB "{bindir}"SiowGDB\
+ End If\
+
+
# Don't do any recursive subdir stuff.
/ subdir_do/s/{MAKE}/null-command/
@@ -145,6 +156,3 @@ SIOWgdb \\Option-f {OBS} {TSOBS} {ADD_DEPS} {CDEPS} "{o}"init.c.o\
{MAKEPEF} SIOWgdb{PROG_EXT} -o SIOWgdb -ft 'APPL' -fc 'gdb ' {MAKEPEF_FLAGS} \
{REZ} -o SIOWgdb {RIncludes}siow.r -append -d __kPrefSize=5000 -d __kMinSize=2000 -d APPNAME='"'SIOWgdb'"' \
{REZ} "{s}"mac-gdb.r -o SIOWgdb -append -d VERSION_STRING='"'{version}'"'\
-
-
-