24 lines
505 B
Makefile
24 lines
505 B
Makefile
# $NetBSD: Makefile,v 1.8 2019/12/16 14:26:23 tkusumi Exp $
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
.PATH: ${S}/dev/dm
|
|
|
|
KMOD= dm
|
|
IOCONF= dm.ioconf
|
|
SRCS= device-mapper.c dm_dev.c dm_ioctl.c dm_pdev.c dm_table.c dm_target.c \
|
|
dm_target_linear.c dm_target_stripe.c dm_target_error.c dm_target_zero.c
|
|
|
|
# Do not build unneeded modules now.
|
|
MK_DM_TARGETS= no
|
|
|
|
.if (${MK_DM_TARGETS} != "no")
|
|
SUBDIR+= dm_target_mirror
|
|
SUBDIR+= dm_target_snapshot
|
|
.endif
|
|
|
|
WARNS= 3
|
|
|
|
.include <bsd.kmodule.mk>
|
|
.include <bsd.subdir.mk>
|