Deleted Added
full compact
Makefile (117299) Makefile (129912)
1# $FreeBSD: head/lib/libmilter/Makefile 117299 2003-07-07 03:54:04Z gshapiro $
1# $FreeBSD: head/lib/libmilter/Makefile 129912 2004-06-01 01:29:42Z gshapiro $
2
3SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
4.PATH: ${SENDMAIL_DIR}/libmilter ${SENDMAIL_DIR}/libsm
5
6CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
2
3SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
4.PATH: ${SENDMAIL_DIR}/libmilter ${SENDMAIL_DIR}/libsm
5
6CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
7CFLAGS+=-DNETINET6 -DNOT_SENDMAIL -Dsm_snprintf=snprintf
7CFLAGS+=-DNOT_SENDMAIL -Dsm_snprintf=snprintf
8CFLAGS+=-D_THREAD_SAFE
9
8CFLAGS+=-D_THREAD_SAFE
9
10.if !defined(NOINET6)
11CFLAGS+=-DNETINET6
12.endif
13
10# User customizations to the sendmail build environment
11CFLAGS+=${SENDMAIL_CFLAGS}
12
13INCSDIR=${INCLUDEDIR}/libmilter
14INCS= ${SENDMAIL_DIR}/include/libmilter/mfapi.h \
15 ${SENDMAIL_DIR}/include/libmilter/mfdef.h
16LIB= milter
17
18SRCS+= sm_os.h
19SRCS+= main.c engine.c listener.c handler.c comm.c smfi.c \
20 signal.c sm_gethost.c errstring.c strl.c
21CLEANFILES+=sm_os.h
22
23sm_os.h:
24 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
25
26.include <bsd.lib.mk>
14# User customizations to the sendmail build environment
15CFLAGS+=${SENDMAIL_CFLAGS}
16
17INCSDIR=${INCLUDEDIR}/libmilter
18INCS= ${SENDMAIL_DIR}/include/libmilter/mfapi.h \
19 ${SENDMAIL_DIR}/include/libmilter/mfdef.h
20LIB= milter
21
22SRCS+= sm_os.h
23SRCS+= main.c engine.c listener.c handler.c comm.c smfi.c \
24 signal.c sm_gethost.c errstring.c strl.c
25CLEANFILES+=sm_os.h
26
27sm_os.h:
28 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
29
30.include <bsd.lib.mk>