Comment about libm and libmd being needed for some libraries.

Prompted by: bde

Also. Don't build & install legacy lkm's when NOLKM has been set.
Otherwise it gets built in the src tree rather than obj, because the
previous 'make obj' at the start of legacy-build does respect NOLKM.
This commit is contained in:
Peter Wemm 1998-10-11 07:41:31 +00:00
parent 91aa9f9055
commit 04e2ebf5df
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40208

View File

@ -1,5 +1,5 @@
#
# $Id: Makefile.inc1,v 1.28 1998/10/10 11:16:08 kato Exp $
# $Id: Makefile.inc1,v 1.29 1998/10/10 19:56:59 jkh Exp $
#
# Make command line options:
# -DCLOBBER will remove /usr/include
@ -642,6 +642,8 @@ lib-tools:
#
# libcom_err must be built before libss.
# libcrypt and libmd must be built before libskey.
# libm must be built before libf2c, libg++ and libstdc++
# libmd must be built before libatm and libopie
# libmytinfo must be built before libdialog and libncurses.
# libncurses must be built before libdialog.
# libtermcap must be built before libcurses, libedit and libreadline.
@ -884,12 +886,14 @@ legacy-build:
cd ${.CURDIR}/libexec/rtld-aout; \
${XMAKE} -DNOMAN depend; ${XMAKE} -DNOMAN all;
@echo
.if exists(${.CURDIR}/lkm) && !defined(NOLKM)
@echo "--------------------------------------------------------------"
@echo ">>> Building legacy lkms"
@echo "--------------------------------------------------------------"
cd ${.CURDIR}/lkm; \
${XMAKE} -DNOMAN depend; ${XMAKE} -DNOMAN all;
@echo
.endif
@echo "--------------------------------------------------------------"
@echo ">>> Building legacy boot"
@echo "--------------------------------------------------------------"
@ -930,11 +934,13 @@ legacy-install:
@echo "--------------------------------------------------------------"
cd ${.CURDIR}/libexec/rtld-aout; ${MAKE} -DNOMAN install
@echo
.if exists(${.CURDIR}/lkm) && !defined(NOLKM)
@echo "--------------------------------------------------------------"
@echo ">>> Installing legacy lkms"
@echo "--------------------------------------------------------------"
cd ${.CURDIR}/lkm; ${MAKE} -DNOMAN install
@echo
.endif
@echo "--------------------------------------------------------------"
@echo ">>> Installing legacy boot"
@echo "--------------------------------------------------------------"