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