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