1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-26 03:51:32 +00:00

Remove AIX RS/6000 platform support. (#46)

AIX on PS/2 will be removed separately.
This commit is contained in:
Bruce Mitchener
2020-12-15 03:13:38 +07:00
committed by GitHub
parent 605499bfc2
commit fd0e12e855
11 changed files with 6 additions and 290 deletions

View File

@@ -27,7 +27,6 @@ AIXPS2 True if compiling for PS/2 under AIX (our flag)
sparc True if we're compiling on a SPARC machine.
mc68020 True if we're compiling on a Motorola 680x0 machine.
sun3 We're compiling for a Sun-3.
RS6000 We're compiling for the RS/6000 processor.
UNSAFE If true, enables the "fast" version of 68020 opcodes.
NOASM If true, suppress any attempt to include assembler

View File

@@ -1,66 +0,0 @@
# Options for AIX 3.1, IBM RISC System/6000, and X-Windows
DEMO =
EURO =
XFILES = $(OBJECTDIR)XClose.o \
$(OBJECTDIR)Cursor.o \
$(OBJECTDIR)XWindow.o \
$(OBJECTDIR)DoRing.o \
$(OBJECTDIR)DoScroll.o \
$(OBJECTDIR)XEvent.o \
$(OBJECTDIR)XGravity.o \
$(OBJECTDIR)XInit.o \
$(OBJECTDIR)Xevinit.o \
$(OBJECTDIR)Xkbdmus.o \
$(OBJECTDIR)Xlspwin.o \
$(OBJECTDIR)Xbbt.o \
$(OBJECTDIR)Xkbd.o \
$(OBJECTDIR)Xmkicon.o \
$(OBJECTDIR)Xopendsp.o \
$(OBJECTDIR)Xrdopt.o \
$(OBJECTDIR)Xreconf.o \
$(OBJECTDIR)XScroll.o \
$(OBJECTDIR)Xscrolb.o \
$(OBJECTDIR)XCursor.o \
$(OBJECTDIR)XMouse.o \
$(OBJECTDIR)Xsubwin.o \
$(OBJECTDIR)Xcolor.o \
$(OBJECTDIR)Xwinman.o
XVERSION = XV11R4
XFLAGS = -DXWINDOW -D$(XVERSION)
# This is to make the %$#@! Apollo cc happy
OEXT = .o
# OPTFLAGS is normally -O.
#OPTFLAGS = -g
OPTFLAGS = -O
DISPOPTFLAGS = -O
FPFLAGS =
DFLAGS = -DFSERROR -DNEW_STORAGE -DAIX -D_BSD -DNOASM -DNOPIXRECT -DNOETHER \
-DRS6000 -DFORKCOMM -DLOGINT -DBIGATOMS -DNOFORN $(DEMO) $(EURO) $(XFLAGS)
LDFLAGS = -lX11 -lc -lm -lbsd
LDELDFLAGS = -lX11 -lc -lm -lbsd
INLINE =
BITBLTFILE =
BYTESWAPFILES = $(OBJECTDIR)byteswap$(OEXT)
OBJECTDIR = ../$(RELEASENAME)/
# don't need ldeether on this machine, so omit it from here:
default : ../$(OSARCHNAME)/lde
# Special rules to create xc.o on IBM RISC-system/6000's:
$(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
$(INCDIR)initatms.h $(INCDIR)gcdata.h \
$(INCDIR)arith.h $(INCDIR)stream.h \
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
$(INCDIR)tosfns.h $(INCDIR)inlineC.h
cc $(DISPRFLAGS) $(SRCDIR)xc.c -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.o

View File

@@ -1,120 +0,0 @@
# makeright
# @(#) makeright Version 1.12 (7/18/90).
##***********************************************************************/
## */
## Copyright 1989, 1990 Venue, Fuji Xerox Co., Ltd, Xerox Corp. */
## */
## This file is work-product resulting from the Xerox/Venue */
## Agreement dated 18-August-1989 for support of Medley. */
## */
##***********************************************************************/
#
# Feb. 6 1990 osamu: Add display option
# release option does not support yet.
# Apr.23 1990 osamu: add release option.
#
# Jul 18 1990 JDS: Add 'init' option for making init-loading emulators
#
# usage: makeright [display-option] [other-option]
#
# example: makeright single ; make lde for mmaped displayFB
# makeright multi ; make lde for cg3,cg6
# makeright x ; make lde for X-windows
# makeright color ; make lde with color support in it.
# makeright multi release ; make release version of lde for cg3,cg6
# makeright init ; make lde for loading INIT.DLINIT b/w only
#
# makeright multi requires directory "maiko/${osversion}.${architecture}-multi"
# (ex. maiko/sunos4.sparc-multi)
# object files are stored there.
#
# makeright init requires directory "maiko/init.${architecture}
#
# Note: X11R4 environment link shared libraries.
# lde need X library. If lde links shared libraries,
# X shared libraries are needed at run time.
#
# Hide X shared libraries from link libraries search path.
setenv LD_LIBRARY_PATH /usr/local/lib
set RELDIR = ../RELEASE/
if($1 == "") then
set display=single
else
if($1 == "release") then
switch($2)
case single:
set display = single
breaksw
case multi:
set display = multi
breaksw
case x:
set display = x
breaksw
default:
makeright single release
makeright multi release
makeright x release
exit
breaksw
endsw
else
set display=$1
endif
endif
if( $#argv > 0 ) then
shift
endif
set architecture = rs6000
set osversion = aix
switch($display)
case init:
set display = single
set releasename = init.${architecture}
set ldename = ldeinit
breaksw
case single:
set releasename = ${osversion}.${architecture}
set ldename = ldesingle
breaksw
case multi:
set releasename = ${osversion}.${architecture}-${display}
set ldename = ldemulti
breaksw
case x:
set releasename = ${osversion}.${architecture}-${display}
set ldename = ldex
breaksw
default:
echo "display-option: $display is not supported."
exit
breaksw
endsw
set releaseflg = 0
if( "$1" == "release" ) then
set releaseflg = 1
if($display != single) then
if( !(-e usermakefile-${releasename})) then
ln usermakefile-${osversion}.${architecture} usermakefile-${releasename}
endif
endif
else
set releaseflg = 0
endif
set installdir = ${RELDIR}install.${osversion}.${architecture}/
#if($display == single ) then
# set releasename = ${osversion}.${architecture}
#else
# set releasename = ${osversion}.${architecture}-${display}
#endif
echo start making lde for ${releasename}.
# then finally do the make, including the right stuff
# With makefile-tail merged, this should only take ONE make command....
make RELEASENAME=${releasename} INSDIR=${installdir} LDENAME=${ldename} \
OSARCHNAME=${osversion}.${architecture} \
-f makefile-header -f makefile-${releasename} \
-f makefile-tail $*