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