From 687f9bacd8f0ec561e58814423e5f8ea5dcf946b Mon Sep 17 00:00:00 2001 From: Michael Ow Date: Fri, 24 Oct 2008 19:58:26 +0000 Subject: [PATCH] ICU-6596 Add lines to the Makefile to install lib files along with dll in toolutil. X-SVN-Rev: 24878 --- icu4c/source/tools/toolutil/Makefile.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/icu4c/source/tools/toolutil/Makefile.in b/icu4c/source/tools/toolutil/Makefile.in index 9fe01a08b7..a4d2da4a77 100644 --- a/icu4c/source/tools/toolutil/Makefile.in +++ b/icu4c/source/tools/toolutil/Makefile.in @@ -83,6 +83,9 @@ 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)) @@ -91,6 +94,15 @@ 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: