mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-1891 Slightly better fixes for z/OS archive mode, dual library support and batch mode without diverging too far from the standard Unix build.
X-SVN-Rev: 9390
This commit is contained in:
parent
291ee90b86
commit
307e38598c
4 changed files with 16 additions and 8 deletions
|
@ -45,9 +45,8 @@ DYNAMICCPPFLAGS = $(SHAREDLIBCPPFLAGS)
|
|||
DYNAMICCFLAGS = $(SHAREDLIBCFLAGS)
|
||||
DYNAMICCXXFLAGS = $(SHAREDLIBCXXFLAGS)
|
||||
|
||||
# Data packaging options are set at configure time with --with-data-packaging.
|
||||
CPPFLAGS += -I. -I$(srcdir) $(LIBCPPFLAGS) @DATA_PACKAGING_CPPFLAGS@
|
||||
DEFS += -DU_LIBICUDATA_NAME=\"$(ICUDATA_NAME)\" -DU_COMMON_IMPLEMENTATION
|
||||
CPPFLAGS += -I. -I$(srcdir) $(LIBCPPFLAGS)
|
||||
DEFS += -DU_COMMON_IMPLEMENTATION
|
||||
|
||||
# $(LIBICUDT) is either stub data or the real DLL common data.
|
||||
LIBS = $(LIBICUDT) $(DEFAULT_LIBS)
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
# define MAP_FAILED ((void*)-1)
|
||||
# endif
|
||||
|
||||
# if defined(OS390) && defined (UDATA_DLL)
|
||||
# if defined(OS390) && defined (OS390_STUBDATA)
|
||||
/* No memory mapping for 390 batch mode. Fake it using dll loading. */
|
||||
# include <dll.h>
|
||||
# include "cstring.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
## Copyright (c) 1999-2001, International Business Machines Corporation and
|
||||
## others. All Rights Reserved.
|
||||
##
|
||||
## $Id: mh-os390,v 1.43 2002/07/18 22:01:30 grhoten-oss Exp $
|
||||
## $Id: mh-os390,v 1.44 2002/07/27 07:58:30 grhoten-oss Exp $
|
||||
|
||||
###################################################################
|
||||
# IMPORTANT NOTE #
|
||||
|
@ -36,7 +36,7 @@ endif
|
|||
# TODO: Consider using -Wc,roc,rent for making the data readonly
|
||||
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
|
||||
DEFS += -D_OPEN_THREADS -D_XOPEN_SOURCE_EXTENDED -D_MSE_PROTOS -D_SHR_TZNAME -D_SHR_TIMEZONE -DU_LIBICUDATA_NAME=\"$(ICUDATA_NAME)\"
|
||||
ARFLAGS = -cr
|
||||
|
||||
## OS390BATCH
|
||||
|
@ -84,12 +84,21 @@ STATIC_O = o
|
|||
ifeq ($(OS390_STUBDATA),1)
|
||||
## Suffix of the subset data library for dual common library support
|
||||
STUB_SUFFIX=_stub
|
||||
DEFS += -DOS390_STUBDATA
|
||||
endif
|
||||
|
||||
ifeq ($(OS390BATCH),1)
|
||||
ifeq ($(OS390_STUBDATA),1)
|
||||
BATCH_STUB_TARGET= "//'${LOADMOD}(IXMI${SO_TARGET_VERSION_MAJOR}D1)'"
|
||||
BATCH_LIBICUUC= "//'${LOADEXP}(IXMI${SO_TARGET_VERSION_MAJOR}UC)'"
|
||||
BATCH_LIBICUDT= "//'${LOADEXP}(IXMI${SO_TARGET_VERSION_MAJOR}D1)'"
|
||||
else
|
||||
BATCH_STUB_TARGET= "//'${LOADMOD}(IXMI${SO_TARGET_VERSION_MAJOR}DA)'"
|
||||
BATCH_LIBICUDT= "//'${LOADEXP}(IXMI${SO_TARGET_VERSION_MAJOR}DA)'"
|
||||
endif
|
||||
BATCH_LIBICUUC= "//'${LOADEXP}(IXMI${SO_TARGET_VERSION_MAJOR}UC)'"
|
||||
BATCH_LIBICUI18N= "//'${LOADEXP}(IXMI${SO_TARGET_VERSION_MAJOR}IN)'"
|
||||
BATCH_LIBICUSTDIO= "//'${LOADEXP}(IXMI${SO_TARGET_VERSION_MAJOR}IO)'"
|
||||
BATCH_LIBICULE= "//'${LOADEXP}(IXMI${SO_TARGET_VERSION_MAJOR}LE)'"
|
||||
endif
|
||||
|
||||
## Link commands to link to ICU libs
|
||||
|
|
|
@ -29,7 +29,7 @@ CLEANFILES = *~ $(DEPS) $(RES_FILES) $(TEST_FILES) mkmap.tmp $(ALL_MAN_FILES)
|
|||
TARGET = pkgdata
|
||||
|
||||
CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(srcdir)/../toolutil
|
||||
DEFS += -DU_LIBICUDATA_NAME=\"$(ICUDATA_NAME)\" -DUDATA_SO_SUFFIX=\".$(SO)\" -DSTATIC_O=\"$(STATIC_O)\"
|
||||
DEFS += -DUDATA_SO_SUFFIX=\".$(SO)\" -DSTATIC_O=\"$(STATIC_O)\"
|
||||
LIBS = $(LIBICUTOOLUTIL) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
|
||||
|
||||
OBJECTS = pkgdata.o pkgtypes.o gmake.o dllmode.o cmnmode.o filemode.o sttcmode.o
|
||||
|
|
Loading…
Add table
Reference in a new issue