]>
sourceware.org Git - lvm2.git/blob - lib/Makefile.in
2 # Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
3 # Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved.
5 # This file is part of the 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 \
42 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 \
65 locking
/file_locking.c \
67 locking
/no_locking.c \
76 metadata
/snapshot_manip.c \
90 ifeq ("@LVM1@", "internal")
94 format1
/import-export.c \
95 format1
/import-extents.c \
97 format1
/lvm1-label.c \
101 ifeq ("@POOL@", "internal")
103 format_pool
/disk_rep.c \
104 format_pool
/format_pool.c \
105 format_pool
/import_export.c \
106 format_pool
/pool_label.c
109 ifeq ("@CLUSTER@", "internal")
110 SOURCES
+= locking
/cluster_locking.c
113 ifeq ("@CLUSTER@", "shared")
117 ifeq ("@SNAPSHOTS@", "internal")
118 SOURCES
+= snapshot
/snapshot.c
121 ifeq ("@MIRRORS@", "internal")
122 SOURCES
+= mirror
/mirrored.c
125 ifeq ("@DEVMAPPER@", "yes")
127 activate
/dev_manager.c \
131 ifeq ("@HAVE_LIBDL@", "yes")
133 locking
/external_locking.c \
137 ifeq ("@DMEVENTD@", "yes")
138 CLDFLAGS
+= -ldevmapper-event
141 LIB_STATIC
= liblvm.a
143 $(SUBDIRS
): $(LIB_STATIC
)
145 CLEAN_TARGETS
+= liblvm.cflow
147 include $(top_srcdir
)/make.tmpl
149 liblvm.cflow
: $(SOURCES
)
150 set
-e
; (echo
-n
"SOURCES += "; \
152 sed
"s/^/ /;s/ / $(top_srcdir)\/lib\//g;s/$$//"; \
This page took 0.044235 seconds and 6 git commands to generate.