nec.cf 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. XCOMM platform: $XConsortium: nec.cf /main/4 1996/09/28 16:11:37 rws $
  2. #ifdef nec_ews_svr2
  3. # define NecCISCArchitecture
  4. #else /* !defined(nec_ews_svr2) */
  5. # if defined(nec_ews_svr4) || defined(_nec_ews_svr4) || defined(_nec_up)
  6. # define NecRISCArchitecture
  7. # else /* !(defined(nec_ews_svr4) || defined(_nec_ews_svr4) || defined(_nec_up)) */
  8. # ifdef SX
  9. # define NecSX3Architecture
  10. # else /* !defined(SX) */
  11. # ifdef _nec_ft
  12. # define NecFaultTolerantArchitecture
  13. # else /* !defined(_nec_ft) */
  14. # ifdef PC_UX
  15. # define NecPCArchitecture
  16. # endif /* PC_UX */
  17. # endif /* !defined(_nec_ft) */
  18. # endif /* !defined(SX) */
  19. # endif /* !(defined(nec_ews_svr4) || defined(_nec_ews_svr4) || defined(_nec_up)) */
  20. #endif /* !defined(nec_ews_svr2) */
  21. #ifdef NecCISCArchitecture
  22. #ifndef OSName
  23. #define OSName EWS-UX/V
  24. #endif
  25. #ifndef OSMajorVersion
  26. #define OSMajorVersion 10
  27. #endif
  28. #ifndef OSMinorVersion
  29. #define OSMinorVersion 1
  30. #endif
  31. #define HasSharedLibraries NO
  32. #define HasVoidSignalReturn NO
  33. #define HasSockets YES
  34. #define SystemV YES
  35. #define StandardDefines -Dnec_ews -Dnec_ews_svr2 -DUSG -DSYSV
  36. #define StandardCppDefines -Dnec_ews -Dnec_ews_svr2 -DUSG -DSYSV
  37. #define LnCmd ln -s
  38. LEXOPTION = -j
  39. #endif
  40. #ifdef NecRISCArchitecture
  41. # ifdef _nec_up
  42. #ifndef OSName
  43. #define OSName UP-UX/V
  44. #endif
  45. #ifndef OSMajorVersion
  46. #define OSMajorVersion 5
  47. #endif
  48. #ifndef OSMinorVersion
  49. #define OSMinorVersion 1
  50. #endif
  51. # else
  52. #ifndef OSName
  53. #define OSName EWS-UX/V\(Rel4.2\)
  54. #endif
  55. #ifndef OSMajorVersion
  56. #define OSMajorVersion 9
  57. #endif
  58. #ifndef OSMinorVersion
  59. #define OSMinorVersion 1
  60. #endif
  61. # endif
  62. #define HasSharedLibraries YES
  63. #define HasVoidSignalReturn YES
  64. #define SystemV4 YES
  65. #define HasSockets YES
  66. #endif
  67. #ifdef NecSX3Architecture
  68. #ifndef OSName
  69. #define OSName SUPER-UX
  70. #endif
  71. #ifndef OSMajorVersion
  72. #define OSMajorVersion 3
  73. #endif
  74. #ifndef OSMinorVersion
  75. #define OSMinorVersion 1
  76. #endif
  77. #define SystemV YES
  78. #define HasSharedLibraries NO
  79. #define HasVoidSignalReturn YES
  80. #endif
  81. #ifdef NecFaultTolerantArchitecture
  82. #ifndef OSName
  83. #define OSName FT-UX/V
  84. #endif
  85. #ifndef OSMajorVersion
  86. #define OSMajorVersion 5
  87. #endif
  88. #ifndef OSMinorVersion
  89. #define OSMinorVersion 1
  90. #endif
  91. #define HasSharedLibraries YES
  92. #define HasVoidSignalReturn YES
  93. #define SystemV4 YES
  94. #define HasSockets YES
  95. #endif
  96. #ifdef NecPCArchitecture
  97. #ifndef OSName
  98. #define OSName PC-UX/V
  99. #endif
  100. #ifndef OSMajorVersion
  101. #define OSMajorVersion 3
  102. #endif
  103. #ifndef OSMinorVersion
  104. #define OSMinorVersion 1
  105. #endif
  106. #define HasSharedLibraries NO
  107. #define HasVoidSignalReturn NO
  108. #define SystemV YES
  109. #endif
  110. #define HasSaberC NO /* for machines that have it */
  111. #define HasGcc NO
  112. #define HasBsearch YES
  113. #define DefaultCCOptions -Wf,-XNp9000,-XNd6000
  114. #define ExtraLibraries -lsocket -lnsl -lw
  115. #define BuildServer NO
  116. /* #define InstallCmd $(INS) */
  117. #define RemoveTargetProgramByMoving YES
  118. #include <necLib.rules>
  119. #define LibraryCCOptions DefaultCCOptions
  120. #define LibraryDefines StandardDefines