Commit | Line | Data |
---|---|---|
d26c07d1 JG |
1 | # Host machine: IBM RS/6000 running AIX 3.2. |
2 | # Copyright 1990, 1991, 1992 Free Software Foundation, Inc. | |
37b637f3 JG |
3 | |
4 | # This file is part of GDB. | |
5 | ||
6 | # GDB is free software; you can redistribute it and/or modify | |
7 | # it under the terms of the GNU General Public License as published by | |
8 | # the Free Software Foundation; either version 1, or (at your option) | |
9 | # any later version. | |
10 | ||
11 | # GDB is distributed in the hope that it will be useful, | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | # GNU General Public License for more details. | |
15 | ||
16 | # You should have received a copy of the GNU General Public License | |
17 | # along with GDB; see the file COPYING. If not, write to | |
18 | # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | |
19 | ||
d26c07d1 | 20 | XDEPFILES= infptrace.o rs6000-xdep.o |
37b637f3 | 21 | XM_FILE= xm-rs6000.h |
82eabd43 JG |
22 | |
23 | # When compiled with cc, for debugging, this argument should be passed. | |
24 | # We have no idea who our current compiler is though, so we skip it. | |
15da025b | 25 | # MH_CFLAGS = -bnodelcsect |
2b5a8d9c | 26 | |
82eabd43 JG |
27 | # The IBM version of /usr/include/rpc/rpc.h has a bug -- it says |
28 | # `extern fd_set svc_fdset;' without ever defining the type fd_set. | |
29 | # Unfortunately this occurs in the vx-share code, which is not configured | |
30 | # like the rest of GDB (e.g. it doesn't include "defs.h"). | |
31 | # We circumvent this bug by #define-ing fd_set here, but undefining it in | |
32 | # the xm-rs6000.h file before ordinary modules try to use it. FIXME, IBM! | |
33 | MH_CFLAGS=-Dfd_set=int | |
34 | ||
2b5a8d9c | 35 | # Because of shared libraries, we risk ending up with *two* |
5c8d3927 PB |
36 | # incompatible versions of malloc if we use GNU malloc ... |
37 | MMALLOC_LIB = | |
38 | MMALLOC_DISABLE = -DNO_MMALLOC | |
d26c07d1 JG |
39 | |
40 | # A bug in the AIX 3.2 libc.a results in unresolved references for .scalb and | |
41 | # .finite becuase we call ldexp. Circumvent by adding -lm. FIXME, IBM. | |
42 | XM_CLIBS= -lm |