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