NewStuff updates to add missing items
[users/jgh/exim.git] / src / OS / Makefile-FreeBSD
1 # $Cambridge: exim/src/OS/Makefile-FreeBSD,v 1.5 2008/07/25 20:39:55 fanf2 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 CHMOD_COMMAND=/bin/chmod
12
13 HAVE_SA_LEN=YES
14
15 # crypt() is in a separate library
16 LIBS=-lcrypt -lm -lutil
17
18 # FreeBSD always ships with Berkeley DB
19 USE_DB=yes
20
21 # This setting changed on Sheldon Hearn's recommendation
22 # X11=/usr/X11R6
23 X11=$(X11BASE)
24
25 XINCLUDE=-I$(X11)/include
26 XLFLAGS=-L$(X11)/lib
27 .if ${PORTOBJFORMAT} == "elf"
28 XLFLAGS+=-Wl,-rpath,${X11BASE}/lib
29 .endif
30 X11_LD_LIB=$(X11)/lib
31
32 EXIWHAT_PS_ARG=-ax
33 EXIWHAT_EGREP_ARG='/exim( |$$)'
34 EXIWHAT_MULTIKILL_CMD='killall -m'
35 EXIWHAT_MULTIKILL_ARG='^exim($$|-[0-9.]+-[0-9]+$$)'
36 EXIWHAT_KILL_SIGNAL=-USR1
37
38 # End