12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- always install static library
- --- LVM2.2.02.51.orig/libdm/Makefile.in Wed Apr 8 16:04:35 2009
- +++ LVM2.2.02.51/libdm/Makefile.in Mon Feb 15 23:25:01 2010
- @@ -34,9 +34,9 @@ SOURCES =\
-
- INCLUDES = -I$(interface) -I.
-
- -ifeq ("@STATIC_LINK@", "yes")
- +#ifeq ("@STATIC_LINK@", "yes")
- LIB_STATIC = $(interface)/libdevmapper.a
- -endif
- +#endif
-
- ifeq ("@LIB_SUFFIX@","dylib")
- LIB_SHARED = $(interface)/libdevmapper.dylib
- @@ -59,9 +59,9 @@ device-mapper: all
-
- INSTALL_TYPE = install_dynamic
-
- -ifeq ("@STATIC_LINK@", "yes")
- +#ifeq ("@STATIC_LINK@", "yes")
- INSTALL_TYPE += install_static
- -endif
- +#endif
-
- ifeq ("@PKGCONFIG@", "yes")
- INSTALL_TYPE += install_pkgconfig
- @@ -72,7 +72,8 @@ install: $(INSTALL_TYPE) install_include
- install_device-mapper: install
-
- install_include:
- - $(INSTALL) -D $(OWNER) $(GROUP) -m 444 libdevmapper.h \
- + $(INSTALL) -d $(includedir)
- + $(INSTALL) $(OWNER) $(GROUP) -m 444 libdevmapper.h \
- $(includedir)/libdevmapper.h
-
- install_dynamic: install_@interface@
- @@ -83,15 +84,17 @@ install_static: install_@interface@_static
- $(LN_S) -f libdevmapper.a.$(LIB_VERSION_DM) $(libdir)/libdevmapper.a
-
- install_ioctl: ioctl/libdevmapper.$(LIB_SUFFIX)
- - $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< \
- + $(INSTALL) -d $(libdir)
- + $(INSTALL) $(OWNER) $(GROUP) -m 555 $(STRIP) $< \
- $(libdir)/libdevmapper.$(LIB_SUFFIX).$(LIB_VERSION_DM)
-
- install_pkgconfig:
- - $(INSTALL) -D $(OWNER) $(GROUP) -m 444 libdevmapper.pc \
- + $(INSTALL) -d $(usrlibdir)/pkgconfig
- + $(INSTALL) $(OWNER) $(GROUP) -m 444 libdevmapper.pc \
- $(usrlibdir)/pkgconfig/devmapper.pc
-
- install_ioctl_static: ioctl/libdevmapper.a
- - $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< \
- + $(INSTALL) $(OWNER) $(GROUP) -m 555 $(STRIP) $< \
- $(libdir)/libdevmapper.a.$(LIB_VERSION_DM)
-
- $(VERSIONED_SHLIB): %.$(LIB_SUFFIX).$(LIB_VERSION_DM): $(interface)/%.$(LIB_SUFFIX)
|