1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Milan Broz b6deac338f Build shared parts with 'make' command (mpatocka)
When some parts of lvm are built as shared libraries (for example with
--with-snapshots=shared), the 'make' command does not build these parts.
The shared parts are built with 'make install' command.

This bug can be seen if you go to 'lib' subdirectory and type 'make'.
If you type 'make', the shared libraries are not built, if you type
'make all', the shared libraries are built.

The reason for the bug is the line $(SUBDIRS): $(LIB_STATIC)
If make is executed without any arguments, it makes the first target
in the Makefile. If the first target is '$(SUBDIRS): $(LIB_STATIC)',
it only builds static libraries.

This patch moves '$(SUBDIRS): $(LIB_STATIC)' after
include $(top_srcdir)/make.tmpl. make.tmpl contains the 'all' target
as its first target, so 'make' will be equivalent to 'make all' and
shared libraries will be build with 'make' command.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
2009-06-03 11:31:06 +00:00
..
activate Fix readahead calculation problems. 2009-06-01 12:43:31 +00:00
cache Fix pool leak in lvmcache_read_vg error path. 2009-04-24 12:03:55 +00:00
commands Fix error message when archive initialization fails. 2009-04-02 20:46:11 +00:00
config fix some issues when compiling with -D DEBUG_POOL 2009-03-26 09:25:18 +00:00
datastruct more missing bits 2008-11-04 14:57:06 +00:00
device Use readahead of underlying device and not default (smaller) one. 2009-05-20 11:09:49 +00:00
display Merge lv_is_displayable and lv_is_visible. 2009-05-13 21:27:43 +00:00
error Fix last check-ins: seg can be NULL. 2009-02-28 20:04:24 +00:00
filters Add MMC device type to filters. 2009-04-16 10:16:14 +00:00
format1 Merge lv_is_displayable and lv_is_visible. 2009-05-13 21:27:43 +00:00
format_pool Introduce link_lv_to_vg and unlink_lv_from_vg functions. 2009-05-13 21:25:01 +00:00
format_text Use PV UUID in hash for device name when exporting metadata. 2009-05-19 09:48:32 +00:00
freeseg Fix reporting of LV fields alongside unallocated PV segments. 2008-06-25 16:52:27 +00:00
label Provide da and mda locations in debug message when writing text format label. 2009-02-20 23:19:28 +00:00
locking Pre-release cleanups. 2009-05-21 03:04:52 +00:00
log more tweaking to get things to compile - dmlib.h for log fns, list.h 2008-11-03 18:59:59 +00:00
metadata Fix rename of active snapshot with virtual origin. 2009-06-01 15:55:06 +00:00
mirror Fix last check-ins: seg can be NULL. 2009-02-28 20:04:24 +00:00
misc Attempt cleanup in child before execing new binary in exec_cmd() 2009-02-28 00:54:06 +00:00
mm fix setpriority int error 2008-05-28 23:12:45 +00:00
report Pre-release cleanups. 2009-05-21 03:04:52 +00:00
snapshot Fix snapshot segment import to not use duplicate segments & replace. 2009-05-13 21:21:58 +00:00
striped Fix last check-ins: seg can be NULL. 2009-02-28 20:04:24 +00:00
uuid Add generic function to read /dev/urandom, used in uuid calculation. 2008-12-07 04:23:37 +00:00
zero Attempt to load dm-zero module if zero target needed but not present. (mbroz) 2009-05-27 13:05:53 +00:00
Makefile.in Build shared parts with 'make' command (mpatocka) 2009-06-03 11:31:06 +00:00