summaryrefslogtreecommitdiff
path: root/src/OS/Makefile-USG
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-USG
parent0f4f2a8848bf9e6bb323ffb6a5581b088a940fd0 (diff)
Start
Diffstat (limited to 'src/OS/Makefile-USG')
-rw-r--r--src/OS/Makefile-USG35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/OS/Makefile-USG b/src/OS/Makefile-USG
new file mode 100644
index 000000000..b49feecc9
--- /dev/null
+++ b/src/OS/Makefile-USG
@@ -0,0 +1,35 @@
+# $Cambridge: exim/src/OS/Makefile-USG,v 1.1 2004/10/06 15:07:39 ph10 Exp $
+
+# Exim: OS-specific make file for Unixware 2.x
+#
+# Note that Unixware does not include db/dbm/ndbm with their standard compiler
+# (it is available with /usr/ucb/cc, but that has bugs of its own). You
+# should install gcc and Berkeley DB (or another dbm library if you really
+# insist). If you use a different dbm library you will need to override
+# DBMLIB below.
+#
+# DB 1.85 and 2.x can be found at http://www.sleepycat.com/.
+# They have different characteristics. See the discussion of dbm libraries
+# in doc/dbm.discuss.txt in the Exim distribution.
+#
+# DB needs to be compiled with gcc and you need a 'cc' in your path
+# before the Unixware CC to compile it.
+#
+# Don't bother even starting to install exim on Unixware unless
+# you have installed gcc and use it for everything.
+
+CC=gcc -I/usr/local/include
+CFLAGS=-O
+
+RANLIB=@true
+DBMLIB=-ldb -L/usr/local/lib
+USE_DB=YES
+ERRNO_QUOTA=0
+LIBS=-lsocket -lelf -lgen -lnsl -lresolv
+
+X11=/usr/lib/X11
+XINCLUDE=-I/usr/include/X11
+XLFLAGS=-L/usr/lib -L$(X11)/lib
+X11_LD_LIB=$(X11)/lib
+
+# End