| 1 | # $Cambridge: exim/src/OS/Makefile-AIX,v 1.1 2004/10/06 15:07:39 ph10 Exp $ |
| 2 | |
| 3 | # Exim: OS-specific make file for AIX |
| 4 | # Written by Nick Waterman (nick@cimio.co.uk) |
| 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 compiler with AIX! |
| 12 | |
| 13 | CC=cc |
| 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 | |
| 20 | CFLAGS = -D__STR31__ |
| 21 | |
| 22 | # Needed for vfork() and vfork() only? |
| 23 | |
| 24 | LIBS = -lbsd |
| 25 | |
| 26 | # End |