Home | History | Annotate | Line # | Download | only in sbin
      1 #	$NetBSD: Makefile,v 1.145 2025/12/28 19:07:42 thorpej Exp $
      2 #	@(#)Makefile	8.5 (Berkeley) 3/31/94
      3 
      4 # Not ported: XNSrouted enpload scsiformat startslip
      5 # Missing: icheck ncheck
      6 
      7 .include <bsd.own.mk>
      8 
      9 SUBDIR=	amrctl apmlabel atactl badsect bioctl blkdiscard brconfig \
     10 	canconfig ccdconfig cgdconfig chown \
     11 	devpubd disklabel dkctl dkscan_bsdlabel dmesg dmctl drvctl \
     12 	fastboot fdisk fsck fsirand gpt ifconfig init ldconfig luactl \
     13 	mbrlabel mknod modload modstat modunload mount \
     14 	newbtconf nologin nvmectl \
     15 	ping pppoectl raidctl reboot rcorder rndctl route routed \
     16 	savecore scsictl shutdown slattach svhlabel swapctl sysctl \
     17 	ttyflags umount veriexecctl wdogctl wsconsctl
     18 
     19 .if ${HAVE_EFI_RT} == "yes"
     20 SUBDIR+= efi
     21 .endif
     22 
     23 #
     24 # support for various file systems
     25 #
     26 # Always include FFS.
     27 #
     28 SUBDIR+= newfs fsck_ffs fsdb dump restore clri tunefs resize_ffs mount_ffs \
     29 	scan_ffs
     30 
     31 .if (${MKADOSFS} != "no")
     32 SUBDIR+= mount_ados
     33 .endif
     34 
     35 .if (${MKAUTOFS} != "no")
     36 SUBDIR+= mount_autofs
     37 .endif
     38 
     39 .if (${MKCD9660FS} != "no")
     40 SUBDIR+= mount_cd9660
     41 .endif
     42 
     43 .if (${MKCHFS} != "no")
     44 SUBDIR+= mount_chfs
     45 .endif
     46 
     47 .if (${MKEFS} != "no")
     48 SUBDIR+= mount_efs
     49 .endif
     50 
     51 .if (${MKEXT2FS} != "no")
     52 SUBDIR+= newfs_ext2fs fsck_ext2fs mount_ext2fs
     53 .endif
     54 
     55 .if (${MKFDESCFS} != "no")
     56 SUBDIR+= mount_fdesc
     57 .endif
     58 
     59 .if (${MKFILECOREFS} != "no")
     60 SUBDIR+= mount_filecore
     61 .endif
     62 
     63 .if (${MKHFS} != "no")
     64 SUBDIR+= mount_hfs
     65 .endif
     66 
     67 .if (${MKKERNFS} != "no")
     68 SUBDIR+= mount_kernfs
     69 .endif
     70 
     71 .if (${MKLFS} != "no")
     72 SUBDIR+= newfs_lfs fsck_lfs dump_lfs resize_lfs mount_lfs
     73 .endif
     74 
     75 .if (${MKMSDOSFS} != "no")
     76 SUBDIR+= newfs_msdos fsck_msdos mount_msdos
     77 .endif
     78 
     79 .if (${MKNFS} != "no")
     80 SUBDIR+= mount_nfs
     81 .endif
     82 
     83 .if (${MKNILFS} != "no")
     84 SUBDIR+= mount_nilfs
     85 .endif
     86 
     87 .if (${MKNTFS} != "no")
     88 SUBDIR+= mount_ntfs
     89 .endif
     90 
     91 .if (${MKNULLFS} != "no")
     92 SUBDIR+= mount_null
     93 .endif
     94 
     95 .if (${MKOVERLAYFS} != "no")
     96 SUBDIR+= mount_overlay
     97 .endif
     98 
     99 # XXX De-tangle this web (puffs) later.
    100 SUBDIR+= mount_portal
    101 
    102 .if (${MKPROCFS} != "no")
    103 SUBDIR+= mount_procfs
    104 .endif
    105 
    106 .if (${MKPTYFS} != "no")
    107 SUBDIR+= mount_ptyfs
    108 .endif
    109 
    110 # XXX De-tangle this web (puffs) later.
    111 SUBDIR+= mount_puffs
    112 
    113 .if (${MKQEMUFWCFG} != "no")
    114 SUBDIR+= mount_qemufwcfg
    115 .endif
    116 
    117 .if (${MKSYSVBFS} != "no")
    118 SUBDIR+= newfs_sysvbfs mount_sysvbfs
    119 .endif
    120 
    121 .if (${MKTMPFS} != "no")
    122 SUBDIR+= mount_tmpfs
    123 .endif
    124 
    125 .if (${MKUDF} != "no")
    126 SUBDIR+= newfs_udf fsck_udf mount_udf
    127 .endif
    128 
    129 .if (${MKUMAPFS} != "no")
    130 SUBDIR+= mount_umap
    131 .endif
    132 
    133 .if (${MKUNIONFS} != "no")
    134 SUBDIR+= mount_union
    135 .endif
    136 
    137 .if (${MKV7FS} != "no")
    138 SUBDIR+= newfs_v7fs fsck_v7fs mount_v7fs
    139 .endif
    140 
    141 .if (${USE_INET6} != "no")
    142 SUBDIR+= ping6
    143 .endif
    144 
    145 .if (${MKISCSI} != "no")
    146 SUBDIR+= iscsictl iscsid
    147 .endif
    148 
    149 .if (${MKIPSEC} != "no")
    150 SUBDIR+= setkey
    151 .endif
    152 
    153 .if (${MKUSB} != "no")
    154 SUBDIR+= umbctl
    155 .endif
    156 
    157 .include <bsd.subdir.mk>
    158