home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / config / sgi.cf.orig < prev    next >
Encoding:
Text File  |  1991-07-28  |  2.5 KB  |  83 lines

  1. XCOMM platform:  $XConsortium: sgi.cf,v 1.19 91/07/28 22:39:45 rws Exp $
  2.  
  3. #define OSName            IRIX
  4. XCOMM operating system:  OSName
  5. #define OSMajorVersion        4
  6. #define OSMinorVersion        0
  7.  
  8. #define SystemV            YES
  9. #define HasPutenv        YES
  10. #define ExecableScripts        YES
  11. #define SetTtyGroup        YES
  12. #define HasNdbm            YES
  13. #define HasVFork        YES
  14. #define Malloc0ReturnsNull    YES
  15. #define ExpandManNames          YES
  16. /* At SGI, in 3.2 we have TCP/IP sockets only, 3.3 has unix domain also ! */
  17. #define HasSockets        YES
  18. #define BuildXInputExt        YES
  19.  
  20. #if OSMajorVersion > 3 || (OSMajorVersion == 3 && OSMinorVersion > 2)
  21. #define NeedVarargsPrototypes    YES
  22. #define NeedConstPrototypes    YES
  23. #define NeedWidePrototypes    NO
  24. #endif
  25.  
  26. /* Extra libraries provide : yp, sysV malloc & shared libc */
  27. #define ExtraLibraries -lsun -lmalloc -lc_s
  28.  
  29. /* #include <sgiLib.rules> */
  30.  
  31. #define CCPreprocessorFlags /* As Nothing For the Standard "cpp" */
  32.  
  33. #define SymbolTables -Wf,-XNh2000
  34. #define PexSymbolTables -Wf,-XNp15000,-XNd15000,-XNh2000
  35.  
  36. /* NOTE: the SGI cc driver invoking the ANSI cpp does NOT define __STDC__ */
  37. /* #define CCPreprocessorFlags -acpp -D__STDC__ -D__EXTENSIONS__ SymbolTables */
  38.  
  39. /* this is for floating point, ANSI cpp */
  40. #define DefaultCCOptions -prototypes -float CCPreprocessorFlags SymbolTables
  41. #define PexCCOptions -prototypes -float CCPreprocessorFlags PexSymbolTables
  42.  
  43. /* At SGI, we don't need this */
  44. #define ConstructMFLAGS        NO    /* build MFLAGS from MAKEFLAGS */
  45.  
  46. /* Used only for compressed fonts */
  47. #define UNCOMPRESSPATH /usr/bsd/uncompress
  48.  
  49. /* Normally used only to conditionally chose the default font path order */
  50. #define PrimaryScreenResolution 96
  51.  
  52. /* Override Imake.tmpl's "-X" flag */
  53. #define LdCombineFlags -r
  54.  
  55. /* Installation Build Parameters */
  56. #define InstKmemFlags -m 2755 -g sys
  57.  
  58. #define ArCmd ar scq
  59. #define LnCmd ln -s
  60.  
  61. /* for xdm or anyone else to use */
  62. #define DefaultUserPath :/usr/sbin:/usr/bsd:/usr/bin:/bin:$(BINDIR):/etc:/usr/etc
  63. #define DefaultSystemPath /usr/sbin:/usr/bsd:/bin:/etc:/usr/bin:/usr/etc:$(BINDIR)
  64.  
  65. #define BuildServer             NO
  66.  
  67. /* Changed to a single shell command for pmake/smake */
  68.  
  69. /*
  70.  * ObjectCompile - compile fragment for a normal object file
  71.  */
  72. #define    ObjectCompile(options) $(RM) $@ $*.os \                @@\
  73.     && $(CC) -c options $(CFLAGS) $*.c \                @@\
  74.     && $(LD) -x -r $@ -o $*.os \                    @@\
  75.     && $(MV) $*.os $@
  76.  
  77. /*
  78.  * LibObjCompile - compile fragment for shared/profiled/debugged objects
  79.  */
  80. #define LibObjCompile(dir,options) $(RM) $@ dir/$@ \            @@\
  81.     && $(CC) -c options $(CFLAGS) $*.c \                @@\
  82.     && $(MV) $@ dir/$@
  83.