1 # $NetBSD: Makefile,v 1.10 2019/04/05 01:09:33 christos Exp $ 2 # 3 4 .PATH: ${.CURDIR}/../../../../kern \ 5 ${.CURDIR}/../../../../dev ${.CURDIR}/../../../../dev/dkwedge 6 7 LIB= rumpdev_disk 8 COMMENT=Disk-like device support (used e.g. by file systems) 9 10 SRCS= disk_component.c 11 12 # 13 # We use subr_disk_mbr on all platforms. The current structure of 14 # code allows us to pick only one readdisklabel() routine. While 15 # this is not the native one for all platforms, it's probably the 16 # most common one in an image floating on the internetto. 17 SRCS+= subr_disk_mbr.c 18 19 # sys/kern 20 SRCS+= subr_disk.c subr_disk_open.c subr_disklabel.c 21 # sys/dev 22 SRCS+= dksubr.c dk.c 23 24 .include <bsd.lib.mk> 25 .include <bsd.klinks.mk> 26