version 1.3, 1994/11/17 15:53:05
|
version 1.4, 1994/11/17 16:48:26
|
Line 362 case $target in
|
Line 362 case $target in
|
mips-dec-ultrix*) |
mips-dec-ultrix*) |
cpu=decstation.h |
cpu=decstation.h |
bigendian=0 |
bigendian=0 |
|
extra_obs="getopt1.o getopt.o" |
flags="-fforce-mem -fforce-addr -fomit-frame-pointer -fno-defer-pop -fcaller-saves" |
flags="-fforce-mem -fforce-addr -fomit-frame-pointer -fno-defer-pop -fcaller-saves" |
defines="-DUSE_TOS -DUSE_FTOS -D_POSIX_VERSION -DUSE_GETOPT $threading" |
defines="-DUSE_TOS -DUSE_FTOS -D_POSIX_VERSION -DUSE_GETOPT $threading" |
;; |
;; |
Line 394 fi
|
Line 395 fi
|
|
|
if [ x$bigendian = x1 ] |
if [ x$bigendian = x1 ] |
then |
then |
kernalswap='s|kernl32l.fi kernl32b.fi|kernl32b.fi kernl32l.fi|' |
sed -e "s|^XCFLAGS[ ]*=*\(.*\)$|XCFLAGS = \1 $flags|" \ |
kernalexec='-e' |
-e "s|^XDEFINES[ ]*=*\(.*\)$|XDEFINES = \1 $defines|" \ |
|
-e "s|^OBJECTS[ ]*=*\(.*\)$|OBJECTS = \1 $extra_obs|" \ |
|
-e "s|^CFLAGS[ ]*=*\(.*\)$|CFLAGS = $debugging\1|" \ |
|
-e "s|^LDFLAGS[ ]*=*\(.*\)$|LDFLAGS = $debugging\1|" \ |
|
-e "s|kernl32l.fi kernl32b.fi|kernl32b.fi kernl32l.fi|" \ |
|
Makefile.in > Makefile |
|
else |
|
sed -e "s|^XCFLAGS[ ]*=*\(.*\)$|XCFLAGS = \1 $flags|" \ |
|
-e "s|^XDEFINES[ ]*=*\(.*\)$|XDEFINES = \1 $defines|" \ |
|
-e "s|^OBJECTS[ ]*=*\(.*\)$|OBJECTS = \1 $extra_obs|" \ |
|
-e "s|^CFLAGS[ ]*=*\(.*\)$|CFLAGS = $debugging\1|" \ |
|
-e "s|^LDFLAGS[ ]*=*\(.*\)$|LDFLAGS = $debugging\1|" \ |
|
Makefile.in > Makefile |
fi |
fi |
|
|
sed -e "s|^XCFLAGS[ ]*=*\(.*\)$|XCFLAGS = \1 $flags|" \ |
|
-e "s|^XDEFINES[ ]*=*\(.*\)$|XDEFINES = \1 $defines|" \ |
|
-e "s|^OBJECTS[ ]*=*\(.*\)$|OBJECTS = \1 $extra_obs|" \ |
|
-e "s|^CFLAGS[ ]*=*\(.*\)$|CFLAGS = $debugging\1|" \ |
|
-e "s|^LDFLAGS[ ]*=*\(.*\)$|LDFLAGS = $debugging\1|" \ |
|
$kernalexec "$kernalswap" \ |
|
Makefile.in > Makefile |
|
|
|
exit 0 |
exit 0 |
|
|