1 # $FreeBSD: src/lib/libmilter/Makefile,v 1.1.2.2 2002/07/22 14:21:49 ru Exp $
2 # $DragonFly: src/lib/libmilter/Makefile,v 1.9 2007/04/14 17:43:48 gshapiro Exp $
4 SENDMAIL_DIR
=${.CURDIR
}/..
/..
/contrib
/sendmail-8.14
5 .PATH
: ${SENDMAIL_DIR}/libmilter
${SENDMAIL_DIR}/libsm
7 CFLAGS
+=-I
${SENDMAIL_DIR}/sendmail
-I
${SENDMAIL_DIR}/include -I.
8 CFLAGS
+=-DNETINET6
-DNOT_SENDMAIL
-Dsm_snprintf
=snprintf
11 # User customizations to the sendmail build environment
12 CFLAGS
+=${SENDMAIL_CFLAGS}
14 INCSDIR
=${INCLUDEDIR}/libmilter
15 INCS
= ${SENDMAIL_DIR}/include/libmilter
/mfapi.h \
16 ${SENDMAIL_DIR}/include/libmilter
/mfdef.h
20 SRCS
+= main.c engine.c listener.c handler.c comm.c monitor.c smfi.c \
21 signal.c sm_gethost.c errstring.c strl.c worker.c
25 ${LN} -sf
${SENDMAIL_DIR}/include/sm
/os
/sm_os_dragonfly.h sm_os.h