1 # $NetBSD: Makefile,v 1.3 2008/12/22 01:56:22 haad Exp $
6 .
include "../../lvm2tools.mk"
8 .PATH
: ${LVM2_DISTDIR}/man
16 CPPFLAGS
+= -I
${LIBDM_DISTDIR}/ -I
${LIBDM_DISTDIR}/misc \
17 -I.
-I
${LIBDM_DISTDIR}/ioctl
-I
${LVM2_DISTDIR}/include
19 CPPFLAGS
+= -D__LIB_DEVMAPPER__
-DDM_DEVICE_UID
=0 \
20 -DDM_DEVICE_GID
=0 -DDM_DEVICE_MODE
=0600
22 LIBDM_OBJDIR
!= cd
${LIBDM_SRCDIR} && ${PRINTOBJDIR}
23 LDADD
+= -L
${LIBDM_OBJDIR} -ldevmapper
24 DPADD
+= ${LIBDM_OBJDIR}/libdevmapper.a
28 .PATH
: ${LVM2_DISTDIR}/tools
30 .
include <bsd.prog.mk
>