DSCP: document; hex print; -bI:dscp
[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
5PORTOBJFORMAT!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout
6
7CHOWN_COMMAND=/usr/sbin/chown
4a23603b 8STRIP_COMMAND=/usr/bin/strip
c40dee92 9CHMOD_COMMAND=/bin/chmod
61ec970d
PH
10
11HAVE_SA_LEN=YES
12
13# crypt() is in a separate library
e173618b 14LIBS=-lcrypt -lm -lutil
61ec970d 15
0a349494
PP
16# Dynamicly loaded modules need to be built with -fPIC
17CFLAGS_DYNAMIC=-shared -rdynamic -fPIC
18
61ec970d
PH
19# FreeBSD always ships with Berkeley DB
20USE_DB=yes
21
d04744c2
NM
22# This code for building outside ports suggested by Richard Clayton
23.ifdef X11BASE
24X11=${X11BASE}
25.elifdef LOCALBASE
26X11=$(LOCALBASE)
27.else
28X11=/usr/local
29.endif
61ec970d
PH
30
31XINCLUDE=-I$(X11)/include
32XLFLAGS=-L$(X11)/lib
33.if ${PORTOBJFORMAT} == "elf"
d04744c2 34XLFLAGS+=-Wl,-rpath,${X11}/lib
61ec970d
PH
35.endif
36X11_LD_LIB=$(X11)/lib
37
38EXIWHAT_PS_ARG=-ax
39EXIWHAT_EGREP_ARG='/exim( |$$)'
40EXIWHAT_MULTIKILL_CMD='killall -m'
41EXIWHAT_MULTIKILL_ARG='^exim($$|-[0-9.]+-[0-9]+$$)'
42EXIWHAT_KILL_SIGNAL=-USR1
43
44# End