32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
--- icu/source/tools/ctestfw/Makefile.in
|
|
+++ icu/source/tools/ctestfw/Makefile.in
|
|
@@ -79,6 +79,28 @@
|
|
install-local: install-library
|
|
|
|
install-library: all-local
|
|
+ $(MKINSTALLDIRS) $(DESTDIR)$(libdir)
|
|
+ifneq ($(ENABLE_STATIC),)
|
|
+ $(INSTALL-L) $(TARGET) $(DESTDIR)$(libdir)
|
|
+endif
|
|
+ifneq ($(ENABLE_SHARED),)
|
|
+ $(INSTALL-L) $(FINAL_SO_TARGET) $(DESTDIR)$(libdir)
|
|
+ifneq ($(FINAL_SO_TARGET),$(SO_TARGET))
|
|
+ cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(SO_TARGET))
|
|
+ifneq ($(FINAL_SO_TARGET),$(MIDDLE_SO_TARGET))
|
|
+ cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(MIDDLE_SO_TARGET))
|
|
+endif
|
|
+endif
|
|
+ifneq ($(IMPORT_LIB_EXT),)
|
|
+ $(INSTALL-L) $(FINAL_IMPORT_LIB) $(DESTDIR)$(libdir)
|
|
+ifneq ($(IMPORT_LIB),$(FINAL_IMPORT_LIB))
|
|
+ cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(IMPORT_LIB))
|
|
+endif
|
|
+ifneq ($(MIDDLE_IMPORT_LIB),$(FINAL_IMPORT_LIB))
|
|
+ cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(MIDDLE_IMPORT_LIB))
|
|
+endif
|
|
+endif
|
|
+endif
|
|
|
|
dist-local:
|
|
|