]> sourceware.org Git - lvm2.git/blob - lib/Makefile.in
Add properties.[ch] to lib/report, defined based on columns.h.
[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/properties.c \
94 report/report.c \
95 striped/striped.c \
96 uuid/uuid.c \
97 zero/zero.c
98
99 ifeq ("@HAVE_REALTIME@", "yes")
100 SOURCES +=\
101 misc/timestamp.c
102 endif
103
104 ifeq ("@LVM1@", "internal")
105 SOURCES +=\
106 format1/disk-rep.c \
107 format1/format1.c \
108 format1/import-export.c \
109 format1/import-extents.c \
110 format1/layout.c \
111 format1/lvm1-label.c \
112 format1/vg_number.c
113 endif
114
115 ifeq ("@POOL@", "internal")
116 SOURCES +=\
117 format_pool/disk_rep.c \
118 format_pool/format_pool.c \
119 format_pool/import_export.c \
120 format_pool/pool_label.c
121 endif
122
123 ifeq ("@CLUSTER@", "internal")
124 SOURCES += locking/cluster_locking.c
125 endif
126
127 ifeq ("@CLUSTER@", "shared")
128 SUBDIRS += locking
129 endif
130
131 ifeq ("@SNAPSHOTS@", "internal")
132 SOURCES += snapshot/snapshot.c
133 endif
134
135 ifeq ("@MIRRORS@", "internal")
136 SOURCES += mirror/mirrored.c
137 endif
138
139 ifeq ("@REPLICATORS@", "internal")
140 SOURCES += replicator/replicator.c
141 endif
142
143 ifeq ("@DEVMAPPER@", "yes")
144 SOURCES +=\
145 activate/dev_manager.c \
146 activate/fs.c
147 endif
148
149 ifeq ("@HAVE_LIBDL@", "yes")
150 SOURCES +=\
151 locking/external_locking.c \
152 misc/sharedlib.c
153 endif
154
155 ifeq ("@DMEVENTD@", "yes")
156 CLDFLAGS += -L$(top_builddir)/daemons/dmeventd
157 LIBS += -ldevmapper-event
158 endif
159
160 LIB_NAME = liblvm-internal
161 LIB_STATIC = $(LIB_NAME).a
162
163 ifeq ($(MAKECMDGOALS),distclean)
164 SUBDIRS =\
165 format1 \
166 format_pool \
167 snapshot \
168 mirror \
169 replicator \
170 locking
171 endif
172
173 CFLOW_LIST = $(SOURCES)
174 CFLOW_LIST_TARGET = $(LIB_NAME).cflow
175
176 include $(top_builddir)/make.tmpl
177
178 $(SUBDIRS): $(LIB_STATIC)
179
180 DISTCLEAN_TARGETS += misc/configure.h misc/lvm-version.h
This page took 0.045073 seconds and 6 git commands to generate.