More tls_sni support: outbound, logging.
[exim.git] / src / OS / Makefile-FreeBSD
1 # Exim: OS-specific make file for FreeBSD
2 # There's no setting of CFLAGS here, to allow the system default
3 # for "make" to be the default.
4
5 PORTOBJFORMAT!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout
6
7 CHOWN_COMMAND=/usr/sbin/chown
8 STRIP_COMMAND=/usr/bin/strip
9 CHMOD_COMMAND=/bin/chmod
10
11 HAVE_SA_LEN=YES
12
13 # crypt() is in a separate library
14 LIBS=-lcrypt -lm -lutil
15
16 # Dynamicly loaded modules need to be built with -fPIC
17 CFLAGS_DYNAMIC=-shared -rdynamic -fPIC
18
19 # FreeBSD always ships with Berkeley DB
20 USE_DB=yes
21
22 # This code for building outside ports suggested by Richard Clayton
23 .ifdef   X11BASE
24 X11=${X11BASE}
25 .elifdef LOCALBASE
26 X11=$(LOCALBASE)
27 .else
28 X11=/usr/local
29 .endif
30
31 XINCLUDE=-I$(X11)/include
32 XLFLAGS=-L$(X11)/lib
33 .if ${PORTOBJFORMAT} == "elf"
34 XLFLAGS+=-Wl,-rpath,${X11}/lib
35 .endif
36 X11_LD_LIB=$(X11)/lib
37
38 EXIWHAT_PS_ARG=-ax
39 EXIWHAT_EGREP_ARG='/exim( |$$)'
40 EXIWHAT_MULTIKILL_CMD='killall -m'
41 EXIWHAT_MULTIKILL_ARG='^exim($$|-[0-9.]+-[0-9]+$$)'
42 EXIWHAT_KILL_SIGNAL=-USR1
43
44 # End