version 1.112, 2000/04/10 14:47:22 |
version 1.115, 2000/05/09 00:17:10 |
|
|
.endif |
.endif |
|
|
MKOBJDIRS ?= no |
MKOBJDIRS ?= no |
HAVE_GCC28!= ${CXX} --version | egrep "^(2\.8|egcs)" ; echo |
HAVE_EGCS!= ${CXX} --version | egrep "^(2\.[89]|egcs)" ; echo |
|
|
.if defined(NBUILDJOBS) |
.if defined(NBUILDJOBS) |
_J= -j${NBUILDJOBS} |
_J= -j${NBUILDJOBS} |
Line 59 _M=-m ${DESTDIR}/usr/share/mk |
|
Line 59 _M=-m ${DESTDIR}/usr/share/mk |
|
SUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share sys |
SUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share sys |
.if make(obj) |
.if make(obj) |
SUBDIR+= distrib |
SUBDIR+= distrib |
|
.ifdef MAKEOBJDIRPREFIX |
|
SUBDIR+= etc |
|
.endif |
.endif |
.endif |
|
|
includes-lib: includes-include includes-sys |
includes-lib: includes-include includes-sys |
Line 125 build: buildmsg beforeinstall |
|
Line 128 build: buildmsg beforeinstall |
|
.if ${MKOBJDIRS} != "no" |
.if ${MKOBJDIRS} != "no" |
${MAKE} obj |
${MAKE} obj |
.endif |
.endif |
.if empty(HAVE_GCC28) |
.if empty(HAVE_EGCS) |
.if defined(DESTDIR) |
.if defined(DESTDIR) |
@echo "*** CAPUTE!" |
@echo "*** CAPUTE!" |
@echo " You attempted to compile the world without egcs. You must" |
@echo " You attempted to compile the world without egcs. You must" |
Line 141 build: buildmsg beforeinstall |
|
Line 144 build: buildmsg beforeinstall |
|
${MAKE} ${_M} includes |
${MAKE} ${_M} includes |
.endif |
.endif |
(cd ${.CURDIR}/lib/csu && \ |
(cd ${.CURDIR}/lib/csu && \ |
${MAKE} ${_M} ${_J} MKMAN=no dependall && \ |
${MAKE} ${_M} ${_J} MKSHARE=no dependall && \ |
${MAKE} ${_M} MKMAN=no install) |
${MAKE} ${_M} MKSHARE=no install) |
(cd ${.CURDIR}/lib && \ |
(cd ${.CURDIR}/lib && \ |
${MAKE} ${_M} ${_J} MKMAN=no MKINFO=no dependall && \ |
${MAKE} ${_M} ${_J} MKSHARE=no dependall && \ |
${MAKE} ${_M} MKMAN=no MKINFO=no install) |
${MAKE} ${_M} MKSHARE=no install) |
(cd ${.CURDIR}/gnu/lib && \ |
(cd ${.CURDIR}/gnu/lib && \ |
${MAKE} ${_M} ${_J} MKMAN=no MKINFO=no dependall && \ |
${MAKE} ${_M} ${_J} MKSHARE=no dependall && \ |
${MAKE} ${_M} MKMAN=no MKINFO=no install) |
${MAKE} ${_M} MKSHARE=no install) |
.if target(cryptobuild) |
.if target(cryptobuild) |
${MAKE} ${_M} ${_J} cryptobuild |
${MAKE} ${_M} ${_J} cryptobuild |
.endif |
.endif |