]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libmilter/Makefile
This commit was generated by cvs2svn to compensate for changes in r95567,
[FreeBSD/FreeBSD.git] / lib / libmilter / Makefile
1 # $FreeBSD$
2
3 MAINTAINER=     gshapiro@FreeBSD.org
4
5 SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
6 .PATH:  ${SENDMAIL_DIR}/libmilter ${SENDMAIL_DIR}/libsm
7
8 CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
9 CFLAGS+=-DNETINET6 -DNOT_SENDMAIL -Dsm_snprintf=snprintf
10 CFLAGS+=-D_THREAD_SAFE
11
12 # User customizations to the sendmail build environment
13 CFLAGS+=${SENDMAIL_CFLAGS}
14
15 INCDIR= /usr/include/libmilter
16 INCS=   ${SENDMAIL_DIR}/include/libmilter/mfapi.h \
17         ${SENDMAIL_DIR}/include/libmilter/mfdef.h
18 LIB=    milter
19
20 SRCS+=  sm_os.h
21 SRCS+=  main.c engine.c listener.c handler.c comm.c smfi.c \
22         signal.c sm_gethost.c errstring.c strl.c
23 CLEANFILES+=sm_os.h
24
25 sm_os.h:
26         ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
27
28 .include <bsd.lib.mk>