1 # $NetBSD: Makefile,v 1.2 2015/10/19 16:16:35 pooka Exp $ 2 # 3 4 RUMPTOP=${TOPRUMP} 5 6 .PATH: ${RUMPTOP}/../dev \ 7 ${RUMPTOP}/../dev/pci 8 9 LIB= rumpdev_virtio_ld 10 COMMENT=VirtIO block device driver 11 12 IOCONF= VIRTIO_LD.ioconf 13 14 SRCS= ld_at_virtio.c 15 16 SRCS+= ld_virtio.c 17 18 # XXX: ld.c does not really belong here, but placing it in libdisk 19 # requires revamping config to be more modular in how CFDRIVER() is 20 # used. moving ld up in the component tree later to libdisk won't 21 # create problems, so just put it here for now. the excessive 22 # dependencies of virtio_ld should prevent anyone from want to 23 # provide ld via this component ... 24 SRCS+= ld.c 25 26 CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern -I${RUMPTOP}/librump/rumpvfs 27 28 .include "${RUMPTOP}/Makefile.rump" 29 .include <bsd.lib.mk> 30 .include <bsd.klinks.mk> 31