Merge branch 'master' of ssh://git.exim.org/home/git/exim
[users/heiko/exim.git] / src / OS / Makefile-NetBSD
1 # $Cambridge: exim/src/OS/Makefile-NetBSD,v 1.5 2010/03/05 16:03:59 nm4 Exp $
2
3 # Exim: OS-specific make file for NetBSD (ELF object format)
4
5 CHOWN_COMMAND=/usr/sbin/chown
6 CHMOD_COMMAND=/bin/chmod
7
8 CFLAGS ?= -O2
9
10 HAVE_SA_LEN=YES
11 HAVE_IPV6=YES
12 LIBS=-lcrypt -lm
13
14 X11=/usr/X11R6
15 XINCLUDE=-I$(X11)/include
16 XLFLAGS=-L$(X11)/lib
17 X11_LD_LIB=$(X11)/lib
18
19 EXIWHAT_PS_ARG=-ax
20 EXIWHAT_EGREP_ARG='/exim( |$$)'
21 EXIWHAT_KILL_SIGNAL=-USR1
22
23 # NetBSD always ships with Berkeley DB
24 USE_DB=yes
25
26 # NetBSD ELF linker needs a -R flag.
27 XLFLAGS+=-Wl,-R$(X11)/lib/
28
29 # End