/*
$Id: hg_solaris_gnu.cf,v 1.4 1996/10/17 13:50:15 hleitner Exp $

$Log: hg_solaris_gnu.cf,v $
Revision 1.4  1996/10/17 13:50:15  hleitner
Removed all the *SunOSShared* stuff (no more needed with our new
shared library support).

Removed -lg++ from ExtraCCLdLibs.

Added shared library support: HaveShared is defined;
SharedCCLdFlags are used for linking binaries with shared libraries.

Revision 1.3  1996/08/01 14:52:22  hleitner
CCDriver specification no more necessary. CCDriver is set in gcc.def for
all architectures.

Revision 1.2  1996/07/31 12:45:38  hleitner
changed: CCDriver to latest version of gcc --> gcc-2.7.2

Revision 1.1  1995/11/13 10:46:47  hleitner
Initial revision

*/

XCOMM platform: SUN5_GNU

#define OSMajorVersion 5
#define OSMinorVersion 3

/*
 * solaris gpani Feb 11 1994
 */
#ifndef XLibDir
#ifdef LibDir
      TMPLIBDIR = LibDir
#define XLibDir $(TMPLIBDIR)
#undef LibDir
#endif
#endif

/* We don't have IncRoot anymore -- bheide240895
#if defined(IncRoot)
#define XIncDir IncRoot
#endif
*/

#ifndef XIncDir
#define XIncDir /usr/openwin/include
#endif

#ifndef ExtraCCDefines
#  define ExtraCCDefines -DSYSV -DSVR4 -DSolaris_2 -DOSMajorVersion=OSMajorVersion -DOSMinorVersion=OSMinorVersion
#endif

#define InstLibFlags -m 0664 -g graphic

#ifndef StaticFlag
/* #define StaticFlag -static */
#define StaticFlag /**/
#endif

#ifndef DynamicFlag
/* #define DynamicFlag -shared */
#define DynamicFlag /**/
#endif

#define MakeSpecialShared YES

#ifndef HasRanlibCmd
#define HasRanlibCmd NO
#endif
/* I think we didn't need a ranlib command on Solaris -- bheide210895
 * #define RanlibCmd ar s
 */

#define ExtraCCLdLibs -lnsl -lsocket -Xlinker -R -Xlinker /usr/openwin/lib


#define HaveShared

#ifndef SharedCCLdFlags
#define SharedCCLdFlags -Xlinker -R -Xlinker /usr/local/Hyper-G/shlib:/usr/local/Harmony/shlib -L$(HGSHAREDLIBDIR)
#endif



#include <gcc.def>
