## -*-makefile-*- ## Copyright (C) 2016and later: Unicode, Inc. and others. ## License & terms of use: http://www.unicode.org/copyright.html ## Copyright (c) 2003-2015 IBM, Ken Foskey, and others. All rights reserved. ## ## Aix-specific setup (for gcc) ## ## 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
# When building stubdata, special considerations need to be made when building on AIX with GCC
BUILD_HOST_ICU=AIX_GCC
# Certain files don't compile in -ansi mode (e.g. umutex.c, toolutil.c, and cdatatst.c)
CFLAGS += -D_ALL_SOURCE
## Commands to link ## We need to use the C++ linker, even when linking C programs, since ## our libraries contain C++ code (C++ static init not called)
LINK.c= $(AIX_PREDELETE) $(CXX) $(CXXFLAGS) $(LDFLAGS)
LINK.cc= $(AIX_PREDELETE) $(CXX) $(CXXFLAGS) $(LDFLAGS)
## Commands to make a shared library
SHLIB.c= $(AIX_PREDELETE) $(CC) $(CFLAGS) $(LDFLAGS) -shared $(LD_SOOPTIONS)
SHLIB.cc= $(AIX_PREDELETE) $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(LD_SOOPTIONS)
## Compiler switch to embed a runtime search path
LD_RPATH= -I
LD_RPATH_PRE=
## enable the shared lib loader
LDFLAGS += -Wl,-bbigtoc
## These are the library specific LDFLAGS
LDFLAGSICUDT=-nodefaultlibs -nostdlib
## We need to delete things prior to linking, orelse we'll get ## SEVERE ERROR: output file in use .. on AIX. ## But, shell script version should NOTdelete target as we don't ## have $@ in that context. (SH = only shell script, icu-config)
AIX_PREDELETE=rm -f $@ ; #SH# AIX_PREDELETE=
## Environment variable to set a runtime search path
LDLIBRARYPATH_ENVVAR = LIBPATH
## BIR - bind with internal references [so app data and icu data doesn't collide] # LDflags that pkgdata will use
BIR_LDFLAGS= -Wl,-bE:$(NAME).map,-bnoexpall
# Dependencies [i.e. map files] for the final library
BIR_DEPS= $(NAME).map
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.