Merge branch 'exim-4.96+security' into master+security
[exim.git] / src / OS / unsupported / Makefile-AIX
1 # Exim: OS-specific make file for AIX
2 # Written by Nick Waterman (nick@cimio.co.uk)
3 # Modified by PH following a message from Mike Meredith
4 # SPDX-License-Identifier: GPL-2.0-or-later
5
6 # Note that the output of uname -m is probably not what Philip expected,
7 # so you might end up with more build-AIX-random_number directories than
8 # you expected if you have too many AIX boxes, but it seems to work... I
9 # blame IBM.
10
11 # Note that nowadays you have to pay extra for a cc compiler with AIX!
12
13 CC=gcc
14
15 # This needs to be in here rather than os.h-AIX because of regexp stuff.
16 # basically strchr is a #define, which means "extern char *strchr()"
17 # ruins things. __STR31__ seems to get around this by magic. The AIX
18 # include files are quite a confusing maze.
19 # Mike M says this is not necessary any more; possibly this is related to
20 # using gcc. Commented out by PH.
21 #CFLAGS = -D__STR31__
22
23 CFLAGS = -mcpu=power4 -maix64 -O3
24
25 # Needed for vfork() and vfork() only?
26
27 LIBS = -lbsd -lm
28
29 # End