5 SENDMAIL_DIR
=${.CURDIR
}/..
/..
/contrib
/sendmail
6 .PATH
: ${SENDMAIL_DIR}/libmilter
${SENDMAIL_DIR}/libsm
8 CFLAGS
+=-I
${SENDMAIL_DIR}/src
-I
${SENDMAIL_DIR}/include -I.
9 CFLAGS
+=-DNOT_SENDMAIL
-Dsm_snprintf
=snprintf
10 CFLAGS
+=-D_THREAD_SAFE
11 CFLAGS
+=-DSM_CONF_POLL
13 .if
${MK_INET6_SUPPORT} != "no"
17 # User customizations to the sendmail build environment
18 CFLAGS
+=${SENDMAIL_CFLAGS}
20 INCSDIR
=${INCLUDEDIR}/libmilter
21 INCS
= ${SENDMAIL_DIR}/include/libmilter
/mfapi.h \
22 ${SENDMAIL_DIR}/include/libmilter
/mfdef.h
26 SRCS
+= main.c engine.c listener.c handler.c comm.c monitor.c smfi.c \
27 signal.c sm_gethost.c errstring.c strl.c worker.c
31 ln
-sf
${SENDMAIL_DIR}/include/sm
/os
/sm_os_freebsd.h sm_os.h