summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-09-16 20:24:29 +0000
committerwollman <wollman@FreeBSD.org>1994-09-16 20:24:29 +0000
commit375660a3eb1f4387aa0dca4796ae87af8945332a (patch)
tree3f55eaf44d108ca249b4e0ba8c13096a08c1c228 /Makefile
parent242ff623e2a9282e84a86644c12fa51d9138a23f (diff)
downloadFreeBSD-src-375660a3eb1f4387aa0dca4796ae87af8945332a.zip
FreeBSD-src-375660a3eb1f4387aa0dca4796ae87af8945332a.tar.gz
Per discussion on the mailing-lists, move LKMs from /sbin to /lkm, and
arrange for that directory to get created by mtree. Also, process secure directory after all the others, because the programs there may overlay ones installed from the main part of the tree.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 07810ad..7275f00 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
#
-# $Id: Makefile,v 1.16 1994/09/09 20:29:20 csgr Exp $
+# $Id: Makefile,v 1.17 1994/09/12 05:17:15 rgrimes Exp $
#
# Make command line options:
# -DCLOBBER will remove /usr/include and MOST of /usr/lib
@@ -8,6 +8,7 @@
# -DNOCLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir
# -DNOCRYPT will prevent building of crypt versions
# XXX2 -DNOKERBEROS do not build Kerberos
+# -DNOLKM do not build loadable kernel modules
# -DNOOBJDIR do not run ``${MAKE} obj''
# -DNOPROFILE do not build profiled libraries
# -DNOSECURE do not go into secure subdir
@@ -53,9 +54,6 @@ SUBDIR+= libexec
.if exists(sbin)
SUBDIR+= sbin
.endif
-.if exists(secure) && !defined(NOCRYPT) && !defined(NOSECURE)
-SUBDIR+= secure
-.endif
.if exists(share)
SUBDIR+= share
.endif
@@ -68,6 +66,12 @@ SUBDIR+= usr.bin
.if exists(usr.sbin)
SUBDIR+= usr.sbin
.endif
+.if exists(secure) && !defined(NOCRYPT) && !defined(NOSECURE)
+SUBDIR+= secure
+.endif
+.if exists(lkm) && !defined(NOLKM)
+SUBDIR+= lkm
+.endif
# These are last, since it is nice to at least get the base system
# rebuilt before you do them.
OpenPOWER on IntegriCloud