DKIM multiple signature generation fix.
[users/heiko/exim.git] / src / OS / Makefile-FreeBSD
1 # $Cambridge: exim/src/OS/Makefile-FreeBSD,v 1.6 2009/11/19 18:58:44 nm4 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 # Dynamicly loaded modules need to be built with -fPIC
19 CFLAGS_DYNAMIC=-shared -rdynamic -fPIC
20
21 # FreeBSD always ships with Berkeley DB
22 USE_DB=yes
23
24 # This code for building outside ports suggested by Richard Clayton
25 .ifdef   X11BASE
26 X11=${X11BASE}
27 .elifdef LOCALBASE
28 X11=$(LOCALBASE)
29 .else
30 X11=/usr/local
31 .endif
32
33 XINCLUDE=-I$(X11)/include
34 XLFLAGS=-L$(X11)/lib
35 .if ${PORTOBJFORMAT} == "elf"
36 XLFLAGS+=-Wl,-rpath,${X11}/lib
37 .endif
38 X11_LD_LIB=$(X11)/lib
39
40 EXIWHAT_PS_ARG=-ax
41 EXIWHAT_EGREP_ARG='/exim( |$$)'
42 EXIWHAT_MULTIKILL_CMD='killall -m'
43 EXIWHAT_MULTIKILL_ARG='^exim($$|-[0-9.]+-[0-9]+$$)'
44 EXIWHAT_KILL_SIGNAL=-USR1
45
46 # End