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