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
5# Note that the output of uname -m is probably not what Philip expected,
6# so you might end up with more build-AIX-random_number directories than
7# you expected if you have too many AIX boxes, but it seems to work... I
8# blame IBM.
9
10# Note that nowadays you have to pay extra for a cc compiler with AIX!
11
12CC=gcc
13
14# This needs to be in here rather than os.h-AIX because of regexp stuff.
15# basically strchr is a #define, which means "extern char *strchr()"
16# ruins things. __STR31__ seems to get around this by magic. The AIX
17# include files are quite a confusing maze.
18# Mike M says this is not necessary any more; possibly this is related to
19# using gcc. Commented out by PH.
20#CFLAGS = -D__STR31__
21
22CFLAGS = -mcpu=power4 -maix64 -O3
23
24# Needed for vfork() and vfork() only?
25
26LIBS = -lbsd -lm
27
28# End
29