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