/*
$Id: hg_aix4_gnu.cf,v 1.6 1996/10/17 13:27:03 hleitner Exp $

$Log: hg_aix4_gnu.cf,v $
Revision 1.6  1996/10/17 13:27:03  hleitner
Added shared library support, BUT: because of some troubles with shared
libraries on RS6000/AIX the control flag "HaveShared" is only in
comment and the shared library flags and rules will not be used in the
moment.

Revision 1.5  1996/02/15 08:48:45  hleitner
Macro ExtraCCFlags now includes flags for g++ to prevent TOC overflow.

Revision 1.4  1996/02/13 18:19:13  hleitner
/usr/lib/libm.a added before -lbsd in Macro ExtraCCLdLibs.

Revision 1.3  1996/02/06 07:49:58  hleitner
Use gcc -E as C and C++ preprocessor.

Revision 1.2  1996/01/30 11:51:53  hleitner
For AIX 4.x we prefer gcc version 2.7.2; so CcCmd and CCDriver is defined
before "gcc.def" is included.

Revision 1.1  1996/01/30 11:45:44  hleitner
Initial revision

Revision 1.1  1995/11/13 10:07:55  hleitner
Initial revision

*/

XCOMM platform: IBMAIX_GNU

#define OSMajorVersion     4
#define OSMinorVersion     1

#define ExtraCCLdLibs /usr/lib/libm.a -lbsd

#ifndef ExtraCCDefines
#  define ExtraCCDefines -D_BSD=44
#endif

/* The X11 makedepend isn't very good, so we try it with gcc -M -- gpani021095 */
#define DependCmd gccmakedep

/* Since we use gcc -M we don't need -D__GNUC__ and the gcc include dirs in 
   DependCCFlags; this must be defined before gcc.def is included
   -- bheide021095 */
#ifndef DependCCFlags
#define DependCCFlags $(CCDEFINES) $(CCINCLUDES)
#endif

#ifndef ExtraCCFlags
#define ExtraCCFlags -mno-fp-in-toc -mno-sum-in-toc
#endif

#ifndef CppCmd
#define CppCmd   gcc -E
#endif

#ifndef CcCmd
#define CcCmd gcc
#endif
  
#ifndef CCDriver
#define CCDriver g++
#endif

/* doesn't work in the moment; we'll try to fix it later: ...sch-hobel */
/* #define HaveShared */

#ifndef SharedLibExt
#define SharedLibExt a
#endif

#ifndef SharedCCLdLibFlags
#define SharedCCLdLibFlags -shared -Xlinker -b -Xlinker erok -L$(HGSHAREDLIBDIR) -L/usr/local/Hyper-G/shlib -L/usr/local/Harmony/shlib
#endif

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


#include <gcc.def>

