Sync usage with man page.
[netbsd-mini2440.git] / external / gpl2 / lvm2 / lib / libdevmapper / Makefile
blobae1cc4defc7512b886656c71bfba937ad7a8a07a
1 # $NetBSD: Makefile,v 1.3 2009/12/01 23:12:51 haad Exp $
3 USE_SHLIBDIR= yes
4 USE_FORT?= no
5 NOLINT= #defined
7 .include "../../lvm2tools.mk"
9 LIB= devmapper
11 CPPFLAGS+= -I${LIBDM_DISTDIR} -I${LIBDM_DISTDIR}/misc -I${LIBDM_DISTDIR}/mm \
12 -I${LIBDM_DISTDIR}/datastruct -I${LIBDM_DISTDIR}/ioctl \
13 -I${LVM2_DISTDIR}/include -I${LIBDM_SRCDIR} -D__NetBSD__
16 CPPFLAGS+= -D__LIB_DEVMAPPER__ -DDM_DEVICE_UID=0 \
17 -DDM_DEVICE_GID=0 -DDM_DEVICE_MODE=0600
19 LDADD+= -lprop
21 SRCS+= bitset.c hash.c list.c libdm-common.c libdm-file.c \
22 libdm-deptree.c libdm-string.c libdm-report.c \
23 dbg_malloc.c pool.c matcher.c parse_rx.c ttree.c \
24 libdm-nbsd-iface.c libdm_netbsd.c
26 .ifdef RUMP_ACTION
27 CPPFLAGS+= -DRUMP_ACTION -DRUMP_SYS_IOCTL -DRUMP_SYS_CLOSE -DRUMP_SYS_OPEN
28 LDADD+= -lrumpdev_disk -lrumpdev_dm -lrumpdev
29 LDADD+= -lrumpvfs -lrump -lrumpuser -lpthread
30 DBG= -g
31 .endif
33 .PATH: ${LIBDM_DISTDIR}/
34 .PATH: ${LIBDM_DISTDIR}/datastruct
35 .PATH: ${LIBDM_DISTDIR}/mm
36 .PATH: ${LIBDM_DISTDIR}/regex
37 .PATH: ${LIBDM_DISTDIR}/ioctl
39 .include <bsd.lib.mk>