]> sourceware.org Git - lvm2.git/blob - lib/Makefile.in
Reflect new file locations, include file updates etc.
[lvm2.git] / lib / Makefile.in
1 #
2 # Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
3 # Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
4 #
5 # This file is part of 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 top_builddir = @top_builddir@
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 ifeq ("@RAID@", "shared")
36 SUBDIRS += raid
37 endif
38
39 ifeq ("@REPLICATORS@", "shared")
40 SUBDIRS += replicator
41 endif
42
43 ifeq ("@THIN@", "shared")
44 SUBDIRS += thin
45 endif
46
47 SOURCES =\
48 activate/activate.c \
49 cache/lvmcache.c \
50 commands/toolcontext.c \
51 config/config.c \
52 datastruct/btree.c \
53 datastruct/str_list.c \
54 device/dev-cache.c \
55 device/dev-io.c \
56 device/dev-md.c \
57 device/dev-swap.c \
58 device/dev-luks.c \
59 device/device.c \
60 display/display.c \
61 error/errseg.c \
62 unknown/unknown.c \
63 filters/filter-composite.c \
64 filters/filter-persistent.c \
65 filters/filter-regex.c \
66 filters/filter-sysfs.c \
67 filters/filter-md.c \
68 filters/filter-mpath.c \
69 filters/filter.c \
70 format_text/archive.c \
71 format_text/archiver.c \
72 format_text/export.c \
73 format_text/flags.c \
74 format_text/format-text.c \
75 format_text/import.c \
76 format_text/import_vsn1.c \
77 format_text/tags.c \
78 format_text/text_label.c \
79 freeseg/freeseg.c \
80 label/label.c \
81 locking/file_locking.c \
82 locking/locking.c \
83 locking/no_locking.c \
84 log/log.c \
85 metadata/lv.c \
86 metadata/lv_manip.c \
87 metadata/merge.c \
88 metadata/metadata.c \
89 metadata/mirror.c \
90 metadata/pv.c \
91 metadata/pv_manip.c \
92 metadata/pv_map.c \
93 metadata/raid_manip.c \
94 metadata/replicator_manip.c \
95 metadata/segtype.c \
96 metadata/snapshot_manip.c \
97 metadata/thin_manip.c \
98 metadata/vg.c \
99 misc/crc.c \
100 misc/lvm-exec.c \
101 misc/lvm-file.c \
102 misc/lvm-globals.c \
103 misc/lvm-string.c \
104 misc/lvm-wrappers.c \
105 misc/lvm-percent.c \
106 misc/util.c \
107 mm/memlock.c \
108 report/properties.c \
109 report/report.c \
110 striped/striped.c \
111 uuid/uuid.c \
112 zero/zero.c
113
114 ifeq ("@HAVE_REALTIME@", "yes")
115 SOURCES +=\
116 misc/timestamp.c
117 endif
118
119 ifeq ("@LVM1@", "internal")
120 SOURCES +=\
121 format1/disk-rep.c \
122 format1/format1.c \
123 format1/import-export.c \
124 format1/import-extents.c \
125 format1/layout.c \
126 format1/lvm1-label.c \
127 format1/vg_number.c
128 endif
129
130 ifeq ("@POOL@", "internal")
131 SOURCES +=\
132 format_pool/disk_rep.c \
133 format_pool/format_pool.c \
134 format_pool/import_export.c \
135 format_pool/pool_label.c
136 endif
137
138 ifeq ("@CLUSTER@", "internal")
139 SOURCES += locking/cluster_locking.c
140 endif
141
142 ifeq ("@CLUSTER@", "shared")
143 SUBDIRS += locking
144 endif
145
146 ifeq ("@SNAPSHOTS@", "internal")
147 SOURCES += snapshot/snapshot.c
148 endif
149
150 ifeq ("@MIRRORS@", "internal")
151 SOURCES += mirror/mirrored.c
152 endif
153
154 ifeq ("@RAID@", "internal")
155 SOURCES += raid/raid.c
156 endif
157
158 ifeq ("@REPLICATORS@", "internal")
159 SOURCES += replicator/replicator.c
160 endif
161
162 ifeq ("@THIN@", "internal")
163 SOURCES += thin/thin.c
164 endif
165
166 ifeq ("@DEVMAPPER@", "yes")
167 SOURCES +=\
168 activate/dev_manager.c \
169 activate/fs.c
170 endif
171
172 ifeq ("@HAVE_LIBDL@", "yes")
173 SOURCES +=\
174 locking/external_locking.c \
175 misc/sharedlib.c
176 endif
177
178 ifeq ("@BUILD_LVMETAD@", "yes")
179 SOURCES +=\
180 cache/lvmetad.c
181 endif
182
183 ifeq ("@DMEVENTD@", "yes")
184 CLDFLAGS += -L$(top_builddir)/daemons/dmeventd
185 LIBS += -ldevmapper-event
186 endif
187
188 LIB_NAME = liblvm-internal
189 LIB_STATIC = $(LIB_NAME).a
190
191 ifeq ($(MAKECMDGOALS),distclean)
192 SUBDIRS =\
193 format1 \
194 format_pool \
195 snapshot \
196 mirror \
197 raid \
198 replicator \
199 thin \
200 locking
201 endif
202
203 CFLOW_LIST = $(SOURCES)
204 CFLOW_LIST_TARGET = $(LIB_NAME).cflow
205
206 include $(top_builddir)/make.tmpl
207
208 $(SUBDIRS): $(LIB_STATIC)
209
210 DISTCLEAN_TARGETS += misc/configure.h misc/lvm-version.h
This page took 0.049395 seconds and 5 git commands to generate.