mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-2628 Maybe this XPLINK change will work
X-SVN-Rev: 12227
This commit is contained in:
parent
58a0372aba
commit
d5506ace1e
1 changed files with 13 additions and 10 deletions
|
@ -1,9 +1,9 @@
|
|||
## -*-makefile-*-
|
||||
## 390-specific setup
|
||||
## Copyright (c) 1999-2001, International Business Machines Corporation and
|
||||
## Copyright (c) 1999-2003, International Business Machines Corporation and
|
||||
## others. All Rights Reserved.
|
||||
##
|
||||
## $Id: mh-os390,v 1.54 2003/05/30 00:00:22 grhoten-oss Exp $
|
||||
## $Id: mh-os390,v 1.55 2003/06/02 22:12:03 grhoten-oss Exp $
|
||||
|
||||
###################################################################
|
||||
# IMPORTANT NOTE #
|
||||
|
@ -42,19 +42,22 @@ else
|
|||
ICU_IEEE = -DIEEE_754=0
|
||||
endif
|
||||
|
||||
# TODO: Consider using -Wc,roc,ros for making the data readonly
|
||||
# TODO: Consider using -Wc,roc,ros for making the data and strings readonly
|
||||
# -Wc,"ros" seems to work, but not the "roc"
|
||||
CFLAGS += -Wc,"langlvl(extended),spill(2000)" $(ICU_BUILD_OPTIONS) $(ICU_IEEE) -Wc,dll,expo
|
||||
CXXFLAGS += -Wc,"langlvl(extended),spill(2000)" $(ICU_BUILD_OPTIONS) $(ICU_IEEE) -Wc,dll,expo
|
||||
DEFS += -D_OPEN_THREADS -D_XOPEN_SOURCE_EXTENDED -D_MSE_PROTOS -D_SHR_TZNAME -D_SHR_TIMEZONE -DU_LIBICUDATA_NAME=\"$(ICUDATA_NAME)\"
|
||||
ARFLAGS = -cr
|
||||
|
||||
# TODO: Fix this configuration so that icu-config will work!
|
||||
# This means we shouldn't be using so many of these special case defines.
|
||||
ifeq (${OS390_XPLINK}, 1)
|
||||
# Note: The following options require the PTF for PQ69418 on z/OS 1.2
|
||||
# and later.
|
||||
# These lines must be the last options specified.
|
||||
CFLAGS += -Wc,"xplink(backchain,storeargs)" -Wc,"GOFF,NOCSECT,RENT,SSCOMM" -Wc,"inline(auto,noreport,500,2500)"
|
||||
CXXFLAGS += -Wc,"xplink(backchain,storeargs)" -Wc,"GOFF,NOCSECT,NOTEMPINC" -Wc,"inline(auto,noreport,300,2500)"
|
||||
LDFLAGS += -Wl,dll,xplink -Wl,EDIT=NO
|
||||
ICU_XPLINK_C = -Wc,"xplink(backchain,storeargs)" -Wc,"GOFF,NOCSECT,RENT,SSCOMM" -Wc,"inline(auto,noreport,500,2500)"
|
||||
ICU_XPLINK_CPP = -Wc,"xplink(backchain,storeargs)" -Wc,"GOFF,NOCSECT,NOTEMPINC" -Wc,"inline(auto,noreport,300,2500)"
|
||||
ICU_XPLINK_L = -Wl,dll,xplink -Wl,EDIT=NO
|
||||
endif
|
||||
|
||||
## OS390BATCH
|
||||
|
@ -73,12 +76,12 @@ GEN_DEPS.cc= makedep
|
|||
## Commands to compile
|
||||
# _CXX_STEPS="-1" is a prelink step when compiling C and C++, and
|
||||
# it's only needed for long function names
|
||||
COMPILE.c = $(COMPILE_LINK_ENVVAR) $(CXX) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c
|
||||
COMPILE.cc = _CXX_CXXSUFFIX="cpp" $(COMPILE_LINK_ENVVAR) $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) -c
|
||||
COMPILE.c = $(COMPILE_LINK_ENVVAR) $(CXX) $(DEFS) $(CPPFLAGS) $(CFLAGS) $(ICU_XPLINK_C) -c
|
||||
COMPILE.cc = _CXX_CXXSUFFIX="cpp" $(COMPILE_LINK_ENVVAR) $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(ICU_XPLINK_CPP) -c
|
||||
|
||||
# Commands to link
|
||||
LINK.c= $(COMPILE_LINK_ENVVAR) $(CC) $(CFLAGS) -Wl,dll $(LDFLAGS)
|
||||
LINK.cc= $(COMPILE_LINK_ENVVAR) $(CXX) $(CXXFLAGS) -Wl,dll $(LDFLAGS)
|
||||
LINK.c= $(COMPILE_LINK_ENVVAR) $(CC) $(CFLAGS) -Wl,dll $(LDFLAGS) $(ICU_XPLINK_L)
|
||||
LINK.cc= $(COMPILE_LINK_ENVVAR) $(CXX) $(CXXFLAGS) -Wl,dll $(LDFLAGS) $(ICU_XPLINK_L)
|
||||
|
||||
## Commands for shared library (dll)
|
||||
SHLIB.c= $(LINK.c)
|
||||
|
|
Loading…
Add table
Reference in a new issue