/*
 * SET VERSION NUMBERS BEFORE MAKING MAKEFILES
 *
 * If you change either of the following numbers, you will need to do a 
 * full build (make World) at the top of the sources....
 */
#define SunOSPlatform     YES		/* set to NO if not running SunOS */
#define OSName            SunOS 5.0
#define OSMajorVersion    5
#define OSMinorVersion    0
#define HasSaberC	  YES		/* for machines that have it */
#define HasNdbm		  YES
#define XsunServer Xsun

/* #define HasGcc YES */	/* VERY USEFUL for server on Sun3 */

#define SystemV           YES
#define SystemVrev        4
#define NeedRanlib	  NO
#define HasPutenv YES
#define HasBsearch YES
#define InstallCmd	  /usr/ucb/install
#define BinDir		 $(DESTDIR)/$(OPENWINHOME)/bin
#define IncRoot		 $(DESTDIR)/$(OPENWINHOME)/include
#define LibDir		 $(DESTDIR)/$(OPENWINHOME)/lib
#define UsrLibDir	 $(DESTDIR)/usr/lib

#if OSMajorVersion >= 4
#define HasSunOSSharedLibraries YES
#if HasGcc
#define LibraryCcCmd cc		/* until gcc can generate -pic code */
#endif
#endif

#if OSMajorVersion <= 3
#define HasVoidSignalReturn NO
#else
#define HasVoidSignalReturn YES
#endif

#ifdef sparc
#undef sparc
#define SparcArchitecture
#endif
#ifdef sun386
#undef sun386
#define i386Architecture
#endif

/* you may find one or both of these options useful on your system */
/* #define DefaultCCOptions -f68881 -pipe */

#define LibraryCCOptions /* don't want special floating point */
#define LibraryDefines  /**/
/* see below for ServerDefines */


/**/# platform:  Sun OpenWindows 3.0.1
/**/# operating system:  OSName

#if OSMajorVersion == 3 && OSMinorVersion <= 2
#define OptimizedCDebugFlags /* as nothing */
#endif

#define UseSunWindowsInServer	NO	/* link in SunWindows support? */

#if UseSunWindowsInServer
#define SunWindowsDefines -DSUN_WINDOWS
#else
#define SunWindowsDefines /* as nothing */
#endif

/* define this as you like for server compilation */
#if OSMajorVersion >= 4 || defined(SparcArchitecture)
#define AllocateLocalDefines -DINCLUDE_ALLOCA_H
#else
#define AllocateLocalDefines /**/
#endif

#define ExtensionDefines -DSHAPE -DMITSHM -DMULTIBUFFER -DMITMISC

#define ServerDefines -DXDMCP SunWindowsDefines ExtensionDefines AllocateLocalDefines

#if OSMajorVersion >= 4 && OSMinorVersion >= 0
#define SetTtyGroup YES
#endif
