summaryrefslogtreecommitdiff
path: root/gnu/usr.sbin/sendmail/Makefile.inc
blob: eb6df55c9606d0eb8c0b2fbe4144b6e5a6be2735 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#	$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