X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/fd0068a84e9996f225edba706498f6ed413d0673..46f4442e9a5a4f3b98b7c1083586332f6a8a99a4:/icuSources/config/mh-darwin diff --git a/icuSources/config/mh-darwin b/icuSources/config/mh-darwin index 81b80225..bcdf979b 100644 --- a/icuSources/config/mh-darwin +++ b/icuSources/config/mh-darwin @@ -1,7 +1,7 @@ ## -*-makefile-*- ## Darwin-specific setup (Darwin is the Mac OS X developer preview, successor ## to Rhapsody, aka Mac OS X Server) -## Copyright (c) 1999-2006 International Business Machines Corporation and +## Copyright (c) 1999-2008 International Business Machines Corporation and ## others. All Rights Reserved. ## Flags for position independent code @@ -41,6 +41,10 @@ SO= dylib ## Non-shared intermediate object suffix STATIC_O = ao +## Override Versioned target for a shared library. +FINAL_SO_TARGET= $(basename $(SO_TARGET)).$(SO_TARGET_VERSION).$(SO) +MIDDLE_SO_TARGET= $(basename $(SO_TARGET)).$(SO_TARGET_VERSION_MAJOR).$(SO) + ## Compilation rules %.$(STATIC_O): $(srcdir)/%.c $(COMPILE.c) $(STATICCPPFLAGS) $(STATICCFLAGS) -o $@ $< @@ -72,9 +76,15 @@ STATIC_O = ao ## Versioned libraries rules -%.$(SO).$(SO_TARGET_VERSION_MAJOR): %.$(SO).$(SO_TARGET_VERSION) +%.$(SO_TARGET_VERSION_MAJOR).$(SO): %.$(SO_TARGET_VERSION).$(SO) $(RM) $@ && ln -s ${