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