1 # $Cambridge: exim/src/OS/Makefile-FreeBSD,v 1.6 2009/11/19 18:58:44 nm4 Exp $
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.
7 PORTOBJFORMAT!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout
9 CHOWN_COMMAND=/usr/sbin/chown
10 STRIP_COMMAND=/usr/bin/strip
11 CHMOD_COMMAND=/bin/chmod
15 # crypt() is in a separate library
16 LIBS=-lcrypt -lm -lutil
18 # Dynamicly loaded modules need to be built with -fPIC
19 CFLAGS_DYNAMIC=-shared -rdynamic -fPIC
21 # FreeBSD always ships with Berkeley DB
24 # This code for building outside ports suggested by Richard Clayton
33 XINCLUDE=-I$(X11)/include
35 .if ${PORTOBJFORMAT} == "elf"
36 XLFLAGS+=-Wl,-rpath,${X11}/lib
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