SPDX: Mass-update to GPL-2.0-or-later
[exim.git] / src / OS / Makefile-OpenBSD
1 # Exim: OS-specific make file for OpenBSD
2 # Copyright (c) The Exim Maintainers 2022
3 # SPDX-License-Identifier: GPL-2.0-or-later
4
5 CHOWN_COMMAND=/usr/sbin/chown
6 CHGRP_COMMAND=/usr/sbin/chgrp
7 CHMOD_COMMAND=/bin/chmod
8
9 CC=cc
10 CFLAGS=-O2 -Wall -Wno-parentheses -Wno-self-assign -Wno-logical-op-parentheses
11
12 LIBS=-lm
13
14 HAVE_SA_LEN=YES
15
16 X11=/usr/X11R6
17 XINCLUDE=-I$(X11)/include
18 XLFLAGS=-L$(X11)/lib
19
20 EXIWHAT_MULTIKILL_CMD=pkill
21 EXIWHAT_MULTIKILL_ARG='exim( |$$|-)'
22 EXIWHAT_PS_ARG=-ax
23 EXIWHAT_EGREP_ARG='/exim( |$$)'
24 EXIWHAT_KILL_SIGNAL=-USR1
25
26 HAVE_IPV6=YES
27 CFLAGS += -DNO_EXECINFO
28
29 # OpenBSD ships with a too-old Berkeley DB.  NDBM is the default if we don't specify one.
30 #USE_DB=yes
31
32 # End