From 89a842b5d8ef36c420e63d3ed9b9ce71b53f73cf Mon Sep 17 00:00:00 2001 From: John Emmons Date: Thu, 8 Sep 2005 18:28:48 +0000 Subject: [PATCH] ICU-4738 Build archive libraries for AIX X-SVN-Rev: 18508 --- icu4c/source/io/Makefile.in | 5 +++-- icu4c/source/layout/Makefile.in | 5 +++-- icu4c/source/layoutex/Makefile.in | 7 ++++--- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/icu4c/source/io/Makefile.in b/icu4c/source/io/Makefile.in index 5f7a42aa1d..ecb794390e 100644 --- a/icu4c/source/io/Makefile.in +++ b/icu4c/source/io/Makefile.in @@ -1,6 +1,6 @@ #****************************************************************************** # -# Copyright (C) 1999-2004, International Business Machines +# Copyright (C) 1999-2005, International Business Machines # Corporation and others. All Rights Reserved. # #****************************************************************************** @@ -32,6 +32,7 @@ endif ifneq ($(ENABLE_SHARED),) SO_TARGET = $(LIBDIR)/$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(SO) +SHARED_OBJECT = $(FINAL_SO_TARGET:.$(SO)=.$(SOBJ)) ALL_SO_TARGETS = $(SO_TARGET) $(MIDDLE_SO_TARGET) $(FINAL_SO_TARGET) ifeq ($(ENABLE_SO_VERSION_DATA),1) @@ -138,7 +139,7 @@ $(TARGET): $(TARGET)($(STATIC_OBJECTS)) endif ifneq ($(ENABLE_SHARED),) -$(FINAL_SO_TARGET): $(OBJECTS) $(SO_VERSION_DATA) +$(SHARED_OBJECT): $(OBJECTS) $(SO_VERSION_DATA) $(SHLIB.cc) $(LD_SONAME) $(OUTOPT)$@ $^ $(LIBS) ifeq ($(OS390BATCH),1) diff --git a/icu4c/source/layout/Makefile.in b/icu4c/source/layout/Makefile.in index ebdc9cc1f0..4f118e6a62 100644 --- a/icu4c/source/layout/Makefile.in +++ b/icu4c/source/layout/Makefile.in @@ -26,7 +26,8 @@ endif ifneq ($(ENABLE_SHARED),) SO_TARGET = $(LIBDIR)/$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(SO) -ALL_SO_TARGETS = $(SO_TARGET) $(MIDDLE_SO_TARGET) $(FINAL_SO_TARGET) +SHARED_OBJECT = $(FINAL_SO_TARGET:.$(SO)=.$(SOBJ)) +ALL_SO_TARGETS = $(SO_TARGET) $(MIDDLE_SO_TARGET) $(FINAL_SO_TARGET) $(SHARED_OBJECT) ifeq ($(ENABLE_SO_VERSION_DATA),1) SO_VERSION_DATA = layout.res @@ -203,7 +204,7 @@ $(TARGET): $(TARGET)($(STATIC_OBJECTS)) endif ifneq ($(ENABLE_SHARED),) -$(FINAL_SO_TARGET): $(OBJECTS) $(SO_VERSION_DATA) +$(SHARED_OBJECT): $(OBJECTS) $(SO_VERSION_DATA) $(SHLIB.cc) $(LD_SONAME) $(OUTOPT)$@ $^ $(LIBS) ifeq ($(OS390BATCH),1) diff --git a/icu4c/source/layoutex/Makefile.in b/icu4c/source/layoutex/Makefile.in index 5f8c6faa8c..91fe5ac319 100644 --- a/icu4c/source/layoutex/Makefile.in +++ b/icu4c/source/layoutex/Makefile.in @@ -1,4 +1,4 @@ -## Copyright (c) 1999-2004, International Business Machines Corporation and +## Copyright (c) 1999-2005, International Business Machines Corporation and ## others. All Rights Reserved. ## Makefile.in for ICU - layout @@ -26,7 +26,8 @@ endif ifneq ($(ENABLE_SHARED),) SO_TARGET = $(LIBDIR)/$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(SO) -ALL_SO_TARGETS = $(SO_TARGET) $(MIDDLE_SO_TARGET) $(FINAL_SO_TARGET) +SHARED_OBJECT = $(FINAL_SO_TARGET:.$(SO)=.$(SOBJ)) +ALL_SO_TARGETS = $(SO_TARGET) $(MIDDLE_SO_TARGET) $(FINAL_SO_TARGET) $(SHARED_OBJECT) ifeq ($(ENABLE_SO_VERSION_DATA),1) SO_VERSION_DATA = layoutex.res @@ -134,7 +135,7 @@ $(TARGET): $(TARGET)($(STATIC_OBJECTS)) endif ifneq ($(ENABLE_SHARED),) -$(FINAL_SO_TARGET): $(OBJECTS) $(SO_VERSION_DATA) +$(SHARED_OBJECT): $(OBJECTS) $(SO_VERSION_DATA) $(SHLIB.cc) $(LD_SONAME) $(OUTOPT)$@ $^ $(LIBS) ifeq ($(OS390BATCH),1)