Add support for building libdevmapper against RUMP.

This commit is contained in:
haad 2009-12-09 00:17:23 +00:00
parent 40681c67fa
commit ff3b5e1b34
1 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2009/12/01 23:12:51 haad Exp $
# $NetBSD: Makefile,v 1.4 2009/12/09 00:17:23 haad Exp $
USE_SHLIBDIR= yes
USE_FORT?= no
@ -23,6 +23,13 @@ SRCS+= bitset.c hash.c list.c libdm-common.c libdm-file.c \
dbg_malloc.c pool.c matcher.c parse_rx.c ttree.c \
libdm-nbsd-iface.c libdm_netbsd.c
.ifdef RUMP_ACTION
CPPFLAGS+= -DRUMP_ACTION -DRUMP_SYS_IOCTL -DRUMP_SYS_CLOSE -DRUMP_SYS_OPEN
LDADD+= -lrumpdev_disk -lrumpdev_dm -lrumpdev
LDADD+= -lrumpvfs -lrump -lrumpuser -lpthread
DBG= -g
.endif
.PATH: ${LIBDM_DISTDIR}/
.PATH: ${LIBDM_DISTDIR}/datastruct
.PATH: ${LIBDM_DISTDIR}/mm