/etc/mail: Install 4 sample mailer.conf files
[dragonfly.git] / lib / libmilter / Makefile
1 # $FreeBSD: src/lib/libmilter/Makefile,v 1.1.2.2 2002/07/22 14:21:49 ru Exp $
2
3 SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail-8.14
4 .PATH:  ${SENDMAIL_DIR}/libmilter ${SENDMAIL_DIR}/libsm
5
6 CFLAGS+=-I${SENDMAIL_DIR}/sendmail -I${SENDMAIL_DIR}/include -I.
7 CFLAGS+=-DNETINET6 -DNOT_SENDMAIL -Dsm_snprintf=snprintf
8 CFLAGS+=-D_THREAD_SAFE
9
10 # User customizations to the sendmail build environment
11 CFLAGS+=${SENDMAIL_CFLAGS}
12
13 INCSDIR=${INCLUDEDIR}/libmilter
14 INCS=   ${SENDMAIL_DIR}/include/libmilter/mfapi.h \
15         ${SENDMAIL_DIR}/include/libmilter/mfdef.h
16 LIB=    milter
17 WARNS?= 2
18
19 SRCS+=  sm_os.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
22 CLEANFILES+=sm_os.h
23
24 sm_os.h:
25         ${LN} -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_dragonfly.h sm_os.h
26
27 .include <bsd.lib.mk>