Define LDAP_DEPRECATED in ldap.c to get the old functions that Exim uses
[exim.git] / src / OS / Makefile-FreeBSD
1 # $Cambridge: exim/src/OS/Makefile-FreeBSD,v 1.4 2006/04/19 11:15:43 ph10 Exp $
2
3 # Exim: OS-specific make file for FreeBSD
4 # There's no setting of CFLAGS here, to allow the system default
5 # for "make" to be the default.
6
7 PORTOBJFORMAT!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout
8
9 CHOWN_COMMAND=/usr/sbin/chown
10 STRIP_COMMAND=/usr/bin/strip
11
12 HAVE_SA_LEN=YES
13
14 # crypt() is in a separate library
15 LIBS=-lcrypt -lm -lutil
16
17 # FreeBSD always ships with Berkeley DB
18 USE_DB=yes
19
20 # This setting changed on Sheldon Hearn's recommendation
21 # X11=/usr/X11R6
22 X11=$(X11BASE)
23
24 XINCLUDE=-I$(X11)/include
25 XLFLAGS=-L$(X11)/lib
26 .if ${PORTOBJFORMAT} == "elf"
27 XLFLAGS+=-Wl,-rpath,${X11BASE}/lib
28 .endif
29 X11_LD_LIB=$(X11)/lib
30
31 EXIWHAT_PS_ARG=-ax
32 EXIWHAT_EGREP_ARG='/exim( |$$)'
33 EXIWHAT_MULTIKILL_CMD='killall -m'
34 EXIWHAT_MULTIKILL_ARG='^exim($$|-[0-9.]+-[0-9]+$$)'
35 EXIWHAT_KILL_SIGNAL=-USR1
36
37 # End