1 --- ./make.tmpl.in.orig 2006-07-07 19:57:41.000000000 +0000
2 +++ ./make.tmpl.in 2006-07-07 19:58:24.000000000 +0000
4 SUBDIRS.clean := $(SUBDIRS:=.clean)
5 SUBDIRS.distclean := $(SUBDIRS:=.distclean)
7 -TARGETS += $(LIB_SHARED) $(LIB_STATIC)
8 +TARGETS += $(LIB_STATIC)
10 all: $(SUBDIRS) $(TARGETS)
12 --- ./tools/Makefile.in.orig 2006-04-19 15:33:06.000000000 +0000
13 +++ ./tools/Makefile.in 2006-07-07 21:25:45.000000000 +0000
22 -INSTALL_TARGETS = install_tools_dynamic
23 -INSTALL_CMDLIB_TARGETS = install_cmdlib_dynamic
25 +INSTALL_CMDLIB_TARGETS =
27 ifeq ("@STATIC_LINK@", "yes")
30 CLEAN_TARGETS = liblvm2cmd.so liblvm2cmd.a lvm lvm.static lvm.cflow lvm.xref lvm.tree lvm.rxref lvm.rtree
32 ifeq ("@CMDLIB@", "yes")
33 - TARGETS += liblvm2cmd.so
34 + TARGETS += liblvm2cmd.a
35 INSTALL_TARGETS += $(INSTALL_CMDLIB_TARGETS)
39 $(includedir)/lvm2cmd.h
41 install_cmdlib_static: liblvm2cmd.a
42 - $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) liblvm2cmd.a \
43 + $(INSTALL) -D $(OWNER) $(GROUP) -m 555 liblvm2cmd.a \
44 $(libdir)/liblvm2cmd.a.$(LIB_VERSION)
45 $(LN_S) -f liblvm2cmd.a.$(LIB_VERSION) $(libdir)/liblvm2cmd.a
46 $(INSTALL) -D $(OWNER) $(GROUP) -m 444 lvm2cmd.h \
50 install_tools_static: lvm.static
51 - $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) lvm.static \
52 + $(INSTALL) -D $(OWNER) $(GROUP) -m 555 lvm.static \
53 $(staticdir)/lvm.static
55 install: $(INSTALL_TARGETS)