]> sourceware.org Git - lvm2.git/blob - lib/Makefile.in
add thin_manip.c like the other manip files
[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.c \
69 format_text/archive.c \
70 format_text/archiver.c \
71 format_text/export.c \
72 format_text/flags.c \
73 format_text/format-text.c \
74 format_text/import.c \
75 format_text/import_vsn1.c \
76 format_text/tags.c \
77 format_text/text_label.c \
78 freeseg/freeseg.c \
79 label/label.c \
80 locking/file_locking.c \
81 locking/locking.c \
82 locking/no_locking.c \
83 log/log.c \
84 metadata/lv.c \
85 metadata/lv_manip.c \
86 metadata/merge.c \
87 metadata/metadata.c \
88 metadata/mirror.c \
89 metadata/pv.c \
90 metadata/pv_manip.c \
91 metadata/pv_map.c \
92 metadata/raid_manip.c \
93 metadata/replicator_manip.c \
94 metadata/segtype.c \
95 metadata/snapshot_manip.c \
96 metadata/thin_manip.c \
97 metadata/vg.c \
98 misc/crc.c \
99 misc/lvm-exec.c \
100 misc/lvm-file.c \
101 misc/lvm-globals.c \
102 misc/lvm-string.c \
103 misc/lvm-wrappers.c \
104 misc/lvm-percent.c \
105 misc/util.c \
106 mm/memlock.c \
107 report/properties.c \
108 report/report.c \
109 striped/striped.c \
110 uuid/uuid.c \
111 zero/zero.c
112
113 ifeq ("@HAVE_REALTIME@", "yes")
114 SOURCES +=\
115 misc/timestamp.c
116 endif
117
118 ifeq ("@LVM1@", "internal")
119 SOURCES +=\
120 format1/disk-rep.c \
121 format1/format1.c \
122 format1/import-export.c \
123 format1/import-extents.c \
124 format1/layout.c \
125 format1/lvm1-label.c \
126 format1/vg_number.c
127 endif
128
129 ifeq ("@POOL@", "internal")
130 SOURCES +=\
131 format_pool/disk_rep.c \
132 format_pool/format_pool.c \
133 format_pool/import_export.c \
134 format_pool/pool_label.c
135 endif
136
137 ifeq ("@CLUSTER@", "internal")
138 SOURCES += locking/cluster_locking.c
139 endif
140
141 ifeq ("@CLUSTER@", "shared")
142 SUBDIRS += locking
143 endif
144
145 ifeq ("@SNAPSHOTS@", "internal")
146 SOURCES += snapshot/snapshot.c
147 endif
148
149 ifeq ("@MIRRORS@", "internal")
150 SOURCES += mirror/mirrored.c
151 endif
152
153 ifeq ("@RAID@", "internal")
154 SOURCES += raid/raid.c
155 endif
156
157 ifeq ("@REPLICATORS@", "internal")
158 SOURCES += replicator/replicator.c
159 endif
160
161 ifeq ("@THIN@", "internal")
162 SOURCES += thin/thin.c
163 endif
164
165 ifeq ("@DEVMAPPER@", "yes")
166 SOURCES +=\
167 activate/dev_manager.c \
168 activate/fs.c
169 endif
170
171 ifeq ("@HAVE_LIBDL@", "yes")
172 SOURCES +=\
173 locking/external_locking.c \
174 misc/sharedlib.c
175 endif
176
177 ifeq ("@DMEVENTD@", "yes")
178 CLDFLAGS += -L$(top_builddir)/daemons/dmeventd
179 LIBS += -ldevmapper-event
180 endif
181
182 LIB_NAME = liblvm-internal
183 LIB_STATIC = $(LIB_NAME).a
184
185 ifeq ($(MAKECMDGOALS),distclean)
186 SUBDIRS =\
187 format1 \
188 format_pool \
189 snapshot \
190 mirror \
191 raid \
192 replicator \
193 thin \
194 locking
195 endif
196
197 CFLOW_LIST = $(SOURCES)
198 CFLOW_LIST_TARGET = $(LIB_NAME).cflow
199
200 include $(top_builddir)/make.tmpl
201
202 $(SUBDIRS): $(LIB_STATIC)
203
204 DISTCLEAN_TARGETS += misc/configure.h misc/lvm-version.h
This page took 0.045873 seconds and 6 git commands to generate.