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 CHOWN_COMMAND=/usr/sbin/chown
6 STRIP_COMMAND=/usr/bin/strip
7 CHMOD_COMMAND=/bin/chmod
11 # crypt() is in a separate library
12 LIBS=-lcrypt -lm -lutil
14 # Dynamically loaded modules need to be built with -fPIC
15 CFLAGS_DYNAMIC=-shared -rdynamic -fPIC
17 # FreeBSD always ships with Berkeley DB
20 # This code for building outside ports suggested by Richard Clayton
29 # nb: FreeBSD is entirely elf; objformat was removed prior to FreeBSD 7
30 # http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/objformat/Attic/objformat.c
33 # So if this fails, you're on an ancient unsupported FreeBSD release *and*
34 # running GUI software, which seems both unusual and unwise.
36 # http://www.freebsd.org/doc/handbook/binary-formats.html suggests that the
37 # switch to default to ELF came with FreeBSD 3. elf(5) claims ELF support
38 # introduced in FreeBSD 2.2.6.
40 XINCLUDE=-I$(X11)/include
41 XLFLAGS=-L$(X11)/lib -Wl,-rpath,${X11}/lib
45 EXIWHAT_EGREP_ARG='/exim( |$$)'
46 EXIWHAT_MULTIKILL_CMD='killall -m'
47 EXIWHAT_MULTIKILL_ARG='^exim($$|-[0-9.]+-[0-9]+$$)'
48 EXIWHAT_KILL_SIGNAL=-USR1