version 1.263, 2008/11/09 23:02:28 |
version 1.265, 2008/12/30 22:18:11 |
|
|
# do-external-lib: builds and installs prerequisites from external/lib. |
# do-external-lib: builds and installs prerequisites from external/lib. |
# do-sys-rump-fs-lib: builds and installs prerequisites from sys/rump/fs/lib |
# do-sys-rump-fs-lib: builds and installs prerequisites from sys/rump/fs/lib |
# do-sys-rump-net-lib: builds and installs prerequisites from sys/rump/net/lib |
# do-sys-rump-net-lib: builds and installs prerequisites from sys/rump/net/lib |
|
# do-sys-modules: builds and installs kernel modules (used by rump binaries) |
# do-ld.so: builds and installs prerequisites from libexec/ld.*_so. |
# do-ld.so: builds and installs prerequisites from libexec/ld.*_so. |
# do-compat-lib-csu: builds and installs prerequisites from compat/lib/csu |
# do-compat-lib-csu: builds and installs prerequisites from compat/lib/csu |
# if ${MKCOMPAT} != "no". |
# if ${MKCOMPAT} != "no". |
Line 177 _POSTINSTALL= ${.CURDIR}/usr.sbin/postin |
|
Line 178 _POSTINSTALL= ${.CURDIR}/usr.sbin/postin |
|
|
|
postinstall-check: .PHONY |
postinstall-check: .PHONY |
@echo " === Post installation checks ===" |
@echo " === Post installation checks ===" |
${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ check; if [ $$? -gt 1 ]; then exit 1; fi |
MAKE=${MAKE:Q} ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ check; if [ $$? -gt 1 ]; then exit 1; fi |
@echo " ================================" |
@echo " ================================" |
|
|
postinstall-fix: .NOTMAIN .PHONY |
postinstall-fix: .NOTMAIN .PHONY |
@echo " === Post installation fixes ===" |
@echo " === Post installation fixes ===" |
${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ fix |
MAKE=${MAKE:Q} ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ fix |
@echo " ===============================" |
@echo " ===============================" |
|
|
postinstall-fix-obsolete: .NOTMAIN .PHONY |
postinstall-fix-obsolete: .NOTMAIN .PHONY |
@echo " === Removing obsolete files ===" |
@echo " === Removing obsolete files ===" |
${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ fix obsolete |
MAKE=${MAKE:Q} ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ fix obsolete |
@echo " ===============================" |
@echo " ===============================" |
|
|
|
|
Line 235 BUILDTARGET+= do-libpcc |
|
Line 236 BUILDTARGET+= do-libpcc |
|
BUILDTARGETS+= do-lib-libc |
BUILDTARGETS+= do-lib-libc |
BUILDTARGETS+= do-lib do-gnu-lib do-external-lib |
BUILDTARGETS+= do-lib do-gnu-lib do-external-lib |
BUILDTARGETS+= do-sys-rump-fs-lib do-sys-rump-net-lib |
BUILDTARGETS+= do-sys-rump-fs-lib do-sys-rump-net-lib |
|
.if (${MACHINE} != "evbppc") |
|
BUILDTARGETS+= do-sys-modules |
|
.endif |
.if ${MKCOMPAT} != "no" |
.if ${MKCOMPAT} != "no" |
BUILDTARGETS+= do-compat-lib-csu |
BUILDTARGETS+= do-compat-lib-csu |
BUILDTARGETS+= do-compat-libgcc |
BUILDTARGETS+= do-compat-libgcc |
Line 403 BUILD_COMPAT_LIBS= compat/lib/csu ${BUIL |
|
Line 407 BUILD_COMPAT_LIBS= compat/lib/csu ${BUIL |
|
BUILD_COMPAT_LIBS= |
BUILD_COMPAT_LIBS= |
.endif |
.endif |
|
|
.for dir in tools tools/compat lib/csu ${BUILD_CC_LIB} lib/libc lib/libdes lib gnu/lib external/lib sys/rump/fs/lib sys/rump/net/lib ${BUILD_COMPAT_LIBS} |
.for dir in tools tools/compat lib/csu ${BUILD_CC_LIB} lib/libc lib/libdes lib gnu/lib external/lib sys/rump/fs/lib sys/rump/net/lib sys/modules ${BUILD_COMPAT_LIBS} |
do-${dir:S/\//-/g}: .PHONY .MAKE |
do-${dir:S/\//-/g}: .PHONY .MAKE |
.for targ in dependall install |
.for targ in dependall install |
${MAKEDIRTARGET} ${dir} ${targ} |
${MAKEDIRTARGET} ${dir} ${targ} |