Permalink
Browse files

Patch 25180 for iSeries support.

git-svn-id: https://svn.apache.org/repos/asf/xalan/c/trunk@341878 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent f3e6d66 commit 7d44c0c76d3f684c45b535582ab3d3a711214781 David N Berton committed Dec 3, 2003
Showing with 1,046 additions and 652 deletions.
  1. +27 −0 Makefile.incl.in
  2. +580 −437 config.guess
  3. +349 −142 config.sub
  4. +68 −65 configure
  5. +7 −2 configure.in
  6. +11 −4 runConfigure
  7. +2 −0 src/xalanc/Include/PlatformDefinitions.hpp
  8. +2 −2 src/xalanc/PlatformSupport/DirectoryEnumerator.hpp
View
@@ -415,6 +415,33 @@ ifeq ($(PLATFORM), MACOSX)
endif
+#=============== OS400 SPECIFIC OPTIONS =========================
+
+ifeq ($(PLATFORM), OS400)
+
+ SUPPORTED = TRUE
+ PLATFORM_COMPILE_OPTIONS = -v -D_MULTI_THREADED -D${PLATFORM} -DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS
+ PLATFORM_C_COMPILE_OPTIONS = -v -D_MULTI_THREADED -D${PLATFORM} -DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS
+ ALLLIBS =
+ MAKE_SHARED = ld -v ${LDFLAGS}
+ MAKE_SHARED_C = ld -v ${LDFLAGS}
+ SHLIBSUFFIX=.a
+
+ CC1 = $(CXX) $(CXXFLAGS) $(PLATFORM_COMPILE_OPTIONS)
+ifeq (-DNDEBUG,$(findstring -DNDEBUG,${CXXFLAGS}))
+ CC2 = $(CXX) $(PLATFORM_COMPILE_OPTIONS2) -DNDEBUG
+else
+ CC2 = $(CXX) $(PLATFORM_COMPILE_OPTIONS2)
+endif
+ CC3 = $(CXX) $(CXXFLAGS) $(PLATFORM_COMPILE_OPTIONS2)
+ CC4 = $(CC) $(CXXFLAGS) $(PLATFORM_COMPILE_OPTIONS)
+ TO = qwobj
+ EXTRA_COMPILE_OPTIONS = -I. -g -qTERASPACE="*YES *NOTSIFC" -qSTGMDL="*INHERIT" -DXML_USE_ICONV400_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSSOR_SOCKET -qTGTRLS="V5R1M0"
+ EXTRA_LINK_OPTIONS = -qOPTION="*DUPPROC *DUPVAR *NOWARN"
+ LINK = $(CXX) $(CXXFLAGS) $(PLATFORM_COMPILE_OPTIONS)
+
+endif
+
ifndef SUPPORTED
nogood:
@echo Linux, Solaris, AIX, Compaq Tru64, OS/390, MacOSX, and HP-UX are the only platforms supported.
Oops, something went wrong.

0 comments on commit 7d44c0c

Please sign in to comment.