ICU-3389 Fix library versioning.

X-SVN-Rev: 14782
This commit is contained in:
George Rhoten 2004-03-26 22:33:12 +00:00
parent 720b86b6b4
commit 35c841b319
16 changed files with 48 additions and 48 deletions

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2003, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-aix,v 1.35 2003/12/18 23:14:11 emader-oss Exp $
## $Id: mh-aix,v 1.36 2004/03/26 22:33:12 grhoten-oss Exp $
##
## Please note: AIX does NOT have library versioning per se (there is no 'SONAME' capability).
## So, we are using 'windows' style library names, that is, libicuuc20.1.so instead of libicuuc.so.20.1
@ -102,9 +102,9 @@ STATIC_O = o
## Versioned libraries rules
%$(SO_TARGET_VERSION_MAJOR).$(SO): %$(SO_TARGET_VERSION).$(SO)
$(RM) $@ && ln -s $*$(SO_TARGET_VERSION).$(SO) $@
$(RM) $@ && ln -s ${*F}$(SO_TARGET_VERSION).$(SO) $@
%.$(SO): %$(SO_TARGET_VERSION).$(SO)
$(RM) $@ && ln -s $*$(SO_TARGET_VERSION).$(SO) $@
$(RM) $@ && ln -s ${*F}$(SO_TARGET_VERSION).$(SO) $@
## BIR - bind with internal references [so app data and icu data doesn't collide]

View file

