83425a0f36
to access, manage and manipulate device-mapper driver. Which opens us bunch of new possibilities like dm-multipath device target dm-crypt device target dm-ccd compatibility layer With this import I'm bringing in dmctl tool for working with dm driver ,too. I plan to replace gpl2 licensed dmsetup command with our dmctl tool in near feature. It can also by placed to /rescue where we was not able to put dmsetup because of licensing problems. With libdm in tree we can now write RUMP atf test suite for dm driver to ensure LVM subsystem stability as time goes. Reviewed by: blymn@ and rmind@ Oked: by no objections on tech-userlevel@
25 lines
381 B
Makefile
25 lines
381 B
Makefile
PROG= dmctl
|
|
MAN= dmctl.8
|
|
WARN= 4
|
|
SRC= dmctl.c
|
|
|
|
BINDIR= /sbin
|
|
|
|
#LIBDM_INCLUDE= ${NETBSDSRCDIR}/lib/libdm/
|
|
#LIBDM_OBJDIR= ${NETBSDSRCDIR}/lib/libdm/
|
|
#CFLAGS+= -fno-inline -Wall -O0 -g
|
|
#CPPFLAGS+= -I. -I${LIBDM_INCLUDE}
|
|
|
|
LDADD+= -ldm
|
|
|
|
.ifdef RUMP_ACTION
|
|
CPPFLAGS+= -D RUMP_ACTION
|
|
LDADD+= -lrumpclient
|
|
.endif
|
|
|
|
LDADD+= -lprop
|
|
|
|
#LDSTATIC= -static
|
|
|
|
.include <bsd.prog.mk>
|