]>
sourceware.org Git - lvm2.git/blob - lib/Makefile.in
2 # Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
3 # Copyright (C) 2004-2009 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@
19 ifeq ("@LVM1@", "shared")
23 ifeq ("@POOL@", "shared")
24 SUBDIRS
+= format_pool
27 ifeq ("@SNAPSHOTS@", "shared")
31 ifeq ("@MIRRORS@", "shared")
38 commands
/toolcontext.c \
41 datastruct
/str_list.c \
49 filters
/filter-composite.c \
50 filters
/filter-persistent.c \
51 filters
/filter-regex.c \
52 filters
/filter-sysfs.c \
55 format_text
/archive.c \
56 format_text
/archiver.c \
57 format_text
/export.c \
59 format_text
/format-text.c \
60 format_text
/import.c \
61 format_text
/import_vsn1.c \
63 format_text
/text_label.c \
66 locking
/file_locking.c \
68 locking
/no_locking.c \
77 metadata
/snapshot_manip.c \
92 ifeq ("@LVM1@", "internal")
96 format1
/import-export.c \
97 format1
/import-extents.c \
99 format1
/lvm1-label.c \
103 ifeq ("@POOL@", "internal")
105 format_pool
/disk_rep.c \
106 format_pool
/format_pool.c \
107 format_pool
/import_export.c \
108 format_pool
/pool_label.c
111 ifeq ("@CLUSTER@", "internal")
112 SOURCES
+= locking
/cluster_locking.c
115 ifeq ("@CLUSTER@", "shared")
119 ifeq ("@SNAPSHOTS@", "internal")
120 SOURCES
+= snapshot
/snapshot.c
123 ifeq ("@MIRRORS@", "internal")
124 SOURCES
+= mirror
/mirrored.c
127 ifeq ("@DEVMAPPER@", "yes")
129 activate
/dev_manager.c \
133 ifeq ("@HAVE_LIBDL@", "yes")
135 locking
/external_locking.c \
139 ifeq ("@DMEVENTD@", "yes")
140 CLDFLAGS
+= -ldevmapper-event
143 LIB_NAME
= liblvm-internal
144 LIB_STATIC
= $(LIB_NAME
).a
146 $(SUBDIRS
): $(LIB_STATIC
)
148 CLEAN_TARGETS
+= $(LIB_NAME
).cflow
150 include $(top_srcdir
)/make.tmpl
152 $(LIB_NAME
).cflow
: $(SOURCES
)
153 set
-e
; (echo
-n
"SOURCES += "; \
155 sed
"s/^/ /;s/ / $(top_srcdir)\/lib\//g;s/$$//"; \
158 cflow
: $(LIB_NAME
).cflow
This page took 0.044053 seconds and 6 git commands to generate.