aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymond Jou <rjou@cygnus>1995-11-09 22:24:44 +0000
committerRaymond Jou <rjou@cygnus>1995-11-09 22:24:44 +0000
commit96336a434c4c5b8727c1c92f392df181a02b34fa (patch)
treee2bd375dbf0c64f8a50bc9698f3d7b0147964433
parent7eb5ccf525b9919a2d82790ea7d620ee7b90250c (diff)
downloadgdb-96336a434c4c5b8727c1c92f392df181a02b34fa.zip
gdb-96336a434c4c5b8727c1c92f392df181a02b34fa.tar.gz
gdb-96336a434c4c5b8727c1c92f392df181a02b34fa.tar.bz2
* mpw-config.in: Add variable with names of SIOW libraries.
* mpw-make.sed: Add an action to build SIOWgdb.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/mpw-config.in3
-rw-r--r--gdb/mpw-make.sed12
3 files changed, 20 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2cfc93a..e3ebd80 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Thu Nov 9 14:04:05 1995 Raymond Jou (rjou@mexican.cygnus.com)
+
+ * mpw-config.in: Add variable with names of SIOW libraries.
+ * mpw-make.sed: Add an action to build SIOWgdb.
+
Wed Nov 8 19:25:22 1995 Stan Shebs <shebs@andros.cygnus.com>
* mpw-make.sed: Edit @ENABLE_CFLAGS@ out, mpw-configure can
diff --git a/gdb/mpw-config.in b/gdb/mpw-config.in
index 3711f50..8261a3d 100644
--- a/gdb/mpw-config.in
+++ b/gdb/mpw-config.in
@@ -2,9 +2,11 @@
If "{host_canonical}" =~ /m68k-apple-mpw/
forward-include "{srcdir}"config:m68k:xm-mpw.h xm.h
+ Set siow_lib '"{Libraries}"SIOW.o'
Else If "{host_canonical}" =~ /powerpc-apple-mpw/
forward-include "{srcdir}"config:powerpc:xm-mpw.h xm.h
+ Set siow_lib '"{PPCLibraries}"PPCSIOW.o'
End If
@@ -67,6 +69,7 @@ Echo "NAT_ADD_FILES = " >> "{o}"mk.tmp
Echo "XM_CDEPS = " >> "{o}"mk.tmp
Echo "TM_CDEPS = " >> "{o}"mk.tmp
Echo "NAT_CDEPS = " >> "{o}"mk.tmp
+Echo "SIOW_LIB = " {siow_lib} >> "{o}"mk.tmp
Echo '# End from mpw-config.in' >> "{o}"mk.tmp
Echo '/* config.h. Generated by mpw-configure. */' > "{o}"config.new
diff --git a/gdb/mpw-make.sed b/gdb/mpw-make.sed
index 1821d3a..5373cfb 100644
--- a/gdb/mpw-make.sed
+++ b/gdb/mpw-make.sed
@@ -136,3 +136,15 @@ readline_headers =\
/ subdir_do/s/{MAKE}/null-command/
/^config.status \\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}'"'\
+
+
+