summaryrefslogtreecommitdiff
path: root/src/OS/Makefile-AIX
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2004-10-06 15:07:39 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2004-10-06 15:07:39 +0000
commit61ec970df30325dbcd8c9d0f0e431dc793126656 (patch)
tree3534a7ab9d9a1e57651821184e6c28a25ee0e8de /src/OS/Makefile-AIX
parent0f4f2a8848bf9e6bb323ffb6a5581b088a940fd0 (diff)
Start
Diffstat (limited to 'src/OS/Makefile-AIX')
-rw-r--r--src/OS/Makefile-AIX26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/OS/Makefile-AIX b/src/OS/Makefile-AIX
new file mode 100644
index 000000000..42659a6cd
--- /dev/null
+++ b/src/OS/Makefile-AIX
@@ -0,0 +1,26 @@
+# $Cambridge: exim/src/OS/Makefile-AIX,v 1.1 2004/10/06 15:07:39 ph10 Exp $
+
+# Exim: OS-specific make file for AIX
+# Written by Nick Waterman (nick@cimio.co.uk)
+
+# 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!
+
+CC=cc
+
+# 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.
+
+CFLAGS = -D__STR31__
+
+# Needed for vfork() and vfork() only?
+
+LIBS = -lbsd
+
+# End