[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / sbin

File: [local] / src / sbin / Makefile (download)

Revision 1.23, Mon Jan 27 21:57:34 1997 UTC (27 years, 4 months ago) by rahnds
Branch: MAIN
Changes since 1.22: +2 -2 lines

Support fdisk on bigendian systems. Does the necessary byte swabbing to
read and write the fdisk label. Added powerpc to systems to build this for.
Currently uses local functions getshort, putshort, getlong, and putlong.
These functions probably should be moved and renamed. Something like
htoles, letohs, htolel, letohl, or htole16, htole32 should be used instead.

#	$OpenBSD: Makefile,v 1.23 1997/01/27 21:57:34 rahnds Exp $
#	$NetBSD: Makefile,v 1.29 1996/05/14 17:39:21 ws Exp $

# Not ported: XNSrouted enpload scsiformat startslip
# Missing: icheck

SUBDIR=	badsect disklabel ccdconfig dmesg fastboot fsck ifconfig init ipf ipfstat \
	ipnat kbd mknod modload modunload mount mountd ncheck_ffs nfsd nfsiod \
	nologin ping quotacheck reboot route routed savecore scsi \
	shutdown slattach swapon ttyflags umount

# support for various file systems
SUBDIR+= mount_ados
SUBDIR+= mount_cd9660
SUBDIR+= mount_fdesc
SUBDIR+= mount_ffs	newfs fsck_ffs fsdb dumpfs dump restore clri tunefs fsirand
SUBDIR+= mount_kernfs
SUBDIR+= mount_lfs	newlfs dumplfs
# mount_mfs -> newfs
SUBDIR+= mount_msdos	newfs_msdos fsck_msdos
SUBDIR+= mount_nfs
SUBDIR+= mount_null
SUBDIR+= mount_portal
SUBDIR+= mount_procfs
SUBDIR+= mount_umap
SUBDIR+= mount_union
SUBDIR+= mount_ext2fs

.if   make(clean) || make(cleandir) || make(obj)
SUBDIR+= bim config_slot edlabel fdisk pcmcia_cntrl
.elif ${MACHINE} == "i386"
SUBDIR+= config_slot
SUBDIR+= fdisk
SUBDIR+= pcmcia_cntrl
.elif (${MACHINE} == "arc") || (${MACHINE} == "powerpc")
SUBDIR+= fdisk
.elif ${MACHINE} == "pc532"
SUBDIR+= bim
.elif (${MACHINE} == "sun3") || (${MACHINE} == "atari") || \
      (${MACHINE} == "sparc")
SUBDIR+= edlabel
.endif

.include <bsd.subdir.mk>