1 # Exim: OS-specific make file for FreeBSD
3 CHOWN_COMMAND=/usr/sbin/chown
4 STRIP_COMMAND=/usr/bin/strip
5 CHMOD_COMMAND=/bin/chmod
8 # FreeBSD Ports no longer insert compatibility symlinks into /usr/bin for
9 # scripting languages which traditionally have had them.
10 PERL_COMMAND=/usr/local/bin/perl
14 # crypt() is in a separate library
15 LIBS=-lcrypt -lm -lutil
17 # Dynamically loaded modules need to be built with -fPIC
18 CFLAGS_DYNAMIC=-shared -rdynamic -fPIC
20 # FreeBSD always ships with Berkeley DB
23 # This code for building outside ports suggested by Richard Clayton
32 # nb: FreeBSD is entirely elf; objformat was removed prior to FreeBSD 7
33 # http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/objformat/Attic/objformat.c
36 # So if this fails, you're on an ancient unsupported FreeBSD release *and*
37 # running GUI software, which seems both unusual and unwise.
39 # http://www.freebsd.org/doc/handbook/binary-formats.html suggests that the
40 # switch to default to ELF came with FreeBSD 3. elf(5) claims ELF support
41 # introduced in FreeBSD 2.2.6.
43 XINCLUDE=-I$(X11)/include
44 XLFLAGS=-L$(X11)/lib -Wl,-rpath,${X11}/lib
48 EXIWHAT_EGREP_ARG='/exim( |$$)'
49 EXIWHAT_MULTIKILL_CMD='killall -m'
50 EXIWHAT_MULTIKILL_ARG='^exim($$|-[0-9.]+-[0-9]+$$)'
51 EXIWHAT_KILL_SIGNAL=-USR1