]>
sourceware.org Git - lvm2.git/blob - lib/Makefile.in
2 # Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
3 # Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
5 # This file is part of LVM2.
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.
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
16 top_srcdir
= @top_srcdir@
17 top_builddir
= @top_builddir@
19 INCLUDES
+= -I
$(top_srcdir
)/daemons
/common
-I
$(top_srcdir
)/daemons
/lvmetad
21 ifeq ("@LVM1@", "shared")
25 ifeq ("@POOL@", "shared")
26 SUBDIRS
+= format_pool
29 ifeq ("@SNAPSHOTS@", "shared")
33 ifeq ("@MIRRORS@", "shared")
37 ifeq ("@RAID@", "shared")
41 ifeq ("@REPLICATORS@", "shared")
45 ifeq ("@THIN@", "shared")
53 commands
/toolcontext.c \
56 datastruct
/str_list.c \
66 filters
/filter-composite.c \
67 filters
/filter-persistent.c \
68 filters
/filter-regex.c \
69 filters
/filter-sysfs.c \
71 filters
/filter-mpath.c \
73 format_text
/archive.c \
74 format_text
/archiver.c \
75 format_text
/export.c \
77 format_text
/format-text.c \
78 format_text
/import.c \
79 format_text
/import_vsn1.c \
81 format_text
/text_label.c \
84 locking
/file_locking.c \
86 locking
/no_locking.c \
96 metadata
/raid_manip.c \
97 metadata
/replicator_manip.c \
99 metadata
/snapshot_manip.c \
100 metadata
/thin_manip.c \
107 misc
/lvm-wrappers.c \
111 report
/properties.c \
117 ifeq ("@HAVE_REALTIME@", "yes")
122 ifeq ("@LVM1@", "internal")
126 format1
/import-export.c \
127 format1
/import-extents.c \
129 format1
/lvm1-label.c \
133 ifeq ("@POOL@", "internal")
135 format_pool
/disk_rep.c \
136 format_pool
/format_pool.c \
137 format_pool
/import_export.c \
138 format_pool
/pool_label.c
141 ifeq ("@CLUSTER@", "internal")
142 SOURCES
+= locking
/cluster_locking.c
145 ifeq ("@CLUSTER@", "shared")
149 ifeq ("@SNAPSHOTS@", "internal")
150 SOURCES
+= snapshot
/snapshot.c
153 ifeq ("@MIRRORS@", "internal")
154 SOURCES
+= mirror
/mirrored.c
157 ifeq ("@RAID@", "internal")
158 SOURCES
+= raid
/raid.c
161 ifeq ("@REPLICATORS@", "internal")
162 SOURCES
+= replicator
/replicator.c
165 ifeq ("@THIN@", "internal")
166 SOURCES
+= thin
/thin.c
169 ifeq ("@DEVMAPPER@", "yes")
171 activate
/dev_manager.c \
175 ifeq ("@HAVE_LIBDL@", "yes")
177 locking
/external_locking.c \
181 ifeq ("@DMEVENTD@", "yes")
182 CLDFLAGS
+= -L
$(top_builddir
)/daemons
/dmeventd
183 LIBS
+= -ldevmapper-event
186 LIB_NAME
= liblvm-internal
187 LIB_STATIC
= $(LIB_NAME
).a
189 ifeq ($(MAKECMDGOALS
),distclean)
201 CFLOW_LIST
= $(SOURCES
)
202 CFLOW_LIST_TARGET
= $(LIB_NAME
).cflow
204 include $(top_builddir
)/make.tmpl
206 $(SUBDIRS
): $(LIB_STATIC
)
208 DISTCLEAN_TARGETS
+= misc
/configure.h misc
/lvm-version.h
This page took 0.048613 seconds and 6 git commands to generate.