* breakpoint.h (enum enable): New enum shlib_disabled for
[deliverable/binutils-gdb.git] / gdb / mpw-make.sed
index 6725b3cd7a63168882a981247b6b481c6804bab3..d7f1d0bea9df444b5b57c629460d68bb2b912b7d 100644 (file)
@@ -1,11 +1,14 @@
 # Sed commands that finish translating the GDB Unix Makefile to MPW syntax.
 
-/^host_alias =/d
-/^target_alias =/d
+/^host_alias =/s/^/#/
+/^target_alias =/s/^/#/
 
 /^host_makefile_frag@$/d
 /^target_makefile_frag@$/d
 
+/@ENABLE_CFLAGS@/s/@ENABLE_CFLAGS@/{ENABLE_CFLAGS}/g
+/^ENABLE_CFLAGS=/s/^/#/
+
 # Edit all the symbolic definitions pointing to various libraries and such.
 
 /^INCLUDE_DIR = /s/"{srcdir}":include/"{topsrcdir}"include:/
@@ -37,6 +40,8 @@
 
 /@ENABLE_CLIBS@/s/@ENABLE_CLIBS@//g
 
+/@LIBS@/s/@LIBS@//g
+
 /INCLUDE_DIR/s/"{s}"{INCLUDE_DIR}/{INCLUDE_DIR}/g
 /INCLUDE_DIR/s/{INCLUDE_DIR}:/{INCLUDE_DIR}/g
 /INCLUDE_DIR/s/"{INCLUDE_DIR}":/"{INCLUDE_DIR}"/g
@@ -130,3 +135,29 @@ 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/
+
+# Edit out actions that only confuse MPW Make.
+/^config.status \\Option-f/,/^$/d
+/^Makefile \\Option-f/,/^$/d
+
+# Add an action to build SIOWgdb.
+$a\
+SIOWgdb \\Option-f {OBS} {TSOBS} {ADD_DEPS} {CDEPS} "{o}"init.c.o\
+       Delete -i -y SIOWgdb\
+       {CC_LD} {INTERNAL_LDFLAGS} -t 'APPL' -c 'gdb ' -o SIOWgdb{PROG_EXT} "{o}"init.c.o {OBS} {TSOBS} {ADD_FILES} {CLIBS} {SIOW_LIB} {LOADLIBES} {EXTRALIBS}\
+       {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}'"'\
+
This page took 0.024241 seconds and 4 git commands to generate.