liblvm: Raise WARNS to 1.
[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 LDADD+=         -lprop -ldevattr
32
33 WARNS?=         1
34
35 .PATH:  ${LVM2_DISTDIR}/lib/
36 .PATH:  ${LVM2_DISTDIR}/lib/activate
37 .PATH:  ${LVM2_DISTDIR}/lib/cache
38 .PATH:  ${LVM2_DISTDIR}/lib/commands
39 .PATH:  ${LVM2_DISTDIR}/lib/config
40 .PATH:  ${LVM2_DISTDIR}/lib/datastruct
41 .PATH:  ${LVM2_DISTDIR}/lib/device
42 .PATH:  ${LVM2_DISTDIR}/lib/display
43 .PATH:  ${LVM2_DISTDIR}/lib/error
44 .PATH:  ${LVM2_DISTDIR}/lib/filters
45 .PATH:  ${LVM2_DISTDIR}/lib/format1
46 .PATH:  ${LVM2_DISTDIR}/lib/format_pool
47 .PATH:  ${LVM2_DISTDIR}/lib/format_text
48 .PATH:  ${LVM2_DISTDIR}/lib/freeseg
49 .PATH:  ${LVM2_DISTDIR}/lib/label
50 .PATH:  ${LVM2_DISTDIR}/lib/locking
51 .PATH:  ${LVM2_DISTDIR}/lib/log
52 .PATH:  ${LVM2_DISTDIR}/lib/metadata
53 .PATH:  ${LVM2_DISTDIR}/lib/mirror
54 .PATH:  ${LVM2_DISTDIR}/lib/misc
55 .PATH:  ${LVM2_DISTDIR}/lib/mm
56 .PATH:  ${LVM2_DISTDIR}/lib/report
57 .PATH:  ${LVM2_DISTDIR}/lib/snapshot
58 .PATH:  ${LVM2_DISTDIR}/lib/striped
59 .PATH:  ${LVM2_DISTDIR}/lib/unknown
60 .PATH:  ${LVM2_DISTDIR}/lib/uuid
61 .PATH:  ${LVM2_DISTDIR}/lib/zero
62 .PATH:  ${LVM2_DISTDIR}/lib/dragonfly
63
64 .include <bsd.lib.mk>