NetBSD/sys/modules/dm/dm_target_snapshot/Makefile
haad 18bcf672b4 Remove unneeded targets from dm driver and build them as separate modules.
The zero, error and snapshot targets are build as modules and can be loaded
to dm driver with modload. I do not build/install these drivers by default.

The linear and stripe targets are needed for LVM so I keep them compiled in
dm.
2009-01-02 01:06:16 +00:00

13 lines
261 B
Makefile

#$NetBSD: Makefile,v 1.1 2009/01/02 01:06:16 haad Exp $
.include "../../Makefile.inc"
S!= cd ${.CURDIR}/../../..;pwd
.PATH: ${S}/dev/dm
CFLAGS += -DDM_TARGET_MODULE
KMOD= dm_target_snapshot
SRCS= dm_target_snapshot.c
.include <bsd.kmodule.mk>