1 1.7.38.2 skrll # $NetBSD: Makefile,v 1.7.38.2 2015/12/27 12:10:08 skrll 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.7.38.2 skrll COMMENT=Disk-like device support (used e.g. by file systems) 9 1.7.38.2 skrll 10 1.7.38.1 skrll 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.7.38.1 skrll SRCS+= subr_disk_mbr.c 18 1.4 pooka 19 1.1 pooka # sys/kern 20 1.6 pooka SRCS+= subr_disk.c subr_disk_open.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