]> sourceware.org Git - lvm2.git/blob - lib/Makefile.in
Tidy various pre-processing incl. making libdl optional.
[lvm2.git] / lib / Makefile.in
1 #
2 # Copyright (C) 2001 Sistina Software (UK) Limited
3 #
4 # This file is released under the GPL.
5 #
6
7 srcdir = @srcdir@
8 top_srcdir = @top_srcdir@
9 VPATH = @srcdir@
10
11 ifeq ("@LVM1@", "shared")
12 SUBDIRS = format1
13 endif
14
15 SOURCES=\
16 activate/activate.c \
17 cache/cache.c \
18 commands/toolcontext.c \
19 config/config.c \
20 datastruct/bitset.c \
21 datastruct/btree.c \
22 datastruct/hash.c \
23 device/dev-cache.c \
24 device/dev-io.c \
25 device/device.c \
26 display/display.c \
27 filters/filter-composite.c \
28 filters/filter-persistent.c \
29 filters/filter-regex.c \
30 filters/filter.c \
31 format_text/archive.c \
32 format_text/export.c \
33 format_text/flags.c \
34 format_text/format-text.c \
35 format_text/import.c \
36 format_text/import_vsn1.c \
37 format_text/text_label.c \
38 label/label.c \
39 locking/file_locking.c \
40 locking/locking.c \
41 locking/no_locking.c \
42 log/log.c \
43 metadata/lv_manip.c \
44 metadata/merge.c \
45 metadata/metadata.c \
46 metadata/pv_map.c \
47 metadata/snapshot_manip.c \
48 misc/crc.c \
49 misc/lvm-file.c \
50 misc/lvm-string.c \
51 misc/sharedlib.c \
52 mm/pool.c \
53 regex/matcher.c \
54 regex/parse_rx.c \
55 regex/ttree.c \
56 report/report.c \
57 uuid/uuid.c
58
59 ifeq ("@LVM1@", "internal")
60 SOURCES+=\
61 format1/disk-rep.c \
62 format1/format1.c \
63 format1/import-export.c \
64 format1/import-extents.c \
65 format1/layout.c \
66 format1/lvm1-label.c \
67 format1/vg_number.c
68 endif
69
70 ifeq ("@DEBUG@", "yes")
71 SOURCES+=\
72 mm/dbg_malloc.c
73 endif
74
75 ifeq ("@DEVMAPPER@", "yes")
76 SOURCES+=\
77 activate/dev_manager.c \
78 activate/fs.c
79 endif
80
81 ifeq ("@HAVE_LIBDL@", "yes")
82 SOURCES+=\
83 locking/external_locking.c
84 endif
85
86 TARGETS=liblvm.a
87
88 include ../make.tmpl
89
90 liblvm.a: $(OBJECTS)
91 $(RM) $@
92 $(AR) r $@ $(OBJECTS)
93 $(RANLIB) $@
94
This page took 0.042468 seconds and 6 git commands to generate.