Sync usage with man page.
[netbsd-mini2440.git] / external / gpl2 / lvm2 / sbin / dmsetup / Makefile
blob1a48b268f22002f36ab3c3f2228c0a43b258e1b1
1 # $NetBSD: Makefile,v 1.3 2008/12/22 01:56:22 haad Exp $
3 USE_FORT?= no
4 NOLINT= #defined
6 .include "../../lvm2tools.mk"
8 .PATH: ${LVM2_DISTDIR}/man
10 PROG= dmsetup
12 MAN= dmsetup.8
14 BINDIR= /sbin
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
26 LDADD+= -lprop
28 .PATH: ${LVM2_DISTDIR}/tools
30 .include <bsd.prog.mk>