@ -97,9 +97,9 @@ STATIC_O = o
## Versioned libraries rules
%$(SO_TARGET_VERSION_MAJOR).$(SO): %$(SO_TARGET_VERSION).$(SO)
$(RM) $@ && ln -s $*$(SO_TARGET_VERSION).$(SO) $@
$(RM) $@ && ln -s ${*F}$(SO_TARGET_VERSION).$(SO) $@
%.$(SO): %$(SO_TARGET_VERSION).$(SO)
$(RM) $@ && ln -s $*$(SO_TARGET_VERSION).$(SO) $@
$(RM) $@ && ln -s ${*F}$(SO_TARGET_VERSION).$(SO) $@
## BIR - bind with internal references [so app data and icu data doesn't collide]

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2003, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-aix-va,v 1.32 2004/03/10 18:28:14 grhoten-oss Exp $
## $Id: mh-aix-va,v 1.33 2004/03/26 22:33:12 grhoten-oss Exp $
## Commands to generate dependency files
GEN_DEPS.c= $(CC) -E -M $(DEFS) $(CPPFLAGS)
@ -104,8 +104,8 @@ STATIC_O = o
## Versioned libraries rules
%$(SO_TARGET_VERSION_MAJOR).$(SO): %$(SO_TARGET_VERSION).$(SO)
$(RM) $@ && ln -s $*$(SO_TARGET_VERSION).$(SO) $@
$(RM) $@ && ln -s ${*F}$(SO_TARGET_VERSION).$(SO) $@
%.$(SO): %$(SO_TARGET_VERSION).$(SO)
$(RM) $@ && ln -s $*$(SO_TARGET_VERSION).$(SO) $@
$(RM) $@ && ln -s ${*F}$(SO_TARGET_VERSION).$(SO) $@
## End Aix-specific setup

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2003, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-alpha-linux-cc,v 1.10 2004/03/26 18:07:35 grhoten-oss Exp $
## $Id: mh-alpha-linux-cc,v 1.11 2004/03/26 22:33:12 grhoten-oss Exp $
## Commands to generate dependency files
#GEN_DEPS.c= $(CC) $(DEFS) $(CPPFLAGS) -MD -c -msg_quiet
@ -74,9 +74,9 @@ STATIC_O = ao
## Versioned libraries rules
%.$(SO).$(SO_TARGET_VERSION_MAJOR): %.$(SO).$(SO_TARGET_VERSION)
$(RM) $@ && ln -s $< $@
$(RM) $@ && ln -s ${<F} $@
%.$(SO): %.$(SO).$(SO_TARGET_VERSION_MAJOR)
$(RM) $@ && ln -s $*.$(SO).$(SO_TARGET_VERSION) $@
$(RM) $@ && ln -s ${*F}.$(SO).$(SO_TARGET_VERSION) $@
## Bind internal references

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2003, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-alpha-linux-gcc,v 1.9 2004/03/26 18:07:35 grhoten-oss Exp $
## $Id: mh-alpha-linux-gcc,v 1.10 2004/03/26 22:33:12 grhoten-oss Exp $
## Commands to generate dependency files
GEN_DEPS.c= $(CC) -E -MM $(DEFS) $(CPPFLAGS)
@ -62,9 +62,9 @@ STATIC_O = ao
## Versioned libraries rules
%.$(SO).$(SO_TARGET_VERSION_MAJOR): %.$(SO).$(SO_TARGET_VERSION)
$(RM) $@ && ln -s $< $@
$(RM) $@ && ln -s ${<F} $@
%.$(SO): %.$(SO).$(SO_TARGET_VERSION_MAJOR)
$(RM) $@ && ln -s $*.$(SO).$(SO_TARGET_VERSION) $@
$(RM) $@ && ln -s ${*F}.$(SO).$(SO_TARGET_VERSION) $@
## Bind internal references

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2003, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-alpha-osf,v 1.6 2004/03/26 18:07:35 grhoten-oss Exp $
## $Id: mh-alpha-osf,v 1.7 2004/03/26 22:33:12 grhoten-oss Exp $
## Commands to generate dependency files
#GEN_DEPS.c= $(CC) $(DEFS) $(CPPFLAGS) -MD -c -msg_quiet
@ -74,9 +74,9 @@ STATIC_O = ao
## Versioned libraries rules
%.$(SO).$(SO_TARGET_VERSION_MAJOR): %.$(SO).$(SO_TARGET_VERSION)
$(RM) $@ && ln -s $< $@
$(RM) $@ && ln -s ${<F} $@
%.$(SO): %.$(SO).$(SO_TARGET_VERSION_MAJOR)
$(RM) $@ && ln -s $*.$(SO).$(SO_TARGET_VERSION) $@
$(RM) $@ && ln -s ${*F}.$(SO).$(SO_TARGET_VERSION) $@
## Bind internal references

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2003, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-bsd-gcc,v 1.9 2004/03/26 18:07:35 grhoten-oss Exp $
## $Id: mh-bsd-gcc,v 1.10 2004/03/26 22:33:12 grhoten-oss Exp $
## Commands to generate dependency files
GEN_DEPS.c= $(CC) -E -MM $(DEFS) $(CPPFLAGS)
@ -54,9 +54,9 @@ STATIC_O = ao
## Versioned libraries rules
%.$(SO).$(SO_TARGET_VERSION_MAJOR): %.$(SO).$(SO_TARGET_VERSION)
$(RM) $@ && ln -s $< $@
$(RM) $@ && ln -s ${<F} $@
%.$(SO): %.$(SO).$(SO_TARGET_VERSION_MAJOR)
$(RM) $@ && ln -s $*.$(SO).$(SO_TARGET_VERSION) $@
$(RM) $@ && ln -s ${*F}.$(SO).$(SO_TARGET_VERSION) $@
## End FreeBSD-specific setup

View file

