version 1.39, 1998/08/28 22:46:02 |
version 1.45, 1999/01/24 16:08:37 |
|
|
# well as populate the /usr/obj properly with directories for the |
# well as populate the /usr/obj properly with directories for the |
# objects. |
# objects. |
# |
# |
# 3) If you are reasonably sure that things will compile OK, use the |
# 3) It is strongly recommended that you build and install a new kernel |
|
# before rebuilding your system. Some of the new programs may use new |
|
# functionality or depend on API changes that your old kernel doesn't have. |
|
# |
|
# 4) If you are reasonably sure that things will compile OK, use the |
# "make build" target supplied here. Good luck. |
# "make build" target supplied here. Good luck. |
# |
# |
# 4) If you want to setup a cross-build environment, there is a "cross-tools" |
# 5) If you want to setup a cross-build environment, there is a "cross-tools" |
# target available which upon completion of "make TARGET=<target> cross-tools" |
# target available which upon completion of "make TARGET=<target> cross-tools" |
# (where <target> is one of the names in the /sys/arch directory) will produce |
# (where <target> is one of the names in the /sys/arch directory) will produce |
# a set of compilation tools along with the includes in the /usr/cross/<target> |
# a set of compilation tools along with the includes in the /usr/cross/<target> |
|
|
|
|
beforeinstall: |
beforeinstall: |
.ifndef DESTDIR |
.ifndef DESTDIR |
(cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs) |
(cd ${.CURDIR}/etc && ${MAKE} DESTDIR= distrib-dirs) |
.else |
.else |
(cd ${.CURDIR}/etc && ${MAKE} distrib-dirs) |
(cd ${.CURDIR}/etc && ${MAKE} distrib-dirs) |
.endif |
.endif |
|
|
.ifdef GLOBAL_AUTOCONF_CACHE |
.ifdef GLOBAL_AUTOCONF_CACHE |
rm -f ${GLOBAL_AUTOCONF_CACHE} |
rm -f ${GLOBAL_AUTOCONF_CACHE} |
.endif |
.endif |
(cd ${.CURDIR}/share/mk && ${MAKE} install) |
(cd ${.CURDIR}/share/mk && ${SUDO} ${MAKE} install) |
(cd ${.CURDIR}/include; ${MAKE} includes) |
(cd ${.CURDIR}/include; ${SUDO} ${MAKE} includes) |
${MAKE} cleandir |
${SUDO} ${MAKE} cleandir |
(cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install) |
(cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && \ |
(cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install) |
${SUDO} ${MAKE} install) |
|
(cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && \ |
|
${SUDO} ${MAKE} install) |
.if (${MACHINE_ARCH} == "mips") |
.if (${MACHINE_ARCH} == "mips") |
ldconfig |
ldconfig |
.endif |
.endif |
.if (${KERBEROS} == "yes") |
.if (${KERBEROS} == "yes") |
(cd ${.CURDIR}/kerberosIV && ${MAKE} build) |
(cd ${.CURDIR}/kerberosIV && ${MAKE} SUDO=${SUDO} build) |
.endif |
.endif |
.if (${MACHINE_ARCH} == "mips") |
.if (${MACHINE_ARCH} == "mips") |
ldconfig |
ldconfig |
.endif |
.endif |
${MAKE} depend && ${MAKE} && ${MAKE} install |
${MAKE} depend && ${MAKE} && ${SUDO} ${MAKE} install |
|
|
.if !defined(TARGET) |
.if !defined(TARGET) |
cross-tools: |
cross-tools: |