Spec docs for IDNA2008 support
[exim.git] / src / OS / Makefile-FreeBSD
CommitLineData
61ec970d
PH
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.
4
61ec970d 5CHOWN_COMMAND=/usr/sbin/chown
4a23603b 6STRIP_COMMAND=/usr/bin/strip
c40dee92 7CHMOD_COMMAND=/bin/chmod
61ec970d
PH
8
9HAVE_SA_LEN=YES
10
11# crypt() is in a separate library
e173618b 12LIBS=-lcrypt -lm -lutil
61ec970d 13
4c04137d 14# Dynamically loaded modules need to be built with -fPIC
0a349494
PP
15CFLAGS_DYNAMIC=-shared -rdynamic -fPIC
16
61ec970d
PH
17# FreeBSD always ships with Berkeley DB
18USE_DB=yes
19
d04744c2
NM
20# This code for building outside ports suggested by Richard Clayton
21.ifdef X11BASE
22X11=${X11BASE}
23.elifdef LOCALBASE
24X11=$(LOCALBASE)
25.else
26X11=/usr/local
27.endif
61ec970d 28
2126b083
PP
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
31# deleted Jan 2007.
32#
33# So if this fails, you're on an ancient unsupported FreeBSD release *and*
34# running GUI software, which seems both unusual and unwise.
35#
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.
39#
61ec970d 40XINCLUDE=-I$(X11)/include
2126b083 41XLFLAGS=-L$(X11)/lib -Wl,-rpath,${X11}/lib
61ec970d
PH
42X11_LD_LIB=$(X11)/lib
43
44EXIWHAT_PS_ARG=-ax
45EXIWHAT_EGREP_ARG='/exim( |$$)'
46EXIWHAT_MULTIKILL_CMD='killall -m'
47EXIWHAT_MULTIKILL_ARG='^exim($$|-[0-9.]+-[0-9]+$$)'
48EXIWHAT_KILL_SIGNAL=-USR1
49
50# End