1 # Exim: OS-specific make file for FreeBSD
2 # There's no setting of CFLAGS here, to allow the system default
3 # for "make" to be the default.
5 PORTOBJFORMAT!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout
7 CHOWN_COMMAND=/usr/sbin/chown
8 STRIP_COMMAND=/usr/bin/strip
9 CHMOD_COMMAND=/bin/chmod
13 # crypt() is in a separate library
14 LIBS=-lcrypt -lm -lutil
16 # Dynamicly loaded modules need to be built with -fPIC
17 CFLAGS_DYNAMIC=-shared -rdynamic -fPIC
19 # FreeBSD always ships with Berkeley DB
22 # This code for building outside ports suggested by Richard Clayton
31 XINCLUDE=-I$(X11)/include
33 .if ${PORTOBJFORMAT} == "elf"
34 XLFLAGS+=-Wl,-rpath,${X11}/lib
39 EXIWHAT_EGREP_ARG='/exim( |$$)'
40 EXIWHAT_MULTIKILL_CMD='killall -m'
41 EXIWHAT_MULTIKILL_ARG='^exim($$|-[0-9.]+-[0-9]+$$)'
42 EXIWHAT_KILL_SIGNAL=-USR1