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