1 1.4 pooka # $NetBSD: Makefile,v 1.4 2009/10/06 09:12:47 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.4 pooka # XXX: not all platforms support this for now, since disklabel contains 11 1.4 pooka # some MD weirdosities. Enable only on i386. Rest of the platforms 12 1.4 pooka # get a dummy implementation (due to it being easier with setlists). 13 1.4 pooka 14 1.4 pooka .if ${MACHINE} == "i386" 15 1.1 pooka # sys/kern 16 1.4 pooka SRCS= kern_physio.c subr_disk.c subr_disk_mbr.c subr_disk_open.c 17 1.1 pooka # sys/dev 18 1.4 pooka SRCS+= dksubr.c dk.c 19 1.4 pooka .else 20 1.3 pooka SRCS+= dummy.c 21 1.4 pooka .endif 22 1.1 pooka 23 1.1 pooka CFLAGS+= -Wno-pointer-sign 24 1.1 pooka 25 1.1 pooka .include <bsd.lib.mk> 26 1.1 pooka .include <bsd.klinks.mk> 27