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