=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/Makefile,v retrieving revision 1.16 retrieving revision 1.23 diff -u -r1.16 -r1.23 --- src/Makefile 1997/04/18 06:47:08 1.16 +++ src/Makefile 1997/12/09 19:45:29 1.23 @@ -1,5 +1,4 @@ -# $OpenBSD: Makefile,v 1.16 1997/04/18 06:47:08 deraadt Exp $ -# $NetBSD: Makefile,v 1.25 1995/10/09 02:11:28 thorpej Exp $ +# $OpenBSD: Makefile,v 1.23 1997/12/09 19:45:29 niklas Exp $ # # For more information on building in tricky environments, please see @@ -28,10 +27,14 @@ SUBDIR+= sys lkm -.if defined(KERBEROS) +.if (${KERBEROS} == "yes") SUBDIR+= kerberosIV .endif +.if make(clean) || make(cleandir) || make(obj) +SUBDIR+= distrib +.endif + .if exists(regress) .ifmake !(install) SUBDIR+= regress @@ -59,6 +62,9 @@ .endif build: +.ifdef GLOBAL_AUTOCONF_CACHE + rm -f ${GLOBAL_AUTOCONF_CACHE} +.endif (cd ${.CURDIR}/share/mk && ${MAKE} install) (cd ${.CURDIR}/include; ${MAKE} includes) ${MAKE} cleandir @@ -67,8 +73,11 @@ .if (${MACHINE_ARCH} == "mips") ldconfig .endif -.if defined(KERBEROS) +.if (${KERBEROS} == "yes") (cd ${.CURDIR}/kerberosIV && ${MAKE} build) +.endif +.if (${MACHINE_ARCH} == "mips") + ldconfig .endif ${MAKE} depend && ${MAKE} && ${MAKE} install