home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / lib / x11 / config / sony.cf < prev    next >
Encoding:
Text File  |  1996-10-17  |  2.7 KB  |  102 lines

  1. XCOMM platform:  $XConsortium: sony.cf /main/67 1996/02/02 19:00:08 gildea $
  2.  
  3. #ifdef SonyBsdArchitecture
  4.  
  5. #ifndef OSName
  6. #define OSName                  NEWS-OS 4.2.1C
  7. #endif
  8. #ifndef OSMajorVersion
  9. #define OSMajorVersion          4
  10. #endif
  11. #ifndef OSMinorVersion
  12. #define OSMinorVersion          2
  13. #endif
  14. #ifndef OSTeenyVersion
  15. #define OSTeenyVersion          1
  16. #endif
  17. #define SetTtyGroup             YES
  18. #define HasVoidSignalReturn     NO
  19. #define HasNdbm                 YES
  20. #define DirFailPrefix -
  21. #define InstKmemFlags        -g kmem -m 2711
  22. #define DefaultUserPath :/bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/sony/bin:
  23. #define DefaultSystemPath /etc:/usr/etc:/bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/sony/bin:
  24. #ifdef MipsArchitecture
  25. #define ExtraLibraries        -lmld
  26. #define LintOpts        -ax
  27. #define LintLibFlag        -o
  28. #define DefaultCCOptions    -Wf,-XNh2000,-XNd6000,-XNp10000 -Olimit 2000
  29. #define PexCCOptions        -Wf,-XNh2000,-XNd15000,-XNp15000 -Olimit 2000
  30. #else
  31. #define HasFortran        YES
  32. #endif
  33. #if OSMajorVersion >= 4
  34. #define HasShm            YES
  35. #define HasPutenv        YES
  36. #define HasSecureRPC        YES
  37. #define XdmDir            /etc/xdm
  38. #if OSMinorVersion >= 1
  39. #define HasBsearch        YES
  40. #else
  41. #define HasBsearch        NO
  42. #endif
  43. #else
  44. #define StandardDefines        -DNOSTDHDRS
  45. #define HasBsearch        NO
  46. #endif
  47.  
  48. #else
  49.  
  50. #ifndef OSName
  51. #define OSName            NEWS-OS 6.1.1
  52. #endif
  53. #ifndef OSMajorVersion
  54. #define OSMajorVersion        6
  55. #endif
  56. #ifndef OSMinorVersion
  57. #define OSMinorVersion        1
  58. #endif
  59. #ifndef OSTeenyVersion
  60. #define OSTeenyVersion        1
  61. #endif
  62. #define BootstrapCFlags        -Dsony
  63. #define SystemV4        YES
  64. #define HasVFork        NO
  65. #define CcCmd            /usr/bin/cc
  66. #define LdCmd            /usr/bin/ld
  67. #if OSMajorVersion >= 6
  68. #define DefaultCCOptions    -Xa -Wf,-XNp9000,-XNd6000
  69. #define PexCCOptions        -Xa -Wf,-XNp15000,-XNd15000
  70. #define SharedLibraryLoadFlags -G -rpath $(USRLIBDIR)
  71. #define PositionIndependentCFlags -K PIC -Wx,-G 0
  72. #define PositionIndependentCplusplusFlags -K PIC -Wx,-G 0
  73. #define SharedXmuReqs $(LDPRELIB) $(XTOOLLIB) $(XLIB)
  74. #define FixupLibReferences() /**/
  75. #include <sv4Lib.rules>
  76. #else
  77. #define DefaultCCOptions    -Wf,-XNp9000,-XNd6000
  78. #define PexCCOptions        -Wf,-XNp15000,-XNd15000
  79. #endif
  80.  
  81. #endif
  82.  
  83. /*
  84.  * SONY C++ compiler is based on vanilla cfront, which means it
  85.  * refuses to compile files unless their names end in ".C".  We
  86.  * have to completely override .SUFFIXES to avoid using the builtin
  87.  * .C to .o rule in cases where the link to foo.C is already there,
  88.  * because the builtin rule doesn't use the right compilation flags.
  89.  */
  90.  
  91. .SUFFIXES:
  92. .SUFFIXES: .o .c .y .l .s .sh .h .f .Y .L .cxx
  93.  
  94. #define NormalLibObjCplusplusCompile(options) test -r $*.C || $(LN) $*.CCsuf $*.C @@\
  95.     $(CXX) -c $(CXXFLAGS) options $*.C
  96.  
  97. XCOMM operating system:  OSName
  98.  
  99. #ifndef BuildServer
  100. #define BuildServer             NO
  101. #endif
  102.