lvm2tools.mk revision 1.4
1# $NetBSD: lvm2tools.mk,v 1.4 2011/03/04 22:48:29 matt Exp $ 2 3.include <bsd.own.mk> 4 5LVM2_SRCDIR= ${NETBSDSRCDIR}/external/gpl2/lvm2 6LVM2_DISTDIR= ${NETBSDSRCDIR}/external/gpl2/lvm2/dist 7 8LIBDEVMAPPER_SRCDIR= ${LVM2_SRCDIR}/lib/libdevmapper 9LIBDEVMAPPER_DISTDIR= ${LVM2_DISTDIR}/libdm 10LIBDEVMAPPER_INCLUDE= ${LVM2_DISTDIR}/include 11 12LIBDM_SRCDIR= ${NETBSDSRCDIR}/lib/libdm 13 14# root:operator [cb]rw-r----- 15CPPFLAGS+=-DDM_DEVICE_UID=0 -DDM_DEVICE_GID=5 -DDM_DEVICE_MODE=0640 \ 16 -DDM_CONTROL_DEVICE_MODE=0660 -DLVM_LOCKDIR_MODE=0770 17 18# 19#LIBDEVMAPPER_OBJDIR.libdevmapper=${LIBDEVMAPPER_SRCDIR}/lib/libdevmapper/ 20# 21#.if !defined(LVM2OBJDIR.liblvm) 22#LVM2OBJDIR.liblvm!= cd ${LVM2_SRCDIR}/lib/liblvm && ${PRINTOBJDIR} 23#.MAKEOVERRIDES+= LVM2OBJDIR.liblvm 24#.endif 25# 26#LVM2.liblvm= ${LVM2OBJDIR.liblvm}/liblvm.a 27