1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
|
/*
$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>
|