1 1.6 pooka # $NetBSD: Makefile,v 1.6 2009/11/23 13:40:11 pooka 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.1 pooka 9 1.4 pooka # 10 1.6 pooka # We use subr_disk_mbr on all platforms. The current structure of 11 1.6 pooka # code allows us to pick only one readdisklabel() routine. While 12 1.6 pooka # this is not the native one for all platforms, it's probably the 13 1.6 pooka # most common one in an image floating on the internetto. 14 1.6 pooka SRCS= subr_disk_mbr.c 15 1.4 pooka 16 1.1 pooka # sys/kern 17 1.6 pooka SRCS+= subr_disk.c subr_disk_open.c 18 1.1 pooka # sys/dev 19 1.4 pooka SRCS+= dksubr.c dk.c 20 1.1 pooka 21 1.1 pooka CFLAGS+= -Wno-pointer-sign 22 1.1 pooka 23 1.1 pooka .include <bsd.lib.mk> 24 1.1 pooka .include <bsd.klinks.mk> 25