home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 594a.lha / imake / sun.cf < prev   
Text File  |  1990-10-22  |  2KB  |  80 lines

  1. /*
  2.  * SET VERSION NUMBERS BEFORE MAKING MAKEFILES
  3.  *
  4.  * If you change either of the following numbers, you will need to do a 
  5.  * full build (make World) at the top of the sources....
  6.  */
  7. #define SunOSPlatform     YES        /* set to NO if not running SunOS */
  8. #define OSName            SunOS 4.0.3
  9. #define OSMajorVersion    4
  10. #define OSMinorVersion    0
  11. #define HasSaberC      YES        /* for machines that have it */
  12. #define HasNdbm          YES
  13. #define XsunServer Xsun
  14.  
  15. /* #define HasGcc YES */    /* VERY USEFUL for server on Sun3 */
  16.  
  17. #define SystemV           NO
  18. #define HasPutenv YES
  19. #define HasBsearch YES
  20.  
  21. #if OSMajorVersion >= 4
  22. #define HasSunOSSharedLibraries YES
  23. #if HasGcc
  24. #define LibraryCcCmd cc        /* until gcc can generate -pic code */
  25. #endif
  26. #endif
  27.  
  28. #if OSMajorVersion <= 3
  29. #define HasVoidSignalReturn NO
  30. #else
  31. #define HasVoidSignalReturn YES
  32. #endif
  33.  
  34. #ifdef sparc
  35. #undef sparc
  36. #define SparcArchitecture
  37. #endif
  38. #ifdef sun386
  39. #undef sun386
  40. #define i386Architecture
  41. #endif
  42.  
  43. /* you may find one or both of these options useful on your system */
  44. /* #define DefaultCCOptions -f68881 -pipe */
  45.  
  46. #define LibraryCCOptions /* don't want special floating point */
  47. #define LibraryDefines  /**/
  48. /* see below for ServerDefines */
  49.  
  50.  
  51. /**/# platform:  $XConsortium: sun.cf,v 1.38 89/12/23 16:10:10 jim Exp $
  52. /**/# operating system:  OSName
  53.  
  54. #if OSMajorVersion == 3 && OSMinorVersion <= 2
  55. #define OptimizedCDebugFlags /* as nothing */
  56. #endif
  57.  
  58. #define UseSunWindowsInServer    NO    /* link in SunWindows support? */
  59.  
  60. #if UseSunWindowsInServer
  61. #define SunWindowsDefines -DSUN_WINDOWS
  62. #else
  63. #define SunWindowsDefines /* as nothing */
  64. #endif
  65.  
  66. /* define this as you like for server compilation */
  67. #if OSMajorVersion >= 4 || defined(SparcArchitecture)
  68. #define AllocateLocalDefines -DINCLUDE_ALLOCA_H
  69. #else
  70. #define AllocateLocalDefines /**/
  71. #endif
  72.  
  73. #define ExtensionDefines -DSHAPE -DMITSHM -DMULTIBUFFER -DMITMISC
  74.  
  75. #define ServerDefines -DXDMCP SunWindowsDefines ExtensionDefines AllocateLocalDefines
  76.  
  77. #if OSMajorVersion >= 4 && OSMinorVersion >= 0
  78. #define SetTtyGroup YES
  79. #endif
  80.