X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/73c04bcfe1096173b00431f0cdc742894b15eef0..51004dcb01e06fef634b61be77ed73dd61cb6db9:/icuSources/config/mh-os400 diff --git a/icuSources/config/mh-os400 b/icuSources/config/mh-os400 index b4a8e092..4e83e0df 100644 --- a/icuSources/config/mh-os400 +++ b/icuSources/config/mh-os400 @@ -1,8 +1,12 @@ ## -*-makefile-*- ## OS400-specific setup (for cross build) -## Copyright (c) 1999-2005, International Business Machines Corporation and +## Copyright (c) 1999-2012, International Business Machines Corporation and ## others. All Rights Reserved. +# This otherwise breaks on OS400 - can't find "shell" +CURR_FULL_DIR=. +CURR_SRCCODE_FULL_DIR=. + GEN_DEPS.c= $(CC1) -E -M $(DEFS) $(CPPFLAGS) GEN_DEPS.cc= $(CXX1) -E -M $(DEFS) $(CPPFLAGS) @@ -12,13 +16,16 @@ THREADSCPPFLAGS = -D_MULTI_THREADED # -qTERASPACE: large pointers # -qPFROPT=*STRDONLY: Strings are read-only COMPILE.c= $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c -qTERASPACE=*YES -qSTGMDL=*INHERIT -qPFROPT=*STRDONLY -COMPILE.cc= $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) -c -qTERASPACE=*YES -qSTGMDL=*INHERIT -qPFROPT=*STRDONLY +COMPILE.cc= $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) -c -qTERASPACE=*YES -qSTGMDL=*INHERIT -qPFROPT=*STRDONLY -qRTTIALL + +## ICULD program - run bldiculd.sh in icu/as_is/os400/ to build it +ICULD=/qsys.lib/$(OUTPUTDIR).lib/iculd.pgm ## 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= $(CXX) $(CXXFLAGS) $(LDFLAGS) -qOPTION='*DUPPROC *DUPVAR' -LINK.cc= $(CXX) $(CXXFLAGS) $(LDFLAGS) -qOPTION='*DUPPROC *DUPVAR' +LINK.c= $(ICULD) $(CXXFLAGS) $(LDFLAGS) -qOPTION='*DUPPROC *DUPVAR' +LINK.cc= $(ICULD) $(CXXFLAGS) $(LDFLAGS) -qOPTION='*DUPPROC *DUPVAR' ## Commands to make a shared library # -qALWLIBUPD: It allows the compiled service program to have dependencies on