@ -4,7 +4,7 @@
## Copyright (c) 1999-2003, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-darwin,v 1.32 2004/03/26 18:07:35 grhoten-oss Exp $
## $Id: mh-darwin,v 1.33 2004/03/26 22:33:12 grhoten-oss Exp $
## Flags for position independent code
SHAREDLIBCFLAGS = -dynamic
@ -75,8 +75,8 @@ STATIC_O = ao
## Versioned libraries rules
%.$(SO).$(SO_TARGET_VERSION_MAJOR): %.$(SO).$(SO_TARGET_VERSION)
$(RM) $@ && ln -s $< $@
$(RM) $@ && ln -s ${<F} $@
%.$(SO): %.$(SO).$(SO_TARGET_VERSION_MAJOR)
$(RM) $@ && ln -s $*.$(SO).$(SO_TARGET_VERSION) $@
$(RM) $@ && ln -s ${*F}.$(SO).$(SO_TARGET_VERSION) $@
## End Darwin-specific setup

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2003, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-hpux-acc,v 1.37 2004/03/26 18:07:36 grhoten-oss Exp $
## $Id: mh-hpux-acc,v 1.38 2004/03/26 22:33:12 grhoten-oss Exp $
## Commands to generate dependency files
GEN_DEPS.c= :
@ -90,9 +90,9 @@ STATIC_O = o
## Versioned libraries rules
%.$(SO).$(SO_TARGET_VERSION_MAJOR): %.$(SO).$(SO_TARGET_VERSION)
$(RM) $@ && ln -s $< $@
$(RM) $@ && ln -s ${<F} $@
%.$(SO): %.$(SO).$(SO_TARGET_VERSION_MAJOR)
$(RM) $@ && ln -s $*.$(SO).$(SO_TARGET_VERSION) $@
$(RM) $@ && ln -s ${*F}.$(SO).$(SO_TARGET_VERSION) $@
## Install libraries as executable
INSTALL-L=$(INSTALL_PROGRAM)

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2003, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-hpux-cc,v 1.33 2004/03/26 18:07:36 grhoten-oss Exp $
## $Id: mh-hpux-cc,v 1.34 2004/03/26 22:33:12 grhoten-oss Exp $
## This causes source/tools/pkgdata generated makefiles to create and link
@ -70,9 +70,9 @@ STATIC_O = o
## Versioned libraries rules
%.$(SO).$(SO_TARGET_VERSION_MAJOR): %.$(SO).$(SO_TARGET_VERSION)
$(RM) $@ && ln -s $< $@
$(RM) $@ && ln -s ${<F} $@
%.$(SO): %.$(SO).$(SO_TARGET_VERSION_MAJOR)
$(RM) $@ && ln -s $*.$(SO).$(SO_TARGET_VERSION) $@
$(RM) $@ && ln -s ${*F}.$(SO).$(SO_TARGET_VERSION) $@
## End HP/UX-specific setup

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2003, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-hpux-gcc,v 1.5 2004/03/26 18:07:36 grhoten-oss Exp $
## $Id: mh-hpux-gcc,v 1.6 2004/03/26 22:33:12 grhoten-oss Exp $
## Commands to generate dependency files
GEN_DEPS.c= $(CC) -E -MM $(DEFS) $(CPPFLAGS)
@ -73,9 +73,9 @@ STATIC_O = o
## Versioned libraries rules
%.$(SO).$(SO_TARGET_VERSION_MAJOR): %.$(SO).$(SO_TARGET_VERSION)
$(RM) $@ && ln -s $< $@
$(RM) $@ && ln -s ${<F} $@
%.$(SO): %.$(SO).$(SO_TARGET_VERSION_MAJOR)
$(RM) $@ && ln -s $*.$(SO).$(SO_TARGET_VERSION) $@
$(RM) $@ && ln -s ${*F}.$(SO).$(SO_TARGET_VERSION) $@
## End HPUX/gcc specific setup

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2003, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-irix,v 1.24 2004/03/26 18:07:36 grhoten-oss Exp $
## $Id: mh-irix,v 1.25 2004/03/26 22:33:12 grhoten-oss Exp $
## Flags for position independent code
SHAREDLIBCFLAGS = -shared
@ -65,8 +65,8 @@ STATIC_O = ao
## Versioned libraries rules
%.$(SO).$(SO_TARGET_VERSION_MAJOR): %.$(SO).$(SO_TARGET_VERSION)
$(RM) $@ && ln -s $< $@
$(RM) $@ && ln -s ${<F} $@
%.$(SO): %.$(SO).$(SO_TARGET_VERSION_MAJOR)
$(RM) $@ && ln -s $*.$(SO).$(SO_TARGET_VERSION) $@
$(RM) $@ && ln -s ${*F}.$(SO).$(SO_TARGET_VERSION) $@
## End IRIX-specific setup

View file

