Skip build of {postfix,sendmail} if MK{POSTFIX,SENDMAIL} == no, respectively.

(XXX NO_SENDMAIL= must eventually).
This commit is contained in:
matt 2003-10-18 23:46:26 +00:00
parent 29f0f3babf
commit e1c37edb37

View File

@ -1,13 +1,18 @@
# $NetBSD: Makefile,v 1.10 2003/07/04 04:53:50 atatat Exp $
# $NetBSD: Makefile,v 1.11 2003/10/18 23:46:26 matt Exp $
# XXX Temporary for NO_SENDMAIL
.include <bsd.own.mk>
SUBDIR= dbsym mdsetimage postfix
SUBDIR= dbsym mdsetimage
.if !defined(NO_SENDMAIL) || ${NO_SENDMAIL} == "no"
.if ${MKPOSTFIX} != "no"
SUBDIR+= postfix
.endif
.if (!defined(NO_SENDMAIL) || ${NO_SENDMAIL} == "no")
.if ${MKSENDMAIL} != "no"
SUBDIR+= sendmail
.endif
.endif
# Speedup stubs for some subtrees that don't need to run these rules
includes-dbsym includes-mdsetimage includes-postfix: