Parallelize in_ifaddrhead operation
[dragonfly.git] / lib / libmilter / Makefile
blob20c188b39d9b91b628acc8312226d97f21364102
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
9 CFLAGS+=-D_THREAD_SAFE
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
17 LIB= milter
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
24 sm_os.h:
25 ${LN} -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_dragonfly.h sm_os.h
27 .include <bsd.lib.mk>