Commit | Line | Data |
---|---|---|
61ec970d PH |
1 | # Exim: OS-specific make file for AIX |
2 | # Written by Nick Waterman (nick@cimio.co.uk) | |
4e01f9d6 | 3 | # Modified by PH following a message from Mike Meredith |
61ec970d PH |
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 | ||
4e01f9d6 | 10 | # Note that nowadays you have to pay extra for a cc compiler with AIX! |
61ec970d | 11 | |
4e01f9d6 | 12 | CC=gcc |
61ec970d PH |
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. | |
4e01f9d6 PH |
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__ | |
61ec970d | 21 | |
4e01f9d6 | 22 | CFLAGS = -mcpu=power4 -maix64 -O3 |
61ec970d PH |
23 | |
24 | # Needed for vfork() and vfork() only? | |
25 | ||
870f6ba8 | 26 | LIBS = -lbsd -lm |
61ec970d PH |
27 | |
28 | # End |