1
0

patch-libdm_Makefile_in 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --- LVM2.2.02.79.orig/libdm/Makefile.in 2010-08-03 15:00:46.000000000 +0200
  2. +++ LVM2.2.02.79/libdm/Makefile.in 2010-12-26 22:15:11.000000000 +0100
  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,10 +62,7 @@ libdevmapper.$(LIB_SUFFIX) libdevmapper.
  13. install_pkgconfig
  14. INSTALL_TYPE = install_dynamic
  15. -
  16. -ifeq ("@STATIC_LINK@", "yes")
  17. - INSTALL_TYPE += install_static
  18. -endif
  19. +INSTALL_TYPE += install_static
  20. ifeq ("@PKGCONFIG@", "yes")
  21. INSTALL_TYPE += install_pkgconfig
  22. @@ -79,7 +73,8 @@ install: $(INSTALL_TYPE) install_include
  23. install_device-mapper: install
  24. install_include: $(srcdir)/libdevmapper.h
  25. - $(INSTALL_DATA) -D $< $(includedir)/$(<F)
  26. + $(INSTALL_DIR) $(includedir)
  27. + $(INSTALL_DATA) $< $(includedir)/$(<F)
  28. install_dynamic: install_@interface@
  29. @@ -88,10 +83,12 @@ install_static: install_@interface@_stat
  30. install_ioctl: install_lib_shared
  31. install_pkgconfig: libdevmapper.pc
  32. - $(INSTALL_DATA) -D $< $(pkgconfigdir)/devmapper.pc
  33. + $(INSTALL_DIR) $(pkgconfigdir)
  34. + $(INSTALL_DATA) $< $(pkgconfigdir)/devmapper.pc
  35. install_ioctl_static: $(LIB_STATIC)
  36. - $(INSTALL_DATA) -D $< $(usrlibdir)/$(<F)
  37. + $(INSTALL_DIR) $(usrlibdir)
  38. + $(INSTALL_DATA) $< $(usrlibdir)/$(<F)
  39. CLEAN_TARGETS += ioctl/libdevmapper.a
  40. DISTCLEAN_TARGETS += libdevmapper.pc .exported_symbols_generated