* mpw-config.in: Add variable with names of SIOW libraries.

* mpw-make.sed: Add an action to build SIOWgdb.
This commit is contained in:
Raymond Jou 1995-11-09 22:24:44 +00:00
parent 7eb5ccf525
commit 96336a434c
3 changed files with 20 additions and 0 deletions

View 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

View 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

View 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}'"'\