3fe5d819ac
installing two new libraries (and two lint thingys, but no shared or pic stuff) and two headers files (into /usr/include/milter). Shared libraries (etc) could be built, but as I'm currently unsure of the ABI/API stability, I'm going to examine it more closely before enabling it, as opposed to finding out later that it's volatile and disabling it. NOTE! We really ought to have a generic rc.d script to start the milters (before sendmail or any other MTA that you have that uses them), but I haven't finished it yet. The milter support here is being enabled to satisfy current popular demand. I'll come up with a script soon. Unless someone feels like beating me to it. So until then, you're on your own.
25 lines
568 B
Makefile
25 lines
568 B
Makefile
# $NetBSD: Makefile.inc,v 1.8 2003/07/04 04:52:59 atatat Exp $
|
|
|
|
WARNS?= 0
|
|
|
|
CPPFLAGS+= -DNEWDB -DDNSMAP -DIP_SRCROUTE
|
|
CPPFLAGS+= -DMAP_REGEX -DTCPWRAPPERS -DNETISO
|
|
CPPFLAGS+= -DNEEDSGETIPNODE -DNETINET6
|
|
CPPFLAGS+= -DMILTER
|
|
CPPFLAGS+= -I. -I${.CURDIR}/../include \
|
|
-I${DIST}/sendmail/sendmail -I${DIST}/sendmail/include
|
|
|
|
.if (${USE_YP} != "no")
|
|
CPPFLAGS+= -DNIS
|
|
.endif
|
|
|
|
.if ${MKCRYPTO} != "no"
|
|
CPPFLAGS+= -DSTARTTLS
|
|
LDADD+= -lssl -lcrypto
|
|
DPADD+= ${LIBSSL} ${LIBCRYPTO}
|
|
.endif
|
|
|
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
.endif
|