From 709cec02d3566b8f359b109440b50facceaab86a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 10 Feb 2011 09:53:17 +0200 Subject: Update native iOS build sample config files --- dist/etc/ios/config-device-ios-2.0.make | 223 +++++++++++++++++++++++++++++ dist/etc/ios/config-device-ios-4.1.make | 222 ++++++++++++++++++++++++++++ dist/etc/ios/config-simulator-ios-2.0.make | 223 +++++++++++++++++++++++++++++ dist/etc/ios/config-simulator-ios-4.1.make | 222 ++++++++++++++++++++++++++++ dist/etc/iphone/config-device.make | 223 ----------------------------- dist/etc/iphone/config-simulator.make | 223 ----------------------------- 6 files changed, 890 insertions(+), 446 deletions(-) create mode 100644 dist/etc/ios/config-device-ios-2.0.make create mode 100644 dist/etc/ios/config-device-ios-4.1.make create mode 100644 dist/etc/ios/config-simulator-ios-2.0.make create mode 100644 dist/etc/ios/config-simulator-ios-4.1.make delete mode 100644 dist/etc/iphone/config-device.make delete mode 100644 dist/etc/iphone/config-simulator.make (limited to 'dist/etc') diff --git a/dist/etc/ios/config-device-ios-2.0.make b/dist/etc/ios/config-device-ios-2.0.make new file mode 100644 index 0000000..de6429a --- /dev/null +++ b/dist/etc/ios/config-device-ios-2.0.make @@ -0,0 +1,223 @@ +# Sample configuration file for iPhone OS 2.0 device using XCode 3.1.x +# iPhone SDK. +# +XCODE := /Developer +IPHONE_PLATFORM := $(XCODE)/Platforms/iPhoneOS.platform/Developer +IPHONE_SDK := $(IPHONE_PLATFORM)/SDKs/iPhoneOS2.0.sdk + +# Toolchain. +# +CC := $(IPHONE_PLATFORM)/usr/bin/arm-apple-darwin9-gcc-4.0.1 +CFLAGS := -W -Wall -arch armv6 -O3 -isysroot $(IPHONE_SDK) +CPPFLAGS := + +CXX := $(IPHONE_PLATFORM)/usr/bin/arm-apple-darwin9-g++-4.0.1 +CXXFLAGS := -W -Wall -arch armv6 -O3 -isysroot $(IPHONE_SDK) + +LD := $(CXX) +LDFLAGS := $(CXXFLAGS) +LIBS := + +# Optional post-link command. The first argument to this command is +# the executable name and the rest of the arguments are the object +# files and libraries that were used to link this executable. +# +POSTLD := + +# Set RANLIB to empty if your system does not need ranlib. +# +AR := $(IPHONE_PLATFORM)/usr/bin/ar +ARFLAGS := rc +RANLIB := $(IPHONE_PLATFORM)/usr/bin/ranlib + + +# Common XSD/e flags. +# +XSDFLAGS := --generate-inline + + +# Platform. Valid values are: +# +# 'wince' - Windows CE +# 'win32' - Windows 2000, XP, etc. +# 'posix' - POSIX OS, including UNIX/Linux, VxWorks, etc. +# +XSDE_PLATFORM := posix + + +# Platform architecture width in bits. +# +XSDE_ARCH_WIDTH := 32 + + +# Platform byte order. Valid values are 'b' for big-endian +# and 'l' for little-endian. +# +XSDE_BYTEORDER := l + + +# Application character encoding. Valid values are 'utf8' for UTF-8 +# and 'iso8859-1' for ISO-8859-1. Note that this encoding is not +# the same as the XML document encoding that is being parsed or +# serialized. Rather, it is the encoding that is used inside the +# application. When an XML document is parsed, the character data +# is automatically converted to the application encoding. Similarly, +# when an XML document is serialized, the data in the application +# encoding is automatically converted to the resulting document +# encoding. Also don't forget to use the --char-encoding option +# when compiling your schemas if using an encoding other than UTF-8. +# +XSDE_ENCODING := utf8 + + +# Set to 'n' if you don't have STL (std::string, etc.). Also don't +# forget to use the --no-stl option when compiling your schemas. +# +XSDE_STL := y + + +# Set to 'n' if you don't want iterators to conform to the STL +# requirements. This feature requires working header +# and allows you to use the standard algorithms such as find_if, +# etc. +# +XSDE_STL_ITERATOR := y + + +# Set to 'n' if you don't have iostream. +# +XSDE_IOSTREAM := y + + +# Set to 'n' if you don't have C++ exceptions. Also don't forget to +# use the --no-exceptions option when compiling your schemas. +# +XSDE_EXCEPTIONS := y + + +# Set to 'n' if your platform doesn't have the "long long int" type or +# the strtoull function. Also don't forget to use the --no-long-long +# option when compiling your schemas. +# +XSDE_LONGLONG := y + + +# Set to 'n' if your platform doesn't have the snprintf function. +# +XSDE_SNPRINTF := y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Parser. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_PARSER_VALIDATION := y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Serializer. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_SERIALIZER_VALIDATION := y + + +# Set to 'y' if you would like to have support for regular expressions in +# the XSD/e runtime. If the regexp support is enabled, then the parser and +# serializer validation code will use it to validate the xs:pattern facet. +# If the regexp support is disabled, then this facet will be ignored. The +# regexp support increases the resulting executable size by about 30-50Kb. +# +XSDE_REGEXP := n + + +# Base parser/serializer implementation reuse style. Valid values are: +# +# 'mixin' - virtual inheritance-based reuse (specify --reuse-style-mixin) +# 'tiein' - delegation-based reuse (recommended) +# 'none' - no reuse support (specify --reuse-style-none) +# +XSDE_REUSE_STYLE := tiein + + +# Set to 'y' if you would like the XSD/e runtime and the generated code +# to perform memory management using custom allocator functions provided +# by your application instead of the standard operator new/delete. Also +# don't forget to use the --custom-allocator option when compiling your +# schemas. See the documentation and examples for more information on +# custom allocators. +# +XSDE_CUSTOM_ALLOCATOR := n + + +# Set to 'y' if you would like to include the default implementation of the +# custom allocator into the XSD/e runtime library. This option is primarily +# useful for testing and only makes sense if XSDE_CUSTOM_ALLOCATOR is set +# to 'y'. +# +XSDE_DEFAULT_ALLOCATOR := n + + +# Set to 'y' if you want support for serialization of the C++/Hybrid +# object model to the CDR (Common Data Representation) binary format. +# This functionality requires the ACE library. +# +XSDE_CDR := n + + +# Set to 'y' if you want support for serialization of the C++/Hybrid +# object model to the XDR (eXternal Data Representation) binary format. +# This functionality requires the XDR API which is available out of the +# box on most POSIX systems as part of Sun RPC. On some systems (e.g., +# (Linux, VxWorks, iPhone OS) this API is part of libc in which case +# you don't need to link anything extra. On other platforms, the XDR +# API may require linking to another library (which you can add to the +# LIBS variable above), such as -lrpc (QNX, LynxOS) or -lnsl. On non- +# POSIX platforms you may need to install a third-party library which +# provides the XDR API. Also note that some older versions of the API +# (e.g., those found on LynxOS) may not support serialization of the +# long long type. In this case you will get a compilation error saying +# that xdr_longlong_t and xdr_u_longlong_t are not declared. One way to +# resolve this is to disable the use of the long long type in XSD/e (see +# XSDE_LONGLONG above). +# +XSDE_XDR := n + + +# Set to 'y' if you need to handle XML vocabularies that use XML Schema +# polymorphism (xsi:type or substitution groups). Also don't forget to +# use either --generate-polymorphic (generates polymorphism-aware code) +# or --runtime-polymorphic (generates non-polymorphic code that uses the +# runtime library configured with polymorphism support). Note that support +# for XML Schema polymorphism requires runtime static initialization +# support in the C++ compiler (that is, support for automatic calling +# of constructors for static objects). Furthermore, if the mixin reuse +# style is used (XSDE_REUSE_STYLE) then the generated code requires +# support for dynamic_cast. +# +XSDE_POLYMORPHIC := n + + +# When polymorphism support is enabled (XSDE_POLYMORPHIC), the following +# parameters control the substitution and inheritance hashmaps bucket +# allocation. Because the number of elements in these hashmaps depends +# on the schemas being compiled and thus is fairly static, these hashmaps +# do not perform automatic table resizing. To obtain good performance the +# elements to buckets ratio should be between 0.7 and 0.9. The recommended +# way to ensure this range is to add diagnostics code to your application +# as shown in the documentation and examples. It is also a good idea to +# use prime numbers for bucket counts: 53 97 193 389 769 1543 3079 6151 +# 12289 24593 49157 98317 196613 393241. Inheritance hashmaps are only +# used when validation is enabled. +# +XSDE_PARSER_SMAP_BUCKETS := 53 +XSDE_PARSER_IMAP_BUCKETS := 97 +XSDE_SERIALIZER_SMAP_BUCKETS := 53 +XSDE_SERIALIZER_SMAP_BUCKET_BUCKETS := 53 +XSDE_SERIALIZER_IMAP_BUCKETS := 97 + + +# Options tuning depending on the features selected. +# +ifeq ($(XSDE_EXCEPTIONS),y) +CFLAGS += -fexceptions +endif diff --git a/dist/etc/ios/config-device-ios-4.1.make b/dist/etc/ios/config-device-ios-4.1.make new file mode 100644 index 0000000..b494aee --- /dev/null +++ b/dist/etc/ios/config-device-ios-4.1.make @@ -0,0 +1,222 @@ +# Sample configuration file for iOS 4.1 device using XCode 3.2.x iOS SDK. +# +XCODE := /Developer +IPHONE_PLATFORM := $(XCODE)/Platforms/iPhoneOS.platform/Developer +IPHONE_SDK := $(IPHONE_PLATFORM)/SDKs/iPhoneOS4.1.sdk + +# Toolchain. +# +CC := $(IPHONE_PLATFORM)/usr/bin/gcc-4.2 +CFLAGS := -W -Wall -arch armv6 -fpascal-strings -Os -mthumb -isysroot $(IPHONE_SDK) +CPPFLAGS := + +CXX := $(IPHONE_PLATFORM)/usr/bin/g++-4.2 +CXXFLAGS := -W -Wall -arch armv6 -fpascal-strings -Os -mthumb -isysroot $(IPHONE_SDK) + +LD := $(CXX) +LDFLAGS := $(CXXFLAGS) +LIBS := + +# Optional post-link command. The first argument to this command is +# the executable name and the rest of the arguments are the object +# files and libraries that were used to link this executable. +# +POSTLD := + +# Set RANLIB to empty if your system does not need ranlib. +# +AR := $(IPHONE_PLATFORM)/usr/bin/ar +ARFLAGS := rc +RANLIB := $(IPHONE_PLATFORM)/usr/bin/ranlib + + +# Common XSD/e flags. +# +XSDFLAGS := --generate-inline + + +# Platform. Valid values are: +# +# 'wince' - Windows CE +# 'win32' - Windows 2000, XP, etc. +# 'posix' - POSIX OS, including UNIX/Linux, VxWorks, etc. +# +XSDE_PLATFORM := posix + + +# Platform architecture width in bits. +# +XSDE_ARCH_WIDTH := 32 + + +# Platform byte order. Valid values are 'b' for big-endian +# and 'l' for little-endian. +# +XSDE_BYTEORDER := l + + +# Application character encoding. Valid values are 'utf8' for UTF-8 +# and 'iso8859-1' for ISO-8859-1. Note that this encoding is not +# the same as the XML document encoding that is being parsed or +# serialized. Rather, it is the encoding that is used inside the +# application. When an XML document is parsed, the character data +# is automatically converted to the application encoding. Similarly, +# when an XML document is serialized, the data in the application +# encoding is automatically converted to the resulting document +# encoding. Also don't forget to use the --char-encoding option +# when compiling your schemas if using an encoding other than UTF-8. +# +XSDE_ENCODING := utf8 + + +# Set to 'n' if you don't have STL (std::string, etc.). Also don't +# forget to use the --no-stl option when compiling your schemas. +# +XSDE_STL := y + + +# Set to 'n' if you don't want iterators to conform to the STL +# requirements. This feature requires working header +# and allows you to use the standard algorithms such as find_if, +# etc. +# +XSDE_STL_ITERATOR := y + + +# Set to 'n' if you don't have iostream. +# +XSDE_IOSTREAM := y + + +# Set to 'n' if you don't have C++ exceptions. Also don't forget to +# use the --no-exceptions option when compiling your schemas. +# +XSDE_EXCEPTIONS := y + + +# Set to 'n' if your platform doesn't have the "long long int" type or +# the strtoull function. Also don't forget to use the --no-long-long +# option when compiling your schemas. +# +XSDE_LONGLONG := y + + +# Set to 'n' if your platform doesn't have the snprintf function. +# +XSDE_SNPRINTF := y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Parser. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_PARSER_VALIDATION := y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Serializer. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_SERIALIZER_VALIDATION := y + + +# Set to 'y' if you would like to have support for regular expressions in +# the XSD/e runtime. If the regexp support is enabled, then the parser and +# serializer validation code will use it to validate the xs:pattern facet. +# If the regexp support is disabled, then this facet will be ignored. The +# regexp support increases the resulting executable size by about 30-50Kb. +# +XSDE_REGEXP := n + + +# Base parser/serializer implementation reuse style. Valid values are: +# +# 'mixin' - virtual inheritance-based reuse (specify --reuse-style-mixin) +# 'tiein' - delegation-based reuse (recommended) +# 'none' - no reuse support (specify --reuse-style-none) +# +XSDE_REUSE_STYLE := tiein + + +# Set to 'y' if you would like the XSD/e runtime and the generated code +# to perform memory management using custom allocator functions provided +# by your application instead of the standard operator new/delete. Also +# don't forget to use the --custom-allocator option when compiling your +# schemas. See the documentation and examples for more information on +# custom allocators. +# +XSDE_CUSTOM_ALLOCATOR := n + + +# Set to 'y' if you would like to include the default implementation of the +# custom allocator into the XSD/e runtime library. This option is primarily +# useful for testing and only makes sense if XSDE_CUSTOM_ALLOCATOR is set +# to 'y'. +# +XSDE_DEFAULT_ALLOCATOR := n + + +# Set to 'y' if you want support for serialization of the C++/Hybrid +# object model to the CDR (Common Data Representation) binary format. +# This functionality requires the ACE library. +# +XSDE_CDR := n + + +# Set to 'y' if you want support for serialization of the C++/Hybrid +# object model to the XDR (eXternal Data Representation) binary format. +# This functionality requires the XDR API which is available out of the +# box on most POSIX systems as part of Sun RPC. On some systems (e.g., +# (Linux, VxWorks, iPhone OS) this API is part of libc in which case +# you don't need to link anything extra. On other platforms, the XDR +# API may require linking to another library (which you can add to the +# LIBS variable above), such as -lrpc (QNX, LynxOS) or -lnsl. On non- +# POSIX platforms you may need to install a third-party library which +# provides the XDR API. Also note that some older versions of the API +# (e.g., those found on LynxOS) may not support serialization of the +# long long type. In this case you will get a compilation error saying +# that xdr_longlong_t and xdr_u_longlong_t are not declared. One way to +# resolve this is to disable the use of the long long type in XSD/e (see +# XSDE_LONGLONG above). +# +XSDE_XDR := n + + +# Set to 'y' if you need to handle XML vocabularies that use XML Schema +# polymorphism (xsi:type or substitution groups). Also don't forget to +# use either --generate-polymorphic (generates polymorphism-aware code) +# or --runtime-polymorphic (generates non-polymorphic code that uses the +# runtime library configured with polymorphism support). Note that support +# for XML Schema polymorphism requires runtime static initialization +# support in the C++ compiler (that is, support for automatic calling +# of constructors for static objects). Furthermore, if the mixin reuse +# style is used (XSDE_REUSE_STYLE) then the generated code requires +# support for dynamic_cast. +# +XSDE_POLYMORPHIC := n + + +# When polymorphism support is enabled (XSDE_POLYMORPHIC), the following +# parameters control the substitution and inheritance hashmaps bucket +# allocation. Because the number of elements in these hashmaps depends +# on the schemas being compiled and thus is fairly static, these hashmaps +# do not perform automatic table resizing. To obtain good performance the +# elements to buckets ratio should be between 0.7 and 0.9. The recommended +# way to ensure this range is to add diagnostics code to your application +# as shown in the documentation and examples. It is also a good idea to +# use prime numbers for bucket counts: 53 97 193 389 769 1543 3079 6151 +# 12289 24593 49157 98317 196613 393241. Inheritance hashmaps are only +# used when validation is enabled. +# +XSDE_PARSER_SMAP_BUCKETS := 53 +XSDE_PARSER_IMAP_BUCKETS := 97 +XSDE_SERIALIZER_SMAP_BUCKETS := 53 +XSDE_SERIALIZER_SMAP_BUCKET_BUCKETS := 53 +XSDE_SERIALIZER_IMAP_BUCKETS := 97 + + +# Options tuning depending on the features selected. +# +ifeq ($(XSDE_EXCEPTIONS),y) +CFLAGS += -fexceptions +endif diff --git a/dist/etc/ios/config-simulator-ios-2.0.make b/dist/etc/ios/config-simulator-ios-2.0.make new file mode 100644 index 0000000..b8e49e9 --- /dev/null +++ b/dist/etc/ios/config-simulator-ios-2.0.make @@ -0,0 +1,223 @@ +# Sample configuration file for iPhone OS 2.0 simulator using XCode 3.1.x +# iPhone SDK. +# +XCODE := /Developer +IPHONE_PLATFORM := $(XCODE)/Platforms/iPhoneSimulator.platform/Developer +IPHONE_SDK := $(IPHONE_PLATFORM)/SDKs/iPhoneSimulator2.0.sdk + +# Toolchain. +# +CC := $(IPHONE_PLATFORM)/usr/bin/i686-apple-darwin9-gcc-4.0.1 +CFLAGS := -W -Wall -arch i386 -O3 -isysroot $(IPHONE_SDK) +CPPFLAGS := + +CXX := $(IPHONE_PLATFORM)/usr/bin/i686-apple-darwin9-g++-4.0.1 +CXXFLAGS := -W -Wall -arch i386 -O3 -isysroot $(IPHONE_SDK) + +LD := $(CXX) +LDFLAGS := $(CXXFLAGS) +LIBS := + +# Optional post-link command. The first argument to this command is +# the executable name and the rest of the arguments are the object +# files and libraries that were used to link this executable. +# +POSTLD := + +# Set RANLIB to empty if your system does not need ranlib. +# +AR := $(IPHONE_PLATFORM)/usr/bin/ar +ARFLAGS := rc +RANLIB := $(IPHONE_PLATFORM)/usr/bin/ranlib + + +# Common XSD/e flags. +# +XSDFLAGS := --generate-inline + + +# Platform. Valid values are: +# +# 'wince' - Windows CE +# 'win32' - Windows 2000, XP, etc. +# 'posix' - POSIX OS, including UNIX/Linux, VxWorks, etc. +# +XSDE_PLATFORM := posix + + +# Platform architecture width in bits. +# +XSDE_ARCH_WIDTH := 32 + + +# Platform byte order. Valid values are 'b' for big-endian +# and 'l' for little-endian. +# +XSDE_BYTEORDER := l + + +# Application character encoding. Valid values are 'utf8' for UTF-8 +# and 'iso8859-1' for ISO-8859-1. Note that this encoding is not +# the same as the XML document encoding that is being parsed or +# serialized. Rather, it is the encoding that is used inside the +# application. When an XML document is parsed, the character data +# is automatically converted to the application encoding. Similarly, +# when an XML document is serialized, the data in the application +# encoding is automatically converted to the resulting document +# encoding. Also don't forget to use the --char-encoding option +# when compiling your schemas if using an encoding other than UTF-8. +# +XSDE_ENCODING := utf8 + + +# Set to 'n' if you don't have STL (std::string, etc.). Also don't +# forget to use the --no-stl option when compiling your schemas. +# +XSDE_STL := y + + +# Set to 'n' if you don't want iterators to conform to the STL +# requirements. This feature requires working header +# and allows you to use the standard algorithms such as find_if, +# etc. +# +XSDE_STL_ITERATOR := y + + +# Set to 'n' if you don't have iostream. +# +XSDE_IOSTREAM := y + + +# Set to 'n' if you don't have C++ exceptions. Also don't forget to +# use the --no-exceptions option when compiling your schemas. +# +XSDE_EXCEPTIONS := y + + +# Set to 'n' if your platform doesn't have the "long long int" type or +# the strtoull function. Also don't forget to use the --no-long-long +# option when compiling your schemas. +# +XSDE_LONGLONG := y + + +# Set to 'n' if your platform doesn't have the snprintf function. +# +XSDE_SNPRINTF := y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Parser. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_PARSER_VALIDATION := y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Serializer. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_SERIALIZER_VALIDATION := y + + +# Set to 'y' if you would like to have support for regular expressions in +# the XSD/e runtime. If the regexp support is enabled, then the parser and +# serializer validation code will use it to validate the xs:pattern facet. +# If the regexp support is disabled, then this facet will be ignored. The +# regexp support increases the resulting executable size by about 30-50Kb. +# +XSDE_REGEXP := n + + +# Base parser/serializer implementation reuse style. Valid values are: +# +# 'mixin' - virtual inheritance-based reuse (specify --reuse-style-mixin) +# 'tiein' - delegation-based reuse (recommended) +# 'none' - no reuse support (specify --reuse-style-none) +# +XSDE_REUSE_STYLE := tiein + + +# Set to 'y' if you would like the XSD/e runtime and the generated code +# to perform memory management using custom allocator functions provided +# by your application instead of the standard operator new/delete. Also +# don't forget to use the --custom-allocator option when compiling your +# schemas. See the documentation and examples for more information on +# custom allocators. +# +XSDE_CUSTOM_ALLOCATOR := n + + +# Set to 'y' if you would like to include the default implementation of the +# custom allocator into the XSD/e runtime library. This option is primarily +# useful for testing and only makes sense if XSDE_CUSTOM_ALLOCATOR is set +# to 'y'. +# +XSDE_DEFAULT_ALLOCATOR := n + + +# Set to 'y' if you want support for serialization of the C++/Hybrid +# object model to the CDR (Common Data Representation) binary format. +# This functionality requires the ACE library. +# +XSDE_CDR := n + + +# Set to 'y' if you want support for serialization of the C++/Hybrid +# object model to the XDR (eXternal Data Representation) binary format. +# This functionality requires the XDR API which is available out of the +# box on most POSIX systems as part of Sun RPC. On some systems (e.g., +# (Linux, VxWorks, iPhone OS) this API is part of libc in which case +# you don't need to link anything extra. On other platforms, the XDR +# API may require linking to another library (which you can add to the +# LIBS variable above), such as -lrpc (QNX, LynxOS) or -lnsl. On non- +# POSIX platforms you may need to install a third-party library which +# provides the XDR API. Also note that some older versions of the API +# (e.g., those found on LynxOS) may not support serialization of the +# long long type. In this case you will get a compilation error saying +# that xdr_longlong_t and xdr_u_longlong_t are not declared. One way to +# resolve this is to disable the use of the long long type in XSD/e (see +# XSDE_LONGLONG above). +# +XSDE_XDR := n + + +# Set to 'y' if you need to handle XML vocabularies that use XML Schema +# polymorphism (xsi:type or substitution groups). Also don't forget to +# use either --generate-polymorphic (generates polymorphism-aware code) +# or --runtime-polymorphic (generates non-polymorphic code that uses the +# runtime library configured with polymorphism support). Note that support +# for XML Schema polymorphism requires runtime static initialization +# support in the C++ compiler (that is, support for automatic calling +# of constructors for static objects). Furthermore, if the mixin reuse +# style is used (XSDE_REUSE_STYLE) then the generated code requires +# support for dynamic_cast. +# +XSDE_POLYMORPHIC := n + + +# When polymorphism support is enabled (XSDE_POLYMORPHIC), the following +# parameters control the substitution and inheritance hashmaps bucket +# allocation. Because the number of elements in these hashmaps depends +# on the schemas being compiled and thus is fairly static, these hashmaps +# do not perform automatic table resizing. To obtain good performance the +# elements to buckets ratio should be between 0.7 and 0.9. The recommended +# way to ensure this range is to add diagnostics code to your application +# as shown in the documentation and examples. It is also a good idea to +# use prime numbers for bucket counts: 53 97 193 389 769 1543 3079 6151 +# 12289 24593 49157 98317 196613 393241. Inheritance hashmaps are only +# used when validation is enabled. +# +XSDE_PARSER_SMAP_BUCKETS := 53 +XSDE_PARSER_IMAP_BUCKETS := 97 +XSDE_SERIALIZER_SMAP_BUCKETS := 53 +XSDE_SERIALIZER_SMAP_BUCKET_BUCKETS := 53 +XSDE_SERIALIZER_IMAP_BUCKETS := 97 + + +# Options tuning depending on the features selected. +# +ifeq ($(XSDE_EXCEPTIONS),y) +CFLAGS += -fexceptions +endif diff --git a/dist/etc/ios/config-simulator-ios-4.1.make b/dist/etc/ios/config-simulator-ios-4.1.make new file mode 100644 index 0000000..db732dc --- /dev/null +++ b/dist/etc/ios/config-simulator-ios-4.1.make @@ -0,0 +1,222 @@ +# Sample configuration file for iOS 4.1 simulator using XCode 3.2.x iOS SDK. +# +XCODE := /Developer +IPHONE_PLATFORM := $(XCODE)/Platforms/iPhoneSimulator.platform/Developer +IPHONE_SDK := $(IPHONE_PLATFORM)/SDKs/iPhoneSimulator4.1.sdk + +# Toolchain. +# +CC := $(IPHONE_PLATFORM)/usr/bin/gcc-4.2 +CFLAGS := -W -Wall -arch i386 -fpascal-strings -fasm-blocks -Os -isysroot $(IPHONE_SDK) +CPPFLAGS := + +CXX := $(IPHONE_PLATFORM)/usr/bin/g++-4.2 +CXXFLAGS := -W -Wall -arch i386 -fpascal-strings -fasm-blocks -Os -isysroot $(IPHONE_SDK) + +LD := $(CXX) +LDFLAGS := $(CXXFLAGS) +LIBS := + +# Optional post-link command. The first argument to this command is +# the executable name and the rest of the arguments are the object +# files and libraries that were used to link this executable. +# +POSTLD := + +# Set RANLIB to empty if your system does not need ranlib. +# +AR := $(IPHONE_PLATFORM)/usr/bin/ar +ARFLAGS := rc +RANLIB := $(IPHONE_PLATFORM)/usr/bin/ranlib + + +# Common XSD/e flags. +# +XSDFLAGS := --generate-inline + + +# Platform. Valid values are: +# +# 'wince' - Windows CE +# 'win32' - Windows 2000, XP, etc. +# 'posix' - POSIX OS, including UNIX/Linux, VxWorks, etc. +# +XSDE_PLATFORM := posix + + +# Platform architecture width in bits. +# +XSDE_ARCH_WIDTH := 32 + + +# Platform byte order. Valid values are 'b' for big-endian +# and 'l' for little-endian. +# +XSDE_BYTEORDER := l + + +# Application character encoding. Valid values are 'utf8' for UTF-8 +# and 'iso8859-1' for ISO-8859-1. Note that this encoding is not +# the same as the XML document encoding that is being parsed or +# serialized. Rather, it is the encoding that is used inside the +# application. When an XML document is parsed, the character data +# is automatically converted to the application encoding. Similarly, +# when an XML document is serialized, the data in the application +# encoding is automatically converted to the resulting document +# encoding. Also don't forget to use the --char-encoding option +# when compiling your schemas if using an encoding other than UTF-8. +# +XSDE_ENCODING := utf8 + + +# Set to 'n' if you don't have STL (std::string, etc.). Also don't +# forget to use the --no-stl option when compiling your schemas. +# +XSDE_STL := y + + +# Set to 'n' if you don't want iterators to conform to the STL +# requirements. This feature requires working header +# and allows you to use the standard algorithms such as find_if, +# etc. +# +XSDE_STL_ITERATOR := y + + +# Set to 'n' if you don't have iostream. +# +XSDE_IOSTREAM := y + + +# Set to 'n' if you don't have C++ exceptions. Also don't forget to +# use the --no-exceptions option when compiling your schemas. +# +XSDE_EXCEPTIONS := y + + +# Set to 'n' if your platform doesn't have the "long long int" type or +# the strtoull function. Also don't forget to use the --no-long-long +# option when compiling your schemas. +# +XSDE_LONGLONG := y + + +# Set to 'n' if your platform doesn't have the snprintf function. +# +XSDE_SNPRINTF := y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Parser. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_PARSER_VALIDATION := y + + +# Set to 'n' if you don't want support for XML Schema validation in +# C++/Serializer. Also don't forget to use the --suppress-validation +# option when compiling your schemas. +# +XSDE_SERIALIZER_VALIDATION := y + + +# Set to 'y' if you would like to have support for regular expressions in +# the XSD/e runtime. If the regexp support is enabled, then the parser and +# serializer validation code will use it to validate the xs:pattern facet. +# If the regexp support is disabled, then this facet will be ignored. The +# regexp support increases the resulting executable size by about 30-50Kb. +# +XSDE_REGEXP := n + + +# Base parser/serializer implementation reuse style. Valid values are: +# +# 'mixin' - virtual inheritance-based reuse (specify --reuse-style-mixin) +# 'tiein' - delegation-based reuse (recommended) +# 'none' - no reuse support (specify --reuse-style-none) +# +XSDE_REUSE_STYLE := tiein + + +# Set to 'y' if you would like the XSD/e runtime and the generated code +# to perform memory management using custom allocator functions provided +# by your application instead of the standard operator new/delete. Also +# don't forget to use the --custom-allocator option when compiling your +# schemas. See the documentation and examples for more information on +# custom allocators. +# +XSDE_CUSTOM_ALLOCATOR := n + + +# Set to 'y' if you would like to include the default implementation of the +# custom allocator into the XSD/e runtime library. This option is primarily +# useful for testing and only makes sense if XSDE_CUSTOM_ALLOCATOR is set +# to 'y'. +# +XSDE_DEFAULT_ALLOCATOR := n + + +# Set to 'y' if you want support for serialization of the C++/Hybrid +# object model to the CDR (Common Data Representation) binary format. +# This functionality requires the ACE library. +# +XSDE_CDR := n + + +# Set to 'y' if you want support for serialization of the C++/Hybrid +# object model to the XDR (eXternal Data Representation) binary format. +# This functionality requires the XDR API which is available out of the +# box on most POSIX systems as part of Sun RPC. On some systems (e.g., +# (Linux, VxWorks, iPhone OS) this API is part of libc in which case +# you don't need to link anything extra. On other platforms, the XDR +# API may require linking to another library (which you can add to the +# LIBS variable above), such as -lrpc (QNX, LynxOS) or -lnsl. On non- +# POSIX platforms you may need to install a third-party library which +# provides the XDR API. Also note that some older versions of the API +# (e.g., those found on LynxOS) may not support serialization of the +# long long type. In this case you will get a compilation error saying +# that xdr_longlong_t and xdr_u_longlong_t are not declared. One way to +# resolve this is to disable the use of the long long type in XSD/e (see +# XSDE_LONGLONG above). +# +XSDE_XDR := n + + +# Set to 'y' if you need to handle XML vocabularies that use XML Schema +# polymorphism (xsi:type or substitution groups). Also don't forget to +# use either --generate-polymorphic (generates polymorphism-aware code) +# or --runtime-polymorphic (generates non-polymorphic code that uses the +# runtime library configured with polymorphism support). Note that support +# for XML Schema polymorphism requires runtime static initialization +# support in the C++ compiler (that is, support for automatic calling +# of constructors for static objects). Furthermore, if the mixin reuse +# style is used (XSDE_REUSE_STYLE) then the generated code requires +# support for dynamic_cast. +# +XSDE_POLYMORPHIC := n + + +# When polymorphism support is enabled (XSDE_POLYMORPHIC), the following +# parameters control the substitution and inheritance hashmaps bucket +# allocation. Because the number of elements in these hashmaps depends +# on the schemas being compiled and thus is fairly static, these hashmaps +# do not perform automatic table resizing. To obtain good performance the +# elements to buckets ratio should be between 0.7 and 0.9. The recommended +# way to ensure this range is to add diagnostics code to your application +# as shown in the documentation and examples. It is also a good idea to +# use prime numbers for bucket counts: 53 97 193 389 769 1543 3079 6151 +# 12289 24593 49157 98317 196613 393241. Inheritance hashmaps are only +# used when validation is enabled. +# +XSDE_PARSER_SMAP_BUCKETS := 53 +XSDE_PARSER_IMAP_BUCKETS := 97 +XSDE_SERIALIZER_SMAP_BUCKETS := 53 +XSDE_SERIALIZER_SMAP_BUCKET_BUCKETS := 53 +XSDE_SERIALIZER_IMAP_BUCKETS := 97 + + +# Options tuning depending on the features selected. +# +ifeq ($(XSDE_EXCEPTIONS),y) +CFLAGS += -fexceptions +endif diff --git a/dist/etc/iphone/config-device.make b/dist/etc/iphone/config-device.make deleted file mode 100644 index 09a7c26..0000000 --- a/dist/etc/iphone/config-device.make +++ /dev/null @@ -1,223 +0,0 @@ -# Sample configuration file for iPhone OS 2.x using XCode 3.1.x iPhone -# SDK. -# -XCODE := /Developer -IPHONE_PLATFORM := $(XCODE)/Platforms/iPhoneOS.platform/Developer -IPHONE_SDK := $(IPHONE_PLATFORM)/SDKs/iPhoneOS2.0.sdk - -# Toolchain. -# -CC := $(IPHONE_PLATFORM)/usr/bin/arm-apple-darwin9-gcc-4.0.1 -CFLAGS := -W -Wall -arch armv6 -O3 -isysroot $(IPHONE_SDK) -CPPFLAGS := - -CXX := $(IPHONE_PLATFORM)/usr/bin/arm-apple-darwin9-g++-4.0.1 -CXXFLAGS := -W -Wall -arch armv6 -O3 -isysroot $(IPHONE_SDK) - -LD := $(CXX) -LDFLAGS := $(CXXFLAGS) -LIBS := - -# Optional post-link command. The first argument to this command is -# the executable name and the rest of the arguments are the object -# files and libraries that were used to link this executable. -# -POSTLD := - -# Set RANLIB to empty if your system does not need ranlib. -# -AR := $(IPHONE_PLATFORM)/usr/bin/ar -ARFLAGS := rc -RANLIB := $(IPHONE_PLATFORM)/usr/bin/ranlib - - -# Common XSD/e flags. -# -XSDFLAGS := --generate-inline - - -# Platform. Valid values are: -# -# 'wince' - Windows CE -# 'win32' - Windows 2000, XP, etc. -# 'posix' - POSIX OS, including UNIX/Linux, VxWorks, etc. -# -XSDE_PLATFORM := posix - - -# Platform architecture width in bits. -# -XSDE_ARCH_WIDTH := 32 - - -# Platform byte order. Valid values are 'b' for big-endian -# and 'l' for little-endian. -# -XSDE_BYTEORDER := l - - -# Application character encoding. Valid values are 'utf8' for UTF-8 -# and 'iso8859-1' for ISO-8859-1. Note that this encoding is not -# the same as the XML document encoding that is being parsed or -# serialized. Rather, it is the encoding that is used inside the -# application. When an XML document is parsed, the character data -# is automatically converted to the application encoding. Similarly, -# when an XML document is serialized, the data in the application -# encoding is automatically converted to the resulting document -# encoding. Also don't forget to use the --char-encoding option -# when compiling your schemas if using an encoding other than UTF-8. -# -XSDE_ENCODING := utf8 - - -# Set to 'n' if you don't have STL (std::string, etc.). Also don't -# forget to use the --no-stl option when compiling your schemas. -# -XSDE_STL := y - - -# Set to 'n' if you don't want iterators to conform to the STL -# requirements. This feature requires working header -# and allows you to use the standard algorithms such as find_if, -# etc. -# -XSDE_STL_ITERATOR := y - - -# Set to 'n' if you don't have iostream. -# -XSDE_IOSTREAM := y - - -# Set to 'n' if you don't have C++ exceptions. Also don't forget to -# use the --no-exceptions option when compiling your schemas. -# -XSDE_EXCEPTIONS := y - - -# Set to 'n' if your platform doesn't have the "long long int" type or -# the strtoull function. Also don't forget to use the --no-long-long -# option when compiling your schemas. -# -XSDE_LONGLONG := y - - -# Set to 'n' if your platform doesn't have the snprintf function. -# -XSDE_SNPRINTF := y - - -# Set to 'n' if you don't want support for XML Schema validation in -# C++/Parser. Also don't forget to use the --suppress-validation -# option when compiling your schemas. -# -XSDE_PARSER_VALIDATION := y - - -# Set to 'n' if you don't want support for XML Schema validation in -# C++/Serializer. Also don't forget to use the --suppress-validation -# option when compiling your schemas. -# -XSDE_SERIALIZER_VALIDATION := y - - -# Set to 'y' if you would like to have support for regular expressions in -# the XSD/e runtime. If the regexp support is enabled, then the parser and -# serializer validation code will use it to validate the xs:pattern facet. -# If the regexp support is disabled, then this facet will be ignored. The -# regexp support increases the resulting executable size by about 30-50Kb. -# -XSDE_REGEXP := n - - -# Base parser/serializer implementation reuse style. Valid values are: -# -# 'mixin' - virtual inheritance-based reuse (specify --reuse-style-mixin) -# 'tiein' - delegation-based reuse (recommended) -# 'none' - no reuse support (specify --reuse-style-none) -# -XSDE_REUSE_STYLE := tiein - - -# Set to 'y' if you would like the XSD/e runtime and the generated code -# to perform memory management using custom allocator functions provided -# by your application instead of the standard operator new/delete. Also -# don't forget to use the --custom-allocator option when compiling your -# schemas. See the documentation and examples for more information on -# custom allocators. -# -XSDE_CUSTOM_ALLOCATOR := n - - -# Set to 'y' if you would like to include the default implementation of the -# custom allocator into the XSD/e runtime library. This option is primarily -# useful for testing and only makes sense if XSDE_CUSTOM_ALLOCATOR is set -# to 'y'. -# -XSDE_DEFAULT_ALLOCATOR := n - - -# Set to 'y' if you want support for serialization of the C++/Hybrid -# object model to the CDR (Common Data Representation) binary format. -# This functionality requires the ACE library. -# -XSDE_CDR := n - - -# Set to 'y' if you want support for serialization of the C++/Hybrid -# object model to the XDR (eXternal Data Representation) binary format. -# This functionality requires the XDR API which is available out of the -# box on most POSIX systems as part of Sun RPC. On some systems (e.g., -# (Linux, VxWorks, iPhone OS) this API is part of libc in which case -# you don't need to link anything extra. On other platforms, the XDR -# API may require linking to another library (which you can add to the -# LIBS variable above), such as -lrpc (QNX, LynxOS) or -lnsl. On non- -# POSIX platforms you may need to install a third-party library which -# provides the XDR API. Also note that some older versions of the API -# (e.g., those found on LynxOS) may not support serialization of the -# long long type. In this case you will get a compilation error saying -# that xdr_longlong_t and xdr_u_longlong_t are not declared. One way to -# resolve this is to disable the use of the long long type in XSD/e (see -# XSDE_LONGLONG above). -# -XSDE_XDR := n - - -# Set to 'y' if you need to handle XML vocabularies that use XML Schema -# polymorphism (xsi:type or substitution groups). Also don't forget to -# use either --generate-polymorphic (generates polymorphism-aware code) -# or --runtime-polymorphic (generates non-polymorphic code that uses the -# runtime library configured with polymorphism support). Note that support -# for XML Schema polymorphism requires runtime static initialization -# support in the C++ compiler (that is, support for automatic calling -# of constructors for static objects). Furthermore, if the mixin reuse -# style is used (XSDE_REUSE_STYLE) then the generated code requires -# support for dynamic_cast. -# -XSDE_POLYMORPHIC := n - - -# When polymorphism support is enabled (XSDE_POLYMORPHIC), the following -# parameters control the substitution and inheritance hashmaps bucket -# allocation. Because the number of elements in these hashmaps depends -# on the schemas being compiled and thus is fairly static, these hashmaps -# do not perform automatic table resizing. To obtain good performance the -# elements to buckets ratio should be between 0.7 and 0.9. The recommended -# way to ensure this range is to add diagnostics code to your application -# as shown in the documentation and examples. It is also a good idea to -# use prime numbers for bucket counts: 53 97 193 389 769 1543 3079 6151 -# 12289 24593 49157 98317 196613 393241. Inheritance hashmaps are only -# used when validation is enabled. -# -XSDE_PARSER_SMAP_BUCKETS := 53 -XSDE_PARSER_IMAP_BUCKETS := 97 -XSDE_SERIALIZER_SMAP_BUCKETS := 53 -XSDE_SERIALIZER_SMAP_BUCKET_BUCKETS := 53 -XSDE_SERIALIZER_IMAP_BUCKETS := 97 - - -# Options tuning depending on the features selected. -# -ifeq ($(XSDE_EXCEPTIONS),y) -CFLAGS += -fexceptions -endif diff --git a/dist/etc/iphone/config-simulator.make b/dist/etc/iphone/config-simulator.make deleted file mode 100644 index 803e04f..0000000 --- a/dist/etc/iphone/config-simulator.make +++ /dev/null @@ -1,223 +0,0 @@ -# Sample configuration file for iPhone Simulator 2.x using XCode 3.1.x -# iPhone SDK. -# -XCODE := /Developer -IPHONE_PLATFORM := $(XCODE)/Platforms/iPhoneSimulator.platform/Developer -IPHONE_SDK := $(IPHONE_PLATFORM)/SDKs/iPhoneSimulator2.0.sdk - -# Toolchain. -# -CC := $(IPHONE_PLATFORM)/usr/bin/i686-apple-darwin9-gcc-4.0.1 -CFLAGS := -W -Wall -arch i386 -O3 -isysroot $(IPHONE_SDK) -CPPFLAGS := - -CXX := $(IPHONE_PLATFORM)/usr/bin/i686-apple-darwin9-g++-4.0.1 -CXXFLAGS := -W -Wall -arch i386 -O3 -isysroot $(IPHONE_SDK) - -LD := $(CXX) -LDFLAGS := $(CXXFLAGS) -LIBS := - -# Optional post-link command. The first argument to this command is -# the executable name and the rest of the arguments are the object -# files and libraries that were used to link this executable. -# -POSTLD := - -# Set RANLIB to empty if your system does not need ranlib. -# -AR := $(IPHONE_PLATFORM)/usr/bin/ar -ARFLAGS := rc -RANLIB := $(IPHONE_PLATFORM)/usr/bin/ranlib - - -# Common XSD/e flags. -# -XSDFLAGS := --generate-inline - - -# Platform. Valid values are: -# -# 'wince' - Windows CE -# 'win32' - Windows 2000, XP, etc. -# 'posix' - POSIX OS, including UNIX/Linux, VxWorks, etc. -# -XSDE_PLATFORM := posix - - -# Platform architecture width in bits. -# -XSDE_ARCH_WIDTH := 32 - - -# Platform byte order. Valid values are 'b' for big-endian -# and 'l' for little-endian. -# -XSDE_BYTEORDER := l - - -# Application character encoding. Valid values are 'utf8' for UTF-8 -# and 'iso8859-1' for ISO-8859-1. Note that this encoding is not -# the same as the XML document encoding that is being parsed or -# serialized. Rather, it is the encoding that is used inside the -# application. When an XML document is parsed, the character data -# is automatically converted to the application encoding. Similarly, -# when an XML document is serialized, the data in the application -# encoding is automatically converted to the resulting document -# encoding. Also don't forget to use the --char-encoding option -# when compiling your schemas if using an encoding other than UTF-8. -# -XSDE_ENCODING := utf8 - - -# Set to 'n' if you don't have STL (std::string, etc.). Also don't -# forget to use the --no-stl option when compiling your schemas. -# -XSDE_STL := y - - -# Set to 'n' if you don't want iterators to conform to the STL -# requirements. This feature requires working header -# and allows you to use the standard algorithms such as find_if, -# etc. -# -XSDE_STL_ITERATOR := y - - -# Set to 'n' if you don't have iostream. -# -XSDE_IOSTREAM := y - - -# Set to 'n' if you don't have C++ exceptions. Also don't forget to -# use the --no-exceptions option when compiling your schemas. -# -XSDE_EXCEPTIONS := y - - -# Set to 'n' if your platform doesn't have the "long long int" type or -# the strtoull function. Also don't forget to use the --no-long-long -# option when compiling your schemas. -# -XSDE_LONGLONG := y - - -# Set to 'n' if your platform doesn't have the snprintf function. -# -XSDE_SNPRINTF := y - - -# Set to 'n' if you don't want support for XML Schema validation in -# C++/Parser. Also don't forget to use the --suppress-validation -# option when compiling your schemas. -# -XSDE_PARSER_VALIDATION := y - - -# Set to 'n' if you don't want support for XML Schema validation in -# C++/Serializer. Also don't forget to use the --suppress-validation -# option when compiling your schemas. -# -XSDE_SERIALIZER_VALIDATION := y - - -# Set to 'y' if you would like to have support for regular expressions in -# the XSD/e runtime. If the regexp support is enabled, then the parser and -# serializer validation code will use it to validate the xs:pattern facet. -# If the regexp support is disabled, then this facet will be ignored. The -# regexp support increases the resulting executable size by about 30-50Kb. -# -XSDE_REGEXP := n - - -# Base parser/serializer implementation reuse style. Valid values are: -# -# 'mixin' - virtual inheritance-based reuse (specify --reuse-style-mixin) -# 'tiein' - delegation-based reuse (recommended) -# 'none' - no reuse support (specify --reuse-style-none) -# -XSDE_REUSE_STYLE := tiein - - -# Set to 'y' if you would like the XSD/e runtime and the generated code -# to perform memory management using custom allocator functions provided -# by your application instead of the standard operator new/delete. Also -# don't forget to use the --custom-allocator option when compiling your -# schemas. See the documentation and examples for more information on -# custom allocators. -# -XSDE_CUSTOM_ALLOCATOR := n - - -# Set to 'y' if you would like to include the default implementation of the -# custom allocator into the XSD/e runtime library. This option is primarily -# useful for testing and only makes sense if XSDE_CUSTOM_ALLOCATOR is set -# to 'y'. -# -XSDE_DEFAULT_ALLOCATOR := n - - -# Set to 'y' if you want support for serialization of the C++/Hybrid -# object model to the CDR (Common Data Representation) binary format. -# This functionality requires the ACE library. -# -XSDE_CDR := n - - -# Set to 'y' if you want support for serialization of the C++/Hybrid -# object model to the XDR (eXternal Data Representation) binary format. -# This functionality requires the XDR API which is available out of the -# box on most POSIX systems as part of Sun RPC. On some systems (e.g., -# (Linux, VxWorks, iPhone OS) this API is part of libc in which case -# you don't need to link anything extra. On other platforms, the XDR -# API may require linking to another library (which you can add to the -# LIBS variable above), such as -lrpc (QNX, LynxOS) or -lnsl. On non- -# POSIX platforms you may need to install a third-party library which -# provides the XDR API. Also note that some older versions of the API -# (e.g., those found on LynxOS) may not support serialization of the -# long long type. In this case you will get a compilation error saying -# that xdr_longlong_t and xdr_u_longlong_t are not declared. One way to -# resolve this is to disable the use of the long long type in XSD/e (see -# XSDE_LONGLONG above). -# -XSDE_XDR := n - - -# Set to 'y' if you need to handle XML vocabularies that use XML Schema -# polymorphism (xsi:type or substitution groups). Also don't forget to -# use either --generate-polymorphic (generates polymorphism-aware code) -# or --runtime-polymorphic (generates non-polymorphic code that uses the -# runtime library configured with polymorphism support). Note that support -# for XML Schema polymorphism requires runtime static initialization -# support in the C++ compiler (that is, support for automatic calling -# of constructors for static objects). Furthermore, if the mixin reuse -# style is used (XSDE_REUSE_STYLE) then the generated code requires -# support for dynamic_cast. -# -XSDE_POLYMORPHIC := n - - -# When polymorphism support is enabled (XSDE_POLYMORPHIC), the following -# parameters control the substitution and inheritance hashmaps bucket -# allocation. Because the number of elements in these hashmaps depends -# on the schemas being compiled and thus is fairly static, these hashmaps -# do not perform automatic table resizing. To obtain good performance the -# elements to buckets ratio should be between 0.7 and 0.9. The recommended -# way to ensure this range is to add diagnostics code to your application -# as shown in the documentation and examples. It is also a good idea to -# use prime numbers for bucket counts: 53 97 193 389 769 1543 3079 6151 -# 12289 24593 49157 98317 196613 393241. Inheritance hashmaps are only -# used when validation is enabled. -# -XSDE_PARSER_SMAP_BUCKETS := 53 -XSDE_PARSER_IMAP_BUCKETS := 97 -XSDE_SERIALIZER_SMAP_BUCKETS := 53 -XSDE_SERIALIZER_SMAP_BUCKET_BUCKETS := 53 -XSDE_SERIALIZER_IMAP_BUCKETS := 97 - - -# Options tuning depending on the features selected. -# -ifeq ($(XSDE_EXCEPTIONS),y) -CFLAGS += -fexceptions -endif -- cgit v1.1