=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/Makefile,v retrieving revision 1.17 retrieving revision 1.23 diff -u -r1.17 -r1.23 --- src/Makefile 1997/04/19 21:26:09 1.17 +++ src/Makefile 1997/12/09 19:45:29 1.23 @@ -1,5 +1,4 @@ -# $OpenBSD: Makefile,v 1.17 1997/04/19 21:26:09 millert 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,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 @@ -69,6 +75,9 @@ .endif .if (${KERBEROS} == "yes") (cd ${.CURDIR}/kerberosIV && ${MAKE} build) +.endif +.if (${MACHINE_ARCH} == "mips") + ldconfig .endif ${MAKE} depend && ${MAKE} && ${MAKE} install