]> andersk Git - moira.git/commitdiff
SGI support
authorjweiss <jweiss>
Tue, 30 Jul 1996 02:47:08 +0000 (02:47 +0000)
committerjweiss <jweiss>
Tue, 30 Jul 1996 02:47:08 +0000 (02:47 +0000)
started to use /mit/gdss/lib but that isn't supported for all platforms
so what we have here now is vaguely gross.

util/imake.includes/config.Imakefile

index 65831c65484f77daf5189cea3e643702f198ac2b..efdbfbb70f83ad592b389c71d85614622f569dab 100644 (file)
@@ -34,6 +34,10 @@ OSLIBS=-lbsd
 CURSES=-lcurses
 #endif
 
+#if defined(sgi)
+OSDEFS= -DPOSIX
+#endif
+
 #if defined(SOLARIS)
 OSDEFS= -DPOSIX -DSOLARIS -I/usr/openwin/include
 OSLIBS= -L/usr/ccs/lib -lcurses -ltermcap -lresolv \
@@ -126,7 +130,11 @@ LZEPHYR=-lzephyr
  * location of library and includes.
  */
 #define GDSS
+#if !defined(sgi)
 LIBGDSS= /mit/gdss/`machtype`/libgdss.a
+#else
+LIBGDSS= /mit/gdss/lib/libgdss.a
+#endif
 GDSSINC= -I/mit/gdss/include
 
 /*
@@ -145,7 +153,7 @@ GDSSINC= -I/mit/gdss/include
  * Define USELINT if you want to build lint libraries while building
  * Moira.
  */
-#if !defined(NeXT) && !defined(_AIX) && !defined(SOLARIS)
+#if !defined(NeXT) && !defined(_AIX) && !defined(SOLARIS) && !defined(sgi)
 #define USELINT
 #endif
 
@@ -241,7 +249,7 @@ SQL_LIB= /usr/oracle/lib/#########
 #endif
 
 /* HAS_VSPRINTF should be defined if this function is in your C library */
-#if defined(_AIX) || defined(sun) || defined(_AUX_SOURCE)
+#if defined(_AIX) || defined(sun) || defined(_AUX_SOURCE) || defined(sgi)
 #define HAS_VSPRINTF
 #else
 #undef HAS_VSPRINTF
@@ -281,7 +289,7 @@ ARCHIVE= ar cru
 /*
  * The name of another program needed to post-process the archive.
  */
-#ifdef SOLARIS
+#if defined(SOLARIS) || defined(sgi)
 RANLIB= /bin/true
 #else
 RANLIB= ranlib
@@ -339,6 +347,7 @@ HCFLAGS=$(CFLAGS)
 
 TAGGER=etags           /* Program to index source files */
 
+SHELL=/bin/sh          /* shell to use from make */
 MAKE=make              /* name of make program */
 RM=rm -f               /* delete one or more files/directories/links */
 MV=mv                  /* rename/move a file */
This page took 0.042096 seconds and 5 git commands to generate.