X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..0f5d89e82340278ed3d7d50029f37cab2c41a57e:/icuSources/config/mh-alpha-linux-gcc diff --git a/icuSources/config/mh-alpha-linux-gcc b/icuSources/config/mh-alpha-linux-gcc index 77dae8c6..a3531d27 100644 --- a/icuSources/config/mh-alpha-linux-gcc +++ b/icuSources/config/mh-alpha-linux-gcc @@ -1,9 +1,9 @@ ## -*-makefile-*- +## Copyright (C) 2016 and later: Unicode, Inc. and others. +## License & terms of use: http://www.unicode.org/copyright.html ## Linux-specific setup -## Copyright (c) 1999-2000, International Business Machines Corporation and +## Copyright (c) 1999-2009, International Business Machines Corporation and ## others. All Rights Reserved. -## -## $Id: mh-alpha-linux-gcc,v 1.1.1.1 2003/02/05 21:31:17 avery Exp $ ## Commands to generate dependency files GEN_DEPS.c= $(CC) -E -MM $(DEFS) $(CPPFLAGS) @@ -15,8 +15,8 @@ SHAREDLIBCXXFLAGS = -fPIC SHAREDLIBCPPFLAGS = -DPIC ## Additional flags when building libraries and with threads -LIBCPPFLAGS = -D_REENTRANT THREADSCPPFLAGS = -D_REENTRANT +LIBCPPFLAGS = # The tests need complete IEEE floating point support CFLAGS += -mieee @@ -27,7 +27,11 @@ LD_RPATH= LD_RPATH_PRE= -Wl,-rpath, ## Compiler switch to embed a library name -LD_SONAME = -Wl,-soname -Wl,$(MIDDLE_SO_TARGET) +LD_SONAME = -Wl,-soname -Wl,$(notdir $(MIDDLE_SO_TARGET)) + + +## Shared library options +LD_SOOPTIONS= -Wl,-Bsymbolic ## Shared object suffix SO = so @@ -45,8 +49,6 @@ STATIC_O = ao %.o: $(srcdir)/%.cpp $(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $< -../data/%.o: ../data/%.c - $(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $< ## Dependency rules %.d: $(srcdir)/%.c @@ -64,18 +66,18 @@ STATIC_O = ao ## Versioned libraries rules %.$(SO).$(SO_TARGET_VERSION_MAJOR): %.$(SO).$(SO_TARGET_VERSION) - $(RM) $@ && ln -s $< $@ + $(RM) $@ && ln -s ${