summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-10-11 07:41:31 +0000
committerpeter <peter@FreeBSD.org>1998-10-11 07:41:31 +0000
commit4cfebf30fb2e7d89b49688c2b607dbedfea32e0f (patch)
tree5dd2ff6a97eeb5a0c71fc624d7189108edbf7ed6 /Makefile.inc1
parent3bc215db7d7ede07c592612e203e54ee6918bf73 (diff)
downloadFreeBSD-src-4cfebf30fb2e7d89b49688c2b607dbedfea32e0f.zip
FreeBSD-src-4cfebf30fb2e7d89b49688c2b607dbedfea32e0f.tar.gz
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.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc18
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index fc6d1f37..c367e01 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -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 "--------------------------------------------------------------"
OpenPOWER on IntegriCloud