ultrix.cf 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. XCOMM platform: $XConsortium: ultrix.cf /main/68 1996/09/28 16:13:46 rws $
  2. #ifndef OSName
  3. # define OSName DefaultOSName
  4. #endif
  5. #ifndef OSMajorVersion
  6. # define OSMajorVersion DefaultOSMajorVersion
  7. #endif
  8. #ifndef OSMinorVersion
  9. # define OSMinorVersion DefaultOSMinorVersion
  10. #endif
  11. XCOMM operating system: OSName (OSMajorVersion.OSMinorVersion)
  12. #define HasNdbm YES
  13. #define HasPutenv YES
  14. #define HasShm YES
  15. #define LintLibFlag -o
  16. #define LintOpts -ax
  17. #if HasDECnet
  18. #define ExtraLibraries -ldnet
  19. #endif
  20. #if ThreadedX
  21. /* if you want to experiment, turn this on, but no guarantees */
  22. #define HasThreadSafeAPI NO
  23. #define HasPosixThreads YES
  24. #define ThreadPreStdAPIDefines -DXPRE_STANDARD_API
  25. #define ExtraLibraries -lpthreads -li
  26. #endif
  27. #ifdef VaxArchitecture
  28. #define PexNativeFPFormat PEXDEC_F_Floating
  29. #define NativeFPFormat DEC_F_Float
  30. #define UnalignedReferencesAllowed YES /* if arbitrary deref is okay */
  31. #define BuildServer NO
  32. #endif
  33. #ifdef MipsArchitecture
  34. #if OSMajorVersion > 4 || (OSMajorVersion == 4 && OSMinorVersion >= 2)
  35. #define XdecServer YES
  36. #define ServerOSDefines -DDDXTIME
  37. /* Even under ultrix 4.2, the compiler miscompiles some alloca calls */
  38. #define AllocateLocalDefines /* -DINCLUDE_ALLOCA_H */
  39. #else
  40. #define BuildServer NO
  41. #define AllocateLocalDefines /**/
  42. #endif
  43. #if !HasGcc
  44. #define NeedFunctionPrototypes YES
  45. #define PexCCOptions -Wf,-XNp15000,-XNd15000
  46. /*
  47. * NormalLibObjCompile - compile fragment for a library object file
  48. * do ld -x to remove line number symbols for libraries
  49. */
  50. #define NormalLibObjCompile(options) $(RM) $@ $*.os \ @@\
  51. && $(CC) -c options $(CFLAGS) $*.c \ @@\
  52. && $(LD) $(LDSTRIPFLAGS) -r $@ -o $*.os \ @@\
  53. && $(MV) $*.os $@
  54. #endif
  55. #endif
  56. #if HasGcc
  57. #ifdef VaxArchitecture
  58. #define CcCmd gcc -ansi -Dvax -Dultrix -fpcc-struct-return
  59. #endif
  60. #ifdef MipsArchitecture
  61. #define CcCmd gcc -ansi -Dmips -Dultrix -fpcc-struct-return
  62. #endif
  63. #define ServerCCOptions /* */
  64. #define AllocateLocalDefines /* */
  65. #endif
  66. #define ServerExtraDefines AllocateLocalDefines
  67. #define HasWChar32 YES
  68. #define MotifDefines -DNO_REGEX -DNO_REGCOMP -DNO_CONST