]> sourceware.org Git - lvm2.git/blob - lib/Makefile.in
Move set_selinux_context into libdevmapper
[lvm2.git] / lib / Makefile.in
1 #
2 # Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
3 # Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved.
4 #
5 # This file is part of the LVM2.
6 #
7 # This copyrighted material is made available to anyone wishing to use,
8 # modify, copy, or redistribute it subject to the terms and conditions
9 # of the GNU General Public License v.2.
10 #
11 # You should have received a copy of the GNU General Public License
12 # along with this program; if not, write to the Free Software Foundation,
13 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
14
15 srcdir = @srcdir@
16 top_srcdir = @top_srcdir@
17 VPATH = @srcdir@
18
19 ifeq ("@LVM1@", "shared")
20 SUBDIRS = format1
21 endif
22
23 ifeq ("@POOL@", "shared")
24 SUBDIRS += format_pool
25 endif
26
27 ifeq ("@SNAPSHOTS@", "shared")
28 SUBDIRS += snapshot
29 endif
30
31 ifeq ("@MIRRORS@", "shared")
32 SUBDIRS += mirror
33 endif
34
35 SOURCES =\
36 activate/activate.c \
37 cache/lvmcache.c \
38 commands/toolcontext.c \
39 config/config.c \
40 datastruct/btree.c \
41 datastruct/str_list.c \
42 device/dev-cache.c \
43 device/dev-io.c \
44 device/dev-md.c \
45 device/device.c \
46 display/display.c \
47 error/errseg.c \
48 filters/filter-composite.c \
49 filters/filter-persistent.c \
50 filters/filter-regex.c \
51 filters/filter-sysfs.c \
52 filters/filter-md.c \
53 filters/filter.c \
54 format_text/archive.c \
55 format_text/archiver.c \
56 format_text/export.c \
57 format_text/flags.c \
58 format_text/format-text.c \
59 format_text/import.c \
60 format_text/import_vsn1.c \
61 format_text/tags.c \
62 format_text/text_label.c \
63 label/label.c \
64 locking/file_locking.c \
65 locking/locking.c \
66 locking/no_locking.c \
67 log/log.c \
68 metadata/lv_manip.c \
69 metadata/merge.c \
70 metadata/metadata.c \
71 metadata/mirror.c \
72 metadata/pv_manip.c \
73 metadata/pv_map.c \
74 metadata/segtype.c \
75 metadata/snapshot_manip.c \
76 misc/crc.c \
77 misc/lvm-exec.c \
78 misc/lvm-file.c \
79 misc/lvm-string.c \
80 mm/memlock.c \
81 regex/matcher.c \
82 regex/parse_rx.c \
83 regex/ttree.c \
84 report/report.c \
85 striped/striped.c \
86 uuid/uuid.c \
87 zero/zero.c
88
89 ifeq ("@LVM1@", "internal")
90 SOURCES +=\
91 format1/disk-rep.c \
92 format1/format1.c \
93 format1/import-export.c \
94 format1/import-extents.c \
95 format1/layout.c \
96 format1/lvm1-label.c \
97 format1/vg_number.c
98 endif
99
100 ifeq ("@POOL@", "internal")
101 SOURCES +=\
102 format_pool/disk_rep.c \
103 format_pool/format_pool.c \
104 format_pool/import_export.c \
105 format_pool/pool_label.c
106 endif
107
108 ifeq ("@CLUSTER@", "internal")
109 SOURCES += locking/cluster_locking.c
110 endif
111
112 ifeq ("@CLUSTER@", "shared")
113 SUBDIRS += locking
114 endif
115
116 ifeq ("@SNAPSHOTS@", "internal")
117 SOURCES += snapshot/snapshot.c
118 endif
119
120 ifeq ("@MIRRORS@", "internal")
121 SOURCES += mirror/mirrored.c
122 endif
123
124 ifeq ("@DEVMAPPER@", "yes")
125 SOURCES +=\
126 activate/dev_manager.c \
127 activate/fs.c
128 endif
129
130 ifeq ("@HAVE_LIBDL@", "yes")
131 SOURCES +=\
132 locking/external_locking.c \
133 misc/sharedlib.c
134 endif
135
136 LIB_STATIC = liblvm.a
137
138 $(SUBDIRS): $(LIB_STATIC)
139
140 include $(top_srcdir)/make.tmpl
141
This page took 0.04449 seconds and 6 git commands to generate.