* mpw-config.in: Add variable with names of SIOW libraries.
authorRaymond Jou <rjou@cygnus>
Thu, 9 Nov 1995 22:24:44 +0000 (22:24 +0000)
committerRaymond Jou <rjou@cygnus>
Thu, 9 Nov 1995 22:24:44 +0000 (22:24 +0000)
* mpw-make.sed: Add an action to build SIOWgdb.

gdb/ChangeLog
gdb/mpw-config.in
gdb/mpw-make.sed

index 2cfc93a..e3ebd80 100644 (file)
@@ -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
index 3711f50..8261a3d 100644 (file)
@@ -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
index 1821d3a..5373cfb 100644 (file)
@@ -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}'"'\
+
+
+