Change HAVE_LOGIN_CAP to HAVE_SETCLASSRESOURCES because the former isn't
[exim.git] / src / OS / Makefile-AIX
index 42659a6cde64b8817f39abfa0fba246bee71359c..e758f7409afd76efa0391ce23a38c40051875440 100644 (file)
@@ -1,26 +1,30 @@
-# $Cambridge: exim/src/OS/Makefile-AIX,v 1.1 2004/10/06 15:07:39 ph10 Exp $
+# $Cambridge: exim/src/OS/Makefile-AIX,v 1.3 2005/05/23 16:58:55 fanf2 Exp $
 
 # Exim: OS-specific make file for AIX
 # Written by Nick Waterman (nick@cimio.co.uk)
+# Modified by PH following a message from Mike Meredith
 
 # Note that the output of uname -m is probably not what Philip expected,
 # so you might end up with more build-AIX-random_number directories than
 # you expected if you have too many AIX boxes, but it seems to work... I
 # blame IBM.
 
-# Note that nowadays you have to pay extra for a compiler with AIX!
+# Note that nowadays you have to pay extra for a cc compiler with AIX!
 
-CC=cc
+CC=gcc
 
 # This needs to be in here rather than os.h-AIX because of regexp stuff.
 # basically strchr is a #define, which means "extern char *strchr()"
 # ruins things. __STR31__ seems to get around this by magic. The AIX
 # include files are quite a confusing maze.
+# Mike M says this is not necessary any more; possibly this is related to
+# using gcc. Commented out by PH.
+#CFLAGS = -D__STR31__
 
-CFLAGS = -D__STR31__
+CFLAGS = -mcpu=power4 -maix64 -O3
 
 # Needed for vfork() and vfork() only?
 
-LIBS = -lbsd
+LIBS = -lbsd -lm
 
 # End