Add dependencies on spf.h, srs.h, dk.h to spf.o, srs.o, and dk.o in the
[exim.git] / src / OS / Makefile-AIX
1 # $Cambridge: exim/src/OS/Makefile-AIX,v 1.3 2005/05/23 16:58:55 fanf2 Exp $
2
3 # Exim: OS-specific make file for AIX
4 # Written by Nick Waterman (nick@cimio.co.uk)
5 # Modified by PH following a message from Mike Meredith
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
12 # Note that nowadays you have to pay extra for a cc compiler with AIX!
13
14 CC=gcc
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.
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__
23
24 CFLAGS = -mcpu=power4 -maix64 -O3
25
26 # Needed for vfork() and vfork() only?
27
28 LIBS = -lbsd -lm
29
30 # End