-------- diff /d/R3.bits/server/Imakefile Imakefile --------
*** /d/R3.bits/server/Imakefile	Wed Sep  7 17:42:17 1988
--- Imakefile	Fri Oct 21 15:57:36 1988
***************
*** 12,21 ****
--- 12,22 ----
                    ddx/sun \
                    ddx/apollo \
                    ddx/ibm \
                    ddx/hp/hp ddx/hp/cfb ddx/hp/mfb ddx/hp/topcat \
                    ddx/ndx ddx/tek \
+ 		  ddx/sgi/4d ddx/sgi/cfb \
                    ddx/macII ddx/plx
        ALLOSDIRS = os/4.2bsd os/bsdemul
          SUBDIRS = dix $(ALLDDXDIRS) $(ALLOSDIRS)
             BSD = os/4.2bsd/libos.a
          BSDEMUL = os/bsdemul/libbsdemul.a
***************
*** 29,40 ****
              APC = ddx/apollo/apc/libapc.a
              SUN = ddx/sun/libsun.a
               HP = ddx/hp/hp/libhp.a
            MACII = ddx/macII/libmacII.a
              PLX = ddx/plx/libplx.a
          SYSLIBS = -lm -ldbm
!     ALLPOSSIBLE = Xqvss Xqdss Xsun Xibm Xapollo Xhp Xpeg XmacII Xplx
  
  #ifndef	XqvssServer
  #define	XqvssServer /* as nothing */
  #endif
  
--- 30,43 ----
              APC = ddx/apollo/apc/libapc.a
              SUN = ddx/sun/libsun.a
               HP = ddx/hp/hp/libhp.a
            MACII = ddx/macII/libmacII.a
              PLX = ddx/plx/libplx.a
+             SGI = ddx/sgi/4d/libsgi.a
+          SGICFB = ddx/sgi/cfb/libcfb.a
          SYSLIBS = -lm -ldbm
!     ALLPOSSIBLE = Xqvss Xqdss Xsun Xibm Xapollo Xhp Xpeg XmacII Xplx Xsgi
  
  #ifndef	XqvssServer
  #define	XqvssServer /* as nothing */
  #endif
  
***************
*** 72,83 ****
  
  #ifndef	XmacIIServer
  #define	XmacIIServer /* as nothing */
  #endif
  
  # don't split this across lines, because imake will keep a trailing slash
! ALL = XqvssServer XqdssServer XsunServer XapolloServer XibmServer XHPServer XndxServer XpegServer XmacIIServer XplxServer
  
  #
  # This turns off the default rule for compiling .c files because
  # this makefile does not really know how to build it.  This is really
  # just a hack because of sun's version of make and nfs.
--- 75,90 ----
  
  #ifndef	XmacIIServer
  #define	XmacIIServer /* as nothing */
  #endif
  
+ #ifndef XsgiServer
+ #define	XsgiServer /* as nothing */
+ #endif
+ 
  # don't split this across lines, because imake will keep a trailing slash
! ALL = XqvssServer XqdssServer XsunServer XapolloServer XibmServer XHPServer XndxServer XpegServer XmacIIServer XplxServer XsgiServer
  
  #
  # This turns off the default rule for compiling .c files because
  # this makefile does not really know how to build it.  This is really
  # just a hack because of sun's version of make and nfs.
***************
*** 221,230 ****
--- 228,248 ----
  MACIILIBS = $(MACII) $(CFB) $(DIX) $(BSD) $(SNF) $(BSDEMUL) $(MFB) $(MI) $(EXTENSIONS)
  MACIISYSLIBS = $(SYSLIBS)
  XmacIIDIRS = $(MACIIDIRS)
   
  ServerTarget(XmacII,$(EXTDIR) $(FONTUTILDIR) $(MACIIDIRS),$(MACIIOBJS),$(MACIILIBS),$(MACIISYSLIBS))
+ 
+ #
+ # SGI server
+ #
+ SGIDIRS = ddx/sgi/cfb ddx/sgi/4d dix ddx/snf ddx/mi ddx/mfb os/4.2bsd
+ SGIOBJS = ddx/sgi/4d/sgiinit.o $(FONTUTIL)
+ SGILIBS = $(SGI) $(SGICFB) $(DIX) $(BSD) $(SNF) $(MFB) $(MI) $(EXTENSIONS)
+ SGISYSLIBS = -lm -lmalloc -lsun -lbsd -lgl
+ XsgiDIRS = $(SGIDIRS)
+ 
+ ServerTarget(Xsgi,$(EXTDIR) $(FONTUTILDIR) $(SGIDIRS),$(SGIOBJS),$(SGILIBS),$(SGISYSLIBS))
  
  #
  # other, necessary targets
  #
  MakeMakeSubdirs($(SERVERSUBDIRS),RealMakefiles)
