Taint: invert the taint-check implementation control #define
[exim.git] / src / OS / Makefile-FreeBSD
CommitLineData
61ec970d 1# Exim: OS-specific make file for FreeBSD
61ec970d 2
61ec970d 3CHOWN_COMMAND=/usr/sbin/chown
4a23603b 4STRIP_COMMAND=/usr/bin/strip
c40dee92 5CHMOD_COMMAND=/bin/chmod
61ec970d 6
f3facb66 7
f6ef9370
PP
8# FreeBSD Ports no longer insert compatibility symlinks into /usr/bin for
9# scripting languages which traditionally have had them.
10PERL_COMMAND=/usr/local/bin/perl
11
61ec970d
PH
12HAVE_SA_LEN=YES
13
14# crypt() is in a separate library
e173618b 15LIBS=-lcrypt -lm -lutil
61ec970d 16
4c04137d 17# Dynamically loaded modules need to be built with -fPIC
0a349494
PP
18CFLAGS_DYNAMIC=-shared -rdynamic -fPIC
19
61ec970d
PH
20# FreeBSD always ships with Berkeley DB
21USE_DB=yes
22
d04744c2
NM
23# This code for building outside ports suggested by Richard Clayton
24.ifdef X11BASE
25X11=${X11BASE}
26.elifdef LOCALBASE
27X11=$(LOCALBASE)
28.else
29X11=/usr/local
30.endif
61ec970d 31
2126b083
PP
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
34# deleted Jan 2007.
35#
36# So if this fails, you're on an ancient unsupported FreeBSD release *and*
37# running GUI software, which seems both unusual and unwise.
38#
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.
42#
61ec970d 43XINCLUDE=-I$(X11)/include
2126b083 44XLFLAGS=-L$(X11)/lib -Wl,-rpath,${X11}/lib
61ec970d
PH
45X11_LD_LIB=$(X11)/lib
46
47EXIWHAT_PS_ARG=-ax
48EXIWHAT_EGREP_ARG='/exim( |$$)'
49EXIWHAT_MULTIKILL_CMD='killall -m'
50EXIWHAT_MULTIKILL_ARG='^exim($$|-[0-9.]+-[0-9]+$$)'
51EXIWHAT_KILL_SIGNAL=-USR1
52
53# End