Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin add mount_* to SUBDIR for 'make obj', so that the obj d...



details:   https://anonhg.NetBSD.org/src/rev/744b45f249b6
branches:  trunk
changeset: 499146:744b45f249b6
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon Nov 13 05:29:31 2000 +0000

description:
add mount_* to SUBDIR for 'make obj', so that the obj directories get
created and used. Some ramdisks compile individual mount_* commands
directly and hence need the obj dirs setup in order to allow shared
source tree.
Noted in private mail by Andrew Brown <atatat%atatdot.net@localhost>.

diffstat:

 sbin/Makefile |  15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diffs (29 lines):

diff -r 101b15ff30a3 -r 744b45f249b6 sbin/Makefile
--- a/sbin/Makefile     Mon Nov 13 02:38:36 2000 +0000
+++ b/sbin/Makefile     Mon Nov 13 05:29:31 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.70 2000/11/04 18:54:13 thorpej Exp $
+#      $NetBSD: Makefile,v 1.71 2000/11/13 05:29:31 jdolecek Exp $
 #      @(#)Makefile    8.5 (Berkeley) 3/31/94
 
 # Not ported: XNSrouted enpload scsiformat startslip
@@ -18,10 +18,15 @@
 SUBDIR+= mount_portal
 
 # following is now build into mount(8) now (see mount/Makefile)
-# SUBDIR+= mount_ados mount_cd9660 mount_ext2fs mount_fdesc mount_filecore \
-#         mount_ffs mount_kernfs mount_lfs mount_msdos mount_nfs       \
-#         mount_ntfs mount_null mount_overlay mount_procfs mount_umap  \
-#         mount_union
+# we only dive into those subdirs for make obj - some arch's floppies
+# compile individual mount_* and hence need the obj dirs to allow shared
+# source tree
+.if make(obj)
+SUBDIR+= mount_ados mount_cd9660 mount_ext2fs mount_fdesc mount_filecore \
+          mount_ffs mount_kernfs mount_lfs mount_msdos mount_nfs       \
+          mount_ntfs mount_null mount_overlay mount_procfs mount_umap  \
+          mount_union
+.endif
 
 # IPv6
 SUBDIR+= ping6 rtsol



Home | Main Index | Thread Index | Old Index