=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/Makefile,v retrieving revision 1.18 retrieving revision 1.23 diff -u -r1.18 -r1.23 --- src/Makefile 1997/07/29 03:18:39 1.18 +++ src/Makefile 1997/12/09 19:45:29 1.23 @@ -1,5 +1,4 @@ -# $OpenBSD: Makefile,v 1.18 1997/07/29 03:18:39 kstailey 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 @@ -32,6 +31,10 @@ SUBDIR+= kerberosIV .endif +.if make(clean) || make(cleandir) || make(obj) +SUBDIR+= distrib +.endif + .if exists(regress) .ifmake !(install) SUBDIR+= regress @@ -59,8 +62,8 @@ .endif build: -.ifdef GLOBAL_CACHE - rm -f $HOME/.Makefile.bsd-wrapper.cache +.ifdef GLOBAL_AUTOCONF_CACHE + rm -f ${GLOBAL_AUTOCONF_CACHE} .endif (cd ${.CURDIR}/share/mk && ${MAKE} install) (cd ${.CURDIR}/include; ${MAKE} includes) @@ -72,6 +75,9 @@ .endif .if (${KERBEROS} == "yes") (cd ${.CURDIR}/kerberosIV && ${MAKE} build) +.endif +.if (${MACHINE_ARCH} == "mips") + ldconfig .endif ${MAKE} depend && ${MAKE} && ${MAKE} install