head	1.3;
access;
symbols
	perseant-exfatfs-base-20250801:1.3
	perseant-exfatfs-base-20240630:1.3
	perseant-exfatfs:1.3.0.26
	perseant-exfatfs-base:1.3
	cjep_sun2x:1.3.0.24
	cjep_sun2x-base:1.3
	cjep_staticlib_x-base1:1.3
	cjep_staticlib_x:1.3.0.22
	cjep_staticlib_x-base:1.3
	phil-wifi-20200421:1.3
	phil-wifi-20200411:1.3
	phil-wifi-20200406:1.3
	pgoyette-compat-merge-20190127:1.3
	pgoyette-compat-20190127:1.3
	pgoyette-compat-20190118:1.3
	pgoyette-compat-1226:1.3
	pgoyette-compat-1126:1.3
	pgoyette-compat-1020:1.3
	pgoyette-compat-0930:1.3
	pgoyette-compat-0906:1.3
	pgoyette-compat-0728:1.3
	pgoyette-compat-0625:1.3
	pgoyette-compat-0521:1.3
	pgoyette-compat-0502:1.3
	pgoyette-compat-0422:1.3
	pgoyette-compat-0415:1.3
	pgoyette-compat-0407:1.3
	pgoyette-compat-0330:1.3
	pgoyette-compat-0322:1.3
	pgoyette-compat-0315:1.3
	pgoyette-compat:1.3.0.20
	pgoyette-compat-base:1.3
	perseant-stdc-iso10646:1.3.0.18
	perseant-stdc-iso10646-base:1.3
	prg-localcount2-base3:1.3
	prg-localcount2-base2:1.3
	prg-localcount2-base1:1.3
	prg-localcount2:1.3.0.16
	prg-localcount2-base:1.3
	pgoyette-localcount-20170426:1.3
	bouyer-socketcan-base1:1.3
	pgoyette-localcount-20170320:1.3
	bouyer-socketcan:1.3.0.14
	bouyer-socketcan-base:1.3
	pgoyette-localcount-20170107:1.3
	pgoyette-localcount-20161104:1.3
	localcount-20160914:1.3
	pgoyette-localcount-20160806:1.3
	pgoyette-localcount-20160726:1.3
	pgoyette-localcount:1.3.0.12
	pgoyette-localcount-base:1.3
	yamt-pagecache-base9:1.3
	yamt-pagecache-tag8:1.3
	tls-earlyentropy:1.3.0.8
	tls-earlyentropy-base:1.3
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.3
	riastradh-drm2-base3:1.3
	agc-symver:1.3.0.10
	agc-symver-base:1.3
	tls-maxphys-base:1.3
	yamt-pagecache-base8:1.3
	yamt-pagecache-base7:1.3
	yamt-pagecache-base6:1.3
	yamt-pagecache-base5:1.3
	yamt-pagecache-base4:1.3
	yamt-pagecache-base3:1.3
	yamt-pagecache-base2:1.3
	yamt-pagecache:1.3.0.6
	yamt-pagecache-base:1.3
	bouyer-quota2-nbase:1.3
	bouyer-quota2:1.3.0.4
	bouyer-quota2-base:1.3
	jym-xensuspend-nbase:1.3
	jym-xensuspend:1.3.0.2
	jym-xensuspend-base:1.3
	haad-dm:1.1.0.2;
locks; strict;
comment	@# @;


1.3
date	2008.12.22.01.07.33;	author haad;	state dead;
branches;
next	1.2;

1.2
date	2008.12.19.15.24.18;	author haad;	state Exp;
branches;
next	1.1;

1.1
date	2008.12.16.00.41.33;	author haad;	state dead;
branches
	1.1.2.1;
next	;

1.1.2.1
date	2008.12.16.00.41.34;	author haad;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Remove broken merged sources of haad-dm. lvm2tools are now in gpl2/lvm2
and libdevmapper is not needed anymore.
@
text
@#	$NetBSD: Makefile,v 1.2 2008/12/19 15:24:18 haad Exp $

USE_FORT?=	no
NOLINT=		#defined

.include "../../lvm2tools.mk"

.PATH:  ${LVM2TOOLS_DISTDIR}/man

PROG=		dmsetup

MAN=		dmsetup.8
MLINKS=		dmsetup.8 dmsetup.1

BINDIR=		/sbin

CPPFLAGS+=      -I${LIBDM_SRCDIR}/ -I${LIBDM_SRCDIR}/misc \
		-I. -I${LIBDM_SRCDIR}/ioctl -I${LVM2TOOLS_DISTDIR}/include

CPPFLAGS+=	-D__LIB_DEVMAPPER__ -DDM_DEVICE_UID=0 \
		-DDM_DEVICE_GID=0 -DDM_DEVICE_MODE=0600

LIBDM_OBJDIR!=	cd ${LVM2TOOLS_SRCDIR}/lib/libdevmapper && ${PRINTOBJDIR}
LDADD+=		-L${LIBDM_OBJDIR} -ldevmapper
DPADD+=		${LIBDM_OBJDIR}/libdevmapper.a

LDADD+=		-lprop

.PATH:	${LVM2TOOLS_DISTDIR}/tools

.include <bsd.prog.mk>
@


1.2
log
@Merge the haad-dm branch to -current. This branch adds LVM functionality to
the base NetBSD system. It uses Linux LVM2 tools and our BSD licensed
device-mapper driver.

The device-mapper driver can be used to create virtual block devices which
maps virtual blocks to real with target mapping called target. Currently
these targets are available a linear, zero, error and a snapshot (this is
work in progress and doesn't work yet).

The lvm2tools adds lvm and dmsetup binary to based system, where the lvm
tool is used to manage and administer whole LVM and the dmestup is used to
communicate iwith device-mapper kernel driver. With these tools also
a libdevmapper library is instaled to the base system.

Building of tools and driver is currently disable and can be enabled with
MKLVM=yes in mk.conf. I will add sets lists and rc.d script soon.

Oked by agc@@ and cube@@.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.1 2008/12/16 00:41:34 haad Exp $
@


1.1
log
@file Makefile was initially added on branch haad-dm.
@
text
@d1 31
@


1.1.2.1
log
@Add libdevmapper dmsetup to buil in lvm2tools.
@
text
@a0 31
#	$NetBSD$

USE_FORT?=	no
NOLINT=		#defined

.include "../../lvm2tools.mk"

.PATH:  ${LVM2TOOLS_DISTDIR}/man

PROG=		dmsetup

MAN=		dmsetup.8
MLINKS=		dmsetup.8 dmsetup.1

BINDIR=		/sbin

CPPFLAGS+=      -I${LIBDM_SRCDIR}/ -I${LIBDM_SRCDIR}/misc \
		-I. -I${LIBDM_SRCDIR}/ioctl -I${LVM2TOOLS_DISTDIR}/include

CPPFLAGS+=	-D__LIB_DEVMAPPER__ -DDM_DEVICE_UID=0 \
		-DDM_DEVICE_GID=0 -DDM_DEVICE_MODE=0600

LIBDM_OBJDIR!=	cd ${LVM2TOOLS_SRCDIR}/lib/libdevmapper && ${PRINTOBJDIR}
LDADD+=		-L${LIBDM_OBJDIR} -ldevmapper
DPADD+=		${LIBDM_OBJDIR}/libdevmapper.a

LDADD+=		-lprop

.PATH:	${LVM2TOOLS_DISTDIR}/tools

.include <bsd.prog.mk>
@

