Fix clang build
[exim.git] / src / OS / unsupported / Makefile-Darwin
1 # Exim: OS-specific make file for Darwin (Mac OS X).
2 # SPDX-License-Identifier: GPL-2.0-or-later
3
4 CC=cc
5
6 BASENAME_COMMAND=look_for_it
7 CHOWN_COMMAND=/usr/sbin/chown
8 CHMOD_COMMAND=/bin/chmod
9
10 HAVE_SA_LEN=YES
11
12 # Removed -DBIND_8_COMPAT for 4.61
13 # CFLAGS=-O -no-cpp-precomp -DBIND_8_COMPAT
14 #
15 # 2020/05/12 disable TLS resume support; it results in
16 # "1 select() failure: No such file or directory"
17 # being logged by the daeomn (sending the testsuite red...)
18
19 CFLAGS=-O -no-cpp-precomp -DDISABLE_TLS_RESUME
20 LIBRESOLV=-lresolv
21
22 USE_DB = yes
23 DBMLIB =
24
25 X11=/usr/X11R6
26 XINCLUDE=-I$(X11)/include
27 XLFLAGS=-L$(X11)/lib
28 X11_LD_LIB=$(X11)/lib
29
30 EXIWHAT_PS_ARG=ax
31 EXIWHAT_EGREP_ARG='/exim( |$$)'
32 EXIWHAT_KILL_SIGNAL=-USR1
33
34 # End