summaryrefslogtreecommitdiff
path: root/src/OS/Makefile-NetBSD
blob: 9f0ae0dbc7dd52edf5fb198065303aa3d365c4cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Cambridge: exim/src/OS/Makefile-NetBSD,v 1.5 2010/03/05 16:03:59 nm4 Exp $

# Exim: OS-specific make file for NetBSD (ELF object format)

CHOWN_COMMAND=/usr/sbin/chown
CHMOD_COMMAND=/bin/chmod

CFLAGS ?= -O2

HAVE_SA_LEN=YES
HAVE_IPV6=YES
LIBS=-lcrypt -lm

X11=/usr/X11R6
XINCLUDE=-I$(X11)/include
XLFLAGS=-L$(X11)/lib
X11_LD_LIB=$(X11)/lib

EXIWHAT_PS_ARG=-ax
EXIWHAT_EGREP_ARG='/exim( |$$)'
EXIWHAT_KILL_SIGNAL=-USR1

# NetBSD always ships with Berkeley DB
USE_DB=yes

# NetBSD ELF linker needs a -R flag.
XLFLAGS+=-Wl,-R$(X11)/lib/

# End