| 1 | # Exim: OS-specific make file for Unixware 2.x |
| 2 | # |
| 3 | # Note that Unixware does not include db/dbm/ndbm with their standard compiler |
| 4 | # (it is available with /usr/ucb/cc, but that has bugs of its own). You |
| 5 | # should install gcc and Berkeley DB (or another dbm library if you really |
| 6 | # insist). If you use a different dbm library you will need to override |
| 7 | # DBMLIB below. |
| 8 | # |
| 9 | # DB 1.85 and 2.x can be found at http://www.sleepycat.com/. |
| 10 | # They have different characteristics. See the discussion of dbm libraries |
| 11 | # in doc/dbm.discuss.txt in the Exim distribution. |
| 12 | # |
| 13 | # DB needs to be compiled with gcc and you need a 'cc' in your path |
| 14 | # before the Unixware CC to compile it. |
| 15 | # |
| 16 | # Don't bother even starting to install exim on Unixware unless |
| 17 | # you have installed gcc and use it for everything. |
| 18 | |
| 19 | CC=gcc -I/usr/local/include |
| 20 | CFLAGS=-O |
| 21 | |
| 22 | RANLIB=@true |
| 23 | DBMLIB=-ldb -L/usr/local/lib |
| 24 | USE_DB=YES |
| 25 | ERRNO_QUOTA=0 |
| 26 | LIBS=-lsocket -lelf -lgen -lnsl -lresolv -lm |
| 27 | |
| 28 | X11=/usr/lib/X11 |
| 29 | XINCLUDE=-I/usr/include/X11 |
| 30 | XLFLAGS=-L/usr/lib -L$(X11)/lib |
| 31 | X11_LD_LIB=$(X11)/lib |
| 32 | |
| 33 | # End |