patch-libdm_Makefile_in 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. --- LVM2.2.02.72.orig/libdm/Makefile.in Fri Jun 25 20:17:39 2010
  2. +++ LVM2.2.02.72/libdm/Makefile.in Fri Jul 30 10:34:15 2010
  3. @@ -34,10 +34,7 @@ SOURCES =\
  4. INCLUDES = -I$(srcdir)/$(interface) -I$(srcdir)
  5. -ifeq ("@STATIC_LINK@", "yes")
  6. LIB_STATIC = $(interface)/libdevmapper.a
  7. -endif
  8. -
  9. LIB_SHARED = $(interface)/libdevmapper.$(LIB_SUFFIX)
  10. LIB_VERSION = $(LIB_VERSION_DM)
  11. TARGETS += libdevmapper.$(LIB_SUFFIX) libdevmapper.$(LIB_SUFFIX).$(LIB_VERSION)
  12. @@ -65,11 +62,8 @@ libdevmapper.$(LIB_SUFFIX) libdevmapper.$(LIB_SUFFIX).
  13. install_pkgconfig
  14. INSTALL_TYPE = install_dynamic
  15. +INSTALL_TYPE += install_static
  16. -ifeq ("@STATIC_LINK@", "yes")
  17. - INSTALL_TYPE += install_static
  18. -endif
  19. -
  20. ifeq ("@PKGCONFIG@", "yes")
  21. INSTALL_TYPE += install_pkgconfig
  22. endif
  23. @@ -79,7 +73,8 @@ install: $(INSTALL_TYPE) install_include
  24. install_device-mapper: install
  25. install_include: $(srcdir)/libdevmapper.h
  26. - $(INSTALL_DATA) -D $< $(includedir)/$(<F)
  27. + $(INSTALL_DIR) $(includedir)
  28. + $(INSTALL_DATA) $< $(includedir)/$(<F)
  29. install_dynamic: install_@interface@
  30. @@ -88,10 +83,12 @@ install_static: install_@interface@_static
  31. install_ioctl: install_lib_shared
  32. install_pkgconfig: libdevmapper.pc
  33. - $(INSTALL_DATA) -D $< $(pkgconfigdir)/devmapper.pc
  34. + $(INSTALL_DIR) $(pkgconfigdir)
  35. + $(INSTALL_DATA) $< $(pkgconfigdir)/devmapper.pc
  36. install_ioctl_static: $(LIB_STATIC)
  37. - $(INSTALL_DATA) -D $< $(usrlibdir)/$(<F)
  38. + $(INSTALL_DIR) $(usrlibdir)
  39. + $(INSTALL_DATA) $< $(usrlibdir)/$(<F)
  40. CLEAN_TARGETS += ioctl/libdevmapper.a
  41. DISTCLEAN_TARGETS += libdevmapper.pc