03c7651006c34681cecb69ff247c3499b7a1b832
[dragonfly.git] / gnu / lib / liblvm / Makefile
1 #       $NetBSD: Makefile,v 1.4 2009/12/02 01:54:20 haad Exp $
2
3 LVM2_DIR=       ${.CURDIR}/../../../contrib/lvm2
4
5 LIB=            lvm
6 SHLIB_MAJOR?=   0
7
8 LVM2_DISTDIR=   ${LVM2_DIR}/dist
9
10 CFLAGS+=        -D_XOPEN_SOURCE=600
11 CFLAGS+=        -I${LVM2_DISTDIR}/include
12
13 SRCS+=          activate.c lvmcache.c toolcontext.c config.c btree.c \
14                 str_list.c dev-cache.c dev-io.c dev-md.c device.c dev-swap.c \
15                 display.c errseg.c filter-composite.c \
16                 filter-persistent.c \
17                 filter-regex.c filter-sysfs.c filter-md.c archive.c \
18                 archiver.c export.c flags.c format-text.c import.c \
19                 import_vsn1.c tags.c text_label.c freeseg.c label.c \
20                 file_locking.c locking.c no_locking.c log.c lv_manip.c \
21                 merge.c metadata.c mirror.c pv_manip.c pv_map.c segtype.c \
22                 snapshot_manip.c crc.c lvm-exec.c lvm-file.c lvm-string.c \
23                 lvm-wrappers.c timestamp.c util.c memlock.c report.c \
24                 striped.c unknown.c uuid.c zero.c disk-rep.c format1.c \
25                 import-export.c \
26                 import-extents.c layout.c lvm1-label.c vg_number.c \
27                 disk_rep.c format_pool.c import_export.c pool_label.c \
28                 filter_dragonfly.c snapshot.c mirrored.c dev_manager.c fs.c \
29                 lvm-globals.c dev.c
30
31 WARNS?=         1
32
33 .PATH:  ${LVM2_DISTDIR}/lib/
34 .PATH:  ${LVM2_DISTDIR}/lib/activate
35 .PATH:  ${LVM2_DISTDIR}/lib/cache
36 .PATH:  ${LVM2_DISTDIR}/lib/commands
37 .PATH:  ${LVM2_DISTDIR}/lib/config
38 .PATH:  ${LVM2_DISTDIR}/lib/datastruct
39 .PATH:  ${LVM2_DISTDIR}/lib/device
40 .PATH:  ${LVM2_DISTDIR}/lib/display
41 .PATH:  ${LVM2_DISTDIR}/lib/error
42 .PATH:  ${LVM2_DISTDIR}/lib/filters
43 .PATH:  ${LVM2_DISTDIR}/lib/format1
44 .PATH:  ${LVM2_DISTDIR}/lib/format_pool
45 .PATH:  ${LVM2_DISTDIR}/lib/format_text
46 .PATH:  ${LVM2_DISTDIR}/lib/freeseg
47 .PATH:  ${LVM2_DISTDIR}/lib/label
48 .PATH:  ${LVM2_DISTDIR}/lib/locking
49 .PATH:  ${LVM2_DISTDIR}/lib/log
50 .PATH:  ${LVM2_DISTDIR}/lib/metadata
51 .PATH:  ${LVM2_DISTDIR}/lib/mirror
52 .PATH:  ${LVM2_DISTDIR}/lib/misc
53 .PATH:  ${LVM2_DISTDIR}/lib/mm
54 .PATH:  ${LVM2_DISTDIR}/lib/report
55 .PATH:  ${LVM2_DISTDIR}/lib/snapshot
56 .PATH:  ${LVM2_DISTDIR}/lib/striped
57 .PATH:  ${LVM2_DISTDIR}/lib/unknown
58 .PATH:  ${LVM2_DISTDIR}/lib/uuid
59 .PATH:  ${LVM2_DISTDIR}/lib/zero
60 .PATH:  ${LVM2_DISTDIR}/lib/dragonfly
61
62 .include <bsd.lib.mk>