version 1.40, 1998/09/07 00:47:11 |
version 1.44, 1999/01/08 00:26:59 |
|
|
# 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 |
|
|
.endif |
.endif |
(cd ${.CURDIR}/share/mk && ${SUDO} ${MAKE} install) |
(cd ${.CURDIR}/share/mk && ${SUDO} ${MAKE} install) |
(cd ${.CURDIR}/include; ${SUDO} ${MAKE} includes) |
(cd ${.CURDIR}/include; ${SUDO} ${MAKE} includes) |
${MAKE} cleandir |
${SUDO} ${MAKE} cleandir |
(cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && \ |
(cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && \ |
${SUDO} ${MAKE} install) |
${SUDO} ${MAKE} install) |
(cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && \ |
(cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && \ |