version 1.263, 2008/11/09 23:02:28 |
version 1.266, 2009/01/19 07:19:09 |
|
|
# 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-external-lib: builds and installs prerequisites from |
|
# compat/external/lib if ${MKCOMPAT} != "no". |
# 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". |
# do-compat-libgcc: builds and installs prerequisites from |
# do-compat-libgcc: builds and installs prerequisites from |
Line 177 _POSTINSTALL= ${.CURDIR}/usr.sbin/postin |
|
Line 180 _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 238 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 |
BUILDTARGETS+= do-compat-lib-libc |
BUILDTARGETS+= do-compat-lib-libc |
|
BUILDTARGETS+= do-compat-external-lib |
.endif |
.endif |
BUILDTARGETS+= do-ld.so |
BUILDTARGETS+= do-ld.so |
BUILDTARGETS+= do-build |
BUILDTARGETS+= do-build |
Line 399 BUILD_CC_LIB+= external/bsd/pcc/libpcc |
|
Line 406 BUILD_CC_LIB+= external/bsd/pcc/libpcc |
|
|
|
.if ${MKCOMPAT} != "no" |
.if ${MKCOMPAT} != "no" |
BUILD_COMPAT_LIBS= compat/lib/csu ${BUILD_CC_LIB:S/^/compat\//} compat/lib/libc |
BUILD_COMPAT_LIBS= compat/lib/csu ${BUILD_CC_LIB:S/^/compat\//} compat/lib/libc |
|
BUILD_COMPAT_LIBS+= compat/external/lib |
.else |
.else |
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} |