version 1.16, 1997/04/18 06:47:08 |
version 1.23, 1997/12/09 19:45:29 |
|
|
# $OpenBSD$ |
# $OpenBSD$ |
# $NetBSD: Makefile,v 1.25 1995/10/09 02:11:28 thorpej Exp $ |
|
|
|
# |
# |
# For more information on building in tricky environments, please see |
# For more information on building in tricky environments, please see |
|
|
|
|
SUBDIR+= sys lkm |
SUBDIR+= sys lkm |
|
|
.if defined(KERBEROS) |
.if (${KERBEROS} == "yes") |
SUBDIR+= kerberosIV |
SUBDIR+= kerberosIV |
.endif |
.endif |
|
|
|
.if make(clean) || make(cleandir) || make(obj) |
|
SUBDIR+= distrib |
|
.endif |
|
|
.if exists(regress) |
.if exists(regress) |
.ifmake !(install) |
.ifmake !(install) |
SUBDIR+= regress |
SUBDIR+= regress |
|
|
.endif |
.endif |
|
|
build: |
build: |
|
.ifdef GLOBAL_AUTOCONF_CACHE |
|
rm -f ${GLOBAL_AUTOCONF_CACHE} |
|
.endif |
(cd ${.CURDIR}/share/mk && ${MAKE} install) |
(cd ${.CURDIR}/share/mk && ${MAKE} install) |
(cd ${.CURDIR}/include; ${MAKE} includes) |
(cd ${.CURDIR}/include; ${MAKE} includes) |
${MAKE} cleandir |
${MAKE} cleandir |
|
|
.if (${MACHINE_ARCH} == "mips") |
.if (${MACHINE_ARCH} == "mips") |
ldconfig |
ldconfig |
.endif |
.endif |
.if defined(KERBEROS) |
.if (${KERBEROS} == "yes") |
(cd ${.CURDIR}/kerberosIV && ${MAKE} build) |
(cd ${.CURDIR}/kerberosIV && ${MAKE} build) |
|
.endif |
|
.if (${MACHINE_ARCH} == "mips") |
|
ldconfig |
.endif |
.endif |
${MAKE} depend && ${MAKE} && ${MAKE} install |
${MAKE} depend && ${MAKE} && ${MAKE} install |
|
|