]>
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 \
48 filters
/filter-composite.c \
49 filters
/filter-persistent.c \
50 filters
/filter-regex.c \
51 filters
/filter-sysfs.c \
54 format_text
/archive.c \
55 format_text
/archiver.c \
56 format_text
/export.c \
58 format_text
/format-text.c \
59 format_text
/import.c \
60 format_text
/import_vsn1.c \
62 format_text
/text_label.c \
65 locking
/file_locking.c \
67 locking
/no_locking.c \
76 metadata
/snapshot_manip.c \
91 ifeq ("@LVM1@", "internal")
95 format1
/import-export.c \
96 format1
/import-extents.c \
98 format1
/lvm1-label.c \
102 ifeq ("@POOL@", "internal")
104 format_pool
/disk_rep.c \
105 format_pool
/format_pool.c \
106 format_pool
/import_export.c \
107 format_pool
/pool_label.c
110 ifeq ("@CLUSTER@", "internal")
111 SOURCES
+= locking
/cluster_locking.c
114 ifeq ("@CLUSTER@", "shared")
118 ifeq ("@SNAPSHOTS@", "internal")
119 SOURCES
+= snapshot
/snapshot.c
122 ifeq ("@MIRRORS@", "internal")
123 SOURCES
+= mirror
/mirrored.c
126 ifeq ("@DEVMAPPER@", "yes")
128 activate
/dev_manager.c \
132 ifeq ("@HAVE_LIBDL@", "yes")
134 locking
/external_locking.c \
138 ifeq ("@DMEVENTD@", "yes")
139 CLDFLAGS
+= -ldevmapper-event
142 LIB_NAME
= liblvm-internal
143 LIB_STATIC
= $(LIB_NAME
).a
145 $(SUBDIRS
): $(LIB_STATIC
)
147 CLEAN_TARGETS
+= $(LIB_NAME
).cflow
149 include $(top_srcdir
)/make.tmpl
151 $(LIB_NAME
).cflow
: $(SOURCES
)
152 set
-e
; (echo
-n
"SOURCES += "; \
154 sed
"s/^/ /;s/ / $(top_srcdir)\/lib\//g;s/$$//"; \
157 cflow
: $(LIB_NAME
).cflow
This page took 0.045655 seconds and 6 git commands to generate.