@ -3,7 +3,7 @@
## Copyright (c) 2003-2003, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-mpras,v 1.3 2004/03/26 18:07:36 grhoten-oss Exp $
## $Id: mh-mpras,v 1.4 2004/03/26 22:33:12 grhoten-oss Exp $
## Original contributer: Jason Gordon from NCR
## Flags for position independent code
@ -59,7 +59,7 @@ STATIC_O = o
## Versioned libraries rules
%.$(SO).$(SO_TARGET_VERSION_MAJOR): %.$(SO).$(SO_TARGET_VERSION)
$(RM) $@ && ln -s $< $@
$(RM) $@ && ln -s ${<F} $@
%.$(SO): %.$(SO).$(SO_TARGET_VERSION_MAJOR)
$(RM) $@ && ln -s $*.$(SO).$(SO_TARGET_VERSION) $@
$(RM) $@ && ln -s ${*F}.$(SO).$(SO_TARGET_VERSION) $@

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2004, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-os390,v 1.59 2004/03/26 01:22:25 grhoten-oss Exp $
## $Id: mh-os390,v 1.60 2004/03/26 22:33:12 grhoten-oss Exp $
###################################################################
# IMPORTANT NOTE #
@ -183,11 +183,11 @@ LIBUSTDIO= $(LIBDIR)/$(LIBICU)io$(ICULIBSUFFIX)$(SO_TARGET_VERSION).x
## Versioned libraries rules
%$(SO_TARGET_VERSION_MAJOR).$(SO): %$(SO_TARGET_VERSION).$(SO)
$(RM) $@ && ln -s $*$(SO_TARGET_VERSION).$(SO) $@
$(RM) $@ && ln -s ${*F}$(SO_TARGET_VERSION).$(SO) $@
%.$(SO): %$(SO_TARGET_VERSION).$(SO)
$(RM) $@ && ln -s $*$(SO_TARGET_VERSION).$(SO) $@
$(RM) $@ && ln -s ${*F}$(SO_TARGET_VERSION).$(SO) $@
## Install libraries as executable
INSTALL-L=$(INSTALL_PROGRAM)
## End 390-specific setup
## End 390-specific setup

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2003, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-solaris,v 1.36 2004/03/26 18:07:36 grhoten-oss Exp $
## $Id: mh-solaris,v 1.37 2004/03/26 22:33:12 grhoten-oss Exp $
## Flags for position independent code
SHAREDLIBCFLAGS = -KPIC
@ -69,9 +69,9 @@ STATIC_O = o
## Versioned libraries rules
%.$(SO).$(SO_TARGET_VERSION_MAJOR): %.$(SO).$(SO_TARGET_VERSION)
$(RM) $@ && ln -s $< $@
$(RM) $@ && ln -s ${<F} $@
%.$(SO): %.$(SO).$(SO_TARGET_VERSION_MAJOR)
$(RM) $@ && ln -s $*.$(SO).$(SO_TARGET_VERSION) $@
$(RM) $@ && ln -s ${*F}.$(SO).$(SO_TARGET_VERSION) $@
#
ifeq (strip $(GENCCODE_ASSEMBLY),)

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2003, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-solaris-gcc,v 1.34 2004/03/26 18:07:36 grhoten-oss Exp $
## $Id: mh-solaris-gcc,v 1.35 2004/03/26 22:33:12 grhoten-oss Exp $
## Flags for position independent code
SHAREDLIBCFLAGS = -fPIC
@ -57,8 +57,8 @@ STATIC_O = ao
## Versioned libraries rules
%.$(SO).$(SO_TARGET_VERSION_MAJOR): %.$(SO).$(SO_TARGET_VERSION)
$(RM) $@ && ln -s $< $@
$(RM) $@ && ln -s ${<F} $@
%.$(SO): %.$(SO).$(SO_TARGET_VERSION_MAJOR)
$(RM) $@ && ln -s $*.$(SO).$(SO_TARGET_VERSION) $@
$(RM) $@ && ln -s ${*F}.$(SO).$(SO_TARGET_VERSION) $@
## End Solaris-specific setup