From: tholo Date: Sun, 28 Jan 1996 19:42:34 +0000 (+0000) Subject: Do not build KerberosIV if Kerberos has been disabled in X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=96eaadca971a0798628a4260c51c7c12cdfaa9c8;p=openbsd Do not build KerberosIV if Kerberos has been disabled in --- diff --git a/Makefile b/Makefile index 9c99f4e5292..08de728bfbc 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,11 @@ SUBDIR+= gnu SUBDIR+= sys +.include # for NOMAN, if it's there. + +.if defined(KERBEROS) SUBDIR+= kerberosIV +.endif .if exists(regress) .ifmake !(install) @@ -19,8 +23,6 @@ regression-tests: @(cd ${.CURDIR}/regress && ${MAKE} regress) .endif -.include # for NOMAN, if it's there. - #beforeinstall: # (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs) @@ -34,7 +36,9 @@ build: ${MAKE} cleandir (cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install) (cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install) +.if defined(KERBEROS) (cd ${.CURDIR}/kerberosIV && ${MAKE} build) +.endif ${MAKE} depend && ${MAKE} && ${MAKE} install .include