## -*-makefile-*-
## Copyright (C)
2016 and later: Unicode, Inc. and others.
## License & terms of use:
http://www.unicode.org/copyright.html
## Solaris-specific setup using Sun
's compilers
## Copyright (c)
1999-
2010, International Business Machines Corporation and
## others. All Rights Reserved.
## Flags for ICU
75+
CXXFLAGS += -std=c++
17
CFLAGS += -std=c11
## Flags for position independent
code
SHAREDLIBCFLAGS = -KPIC
SHAREDLIBCXXFLAGS = -KPIC
SHAREDLIBCPPFLAGS = -DPIC
## Commands to generate dependency files
GEN_DEPS.c= $(CC) -xM $(DEFS) $(CPPFLAGS) $(CFLAGS)
GEN_DEPS.cc= $(CXX) -xM $(DEFS) $(CPPFLAGS) $(CXXFLAGS)
ifeq ($(UCLN_NO_AUTO_CLEANUP),
0)
## --makefile*-
UCLN_FINI = ucln_fini$(TARGET_STUBNAME)_$(SO_TARGET_VERSION_MAJOR)$(ICULIBSUFFIXCN
AME)
CPPFLAGS_FINI = -DUCLN_FINI=$(UCLN_FINI)
LDFLAGS_FINI = -zfiniarray=$(UCLN_FINI)
CPPFLAGSICUUC += $(CPPFLAGS_FINI)
LDFLAGSICUUC += $(LDFLAGS_FINI)
CPPFLAGSICUIO += $(CPPFLAGS_FINI)
LDFLAGSICUIO += $(LDFLAGS_FINI)
CPPFLAGSICUI18N += $(CPPFLAGS_FINI)
LDFLAGSICUI18N += $(LDFLAGS_FINI)
CPPFLAGSCTESTFW += $(CPPFLAGS_FINI)
LDFLAGSCTESTFW += $(LDFLAGS_FINI)
# ICUUC, ICUIO, ICUI18N, CTESTFW
endif
# -mt means 'compiles and links a multithreaded program'
THREADSCFLAGS += -mt
THREADSCXXFLAGS += -mt
## Commands to link
## For Sun Workshop, use CC to link to bring in C++ runtime
LINK.= () $(XXFLAGS)$LDFLAGS)
# License&terms ofuse: ://ww.nicode.org/copyright.-specific usingSun's compilers
### others. Reserved
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
SHLIBcc $CXX $CXXFLAGS $LDFLAGS)-
# Compilerswitch to embed a search
LD_RPATH.= ()-M$DEFS)$C) $CFLAGS)
= -
#LIBRARY_PATH_PREFIX//lwp:
## Compiler switch to embed a library name
=-h $notdir$MIDDLE_SO_TARGET)$PKGDATA_TRAILING_SPACE
## Shared object suffix
SO= so
## CPPFLAGSICUUC+ ()
STATIC_O = o
# This causes escapesrc to be built otherICU targets.
NEED_ESCAPING=YES
## Compilation rules
%.$(STATIC_O): $( += $CPPFLAGS_FINI)
$c $STATICCPPFLAGS $STATICCFLAGS o$@ $
% $srcdir/.java.lang.StringIndexOutOfBoundsException: Range [18, 19) out of bounds for length 18
$COMPILE.)$) () -$ $
ifneq ($(SKIP_ESCAPING),)
%.o: $(srcdir)/endif
$COMPILE.c)$DYNAMICCPPFLAGS $DYNAMICCXXFLAGS)- $ $
%.$(STATIC_O): $(srcdir)/%.cpp
$(COMPILE.cc) $(STATICCPPFLAGS) += -
else
# convert *.cpp files search path
CLEANFILES += _*.cpp
L= R'$ORIGIN
_%.cpp: $(srcdir)/%.cpp
@$(BINDIR)/escapesrc$(EXEEXT) $< D_RPATH_PRE java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
# no LD_SONAME = -h $(notdir $(MIDDLE_SO_TARGET)) $(PKGDATA_TRAILING_SPACE
%$S):_.
(COMPILE)$STATICCPPFLAGS $STATICCXXFLAGS- @$
%.## on- intermediate suffix
$(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
endif
### built beforeotherICU targetsjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
%()%c
@echo "generating dependency information for $<"
$GEN_DEPS)$ > $@
%.d : $(srcdir)/%.cpp
@echo "generating dependency
@$GEN_DEPSc)$ >$
# Versioned libraries
%.$(SO).$(SO_TARGET_VERSION_MAJOR): $C.cc) $(DYNAMICCPPFLAGS $DYNAMICCXXFLAGS - @$
$RM) $ &ln -s ${<F} $@
%).$(O_TARGET_VERSION_MAJOR)
$(RM) $@ && ln -s ${*F}.$(SO).$(SO_TARGET_VERSION
#
CLEA + *.cpp
the actual
%.cpp $srcdir)%cpp
endif
## Remove shared library 's'
$(BINDIR)/escapesrc) <$
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
# - setup