summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2015-04-07 10:11:12 -0230
committerMatthew Newhook <matthew@zeroc.com>2015-04-07 10:11:12 -0230
commitd3263a9eca634577015acd488b10ca2850ca35d8 (patch)
treefb51bb80a70e17f6b2b8801c9e66e5f232116d45
parentCHANGELOG updates (diff)
downloadice-d3263a9eca634577015acd488b10ca2850ca35d8.tar.bz2
ice-d3263a9eca634577015acd488b10ca2850ca35d8.tar.xz
ice-d3263a9eca634577015acd488b10ca2850ca35d8.zip
Removed makegem and makepy scripts and associated support files.
-rwxr-xr-xdistribution/bin/makegem.py261
-rwxr-xr-xdistribution/bin/makepy.py233
-rw-r--r--distribution/python/MANIFEST.in2
-rw-r--r--distribution/python/README.rst68
-rw-r--r--distribution/python/setup.cfg0
-rw-r--r--distribution/python/setup.py164
-rwxr-xr-xdistribution/python/slice2py.py18
-rw-r--r--distribution/python/src/mcpp/Makefile37
-rw-r--r--distribution/python/src/mcpp/config.h.Darwin227
-rw-r--r--distribution/python/src/mcpp/config.h.Linux227
-rw-r--r--distribution/python/src/mcpp/config.h.win327
-rw-r--r--distribution/ruby/extconf.rb118
-rw-r--r--distribution/ruby/ice-x64-mingw.gemspec41
-rw-r--r--distribution/ruby/ice-x86-mingw.gemspec41
-rw-r--r--distribution/ruby/ice.gemspec41
-rwxr-xr-xdistribution/ruby/slice2rb17
-rw-r--r--distribution/ruby/src/mcpp/config.h.Darwin227
-rw-r--r--distribution/ruby/src/mcpp/config.h.Linux227
-rw-r--r--distribution/ruby/src/mcpp/config.h.MINGW7
19 files changed, 0 insertions, 1963 deletions
diff --git a/distribution/bin/makegem.py b/distribution/bin/makegem.py
deleted file mode 100755
index 024cba0f805..00000000000
--- a/distribution/bin/makegem.py
+++ /dev/null
@@ -1,261 +0,0 @@
-#!/usr/bin/env python
-# **********************************************************************
-#
-# Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
-#
-# This copy of Ice is licensed to you under the terms described in the
-# ICE_LICENSE file included in this distribution.
-#
-# **********************************************************************
-
-import os, sys, shutil, glob, fnmatch, string, re
-from stat import *
-
-#
-# NOTE: See lib/DistUtils.py for default third-party locations and
-# languages to be built on each platform.
-#
-
-iceVersion = "3.6.0"
-
-distDir = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
-sys.path.append(os.path.join(distDir, "lib"))
-import DistUtils
-
-#
-# Program usage.
-#
-def usage():
- print "Usage: " + sys.argv[0] + " [options] tag"
- print
- print "Options:"
- print "-c Clean previous build"
- print "-h Show this message."
- print "-v Be verbose."
-
-#
-# Check arguments
-#
-verbose = 0
-forceclean = 0
-for x in sys.argv[1:]:
- if x == "-h":
- usage()
- sys.exit(0)
- elif x == "-v":
- verbose = 1
- elif x == "-c":
- forceclean = 1
- elif x.startswith("-"):
- print sys.argv[0] + ": unknown option `" + x + "'"
- print
- usage()
- sys.exit(1)
- else:
- if not x in platform.languages:
- print sys.argv[0] + ": language `" + x + "' not supported on this platform"
- print
- usage()
- sys.exit(1)
- buildLanguages.append(x)
-
-if verbose:
- quiet = "v"
-else:
- quiet = ""
-
-#
-# Ensure the script is being run from the dist directory.
-#
-cwd = os.getcwd()
-if not os.path.exists(os.path.join(distDir, "src", "windows", "LICENSE.rtf")):
- print sys.argv[0] + ": you must run makebindist.py from the dist-" + iceVersion + " directory created by makedist.py"
- sys.exit(1)
-
-print "Building Ice " + iceVersion + " gem"
-
-#
-# Ensure that the source archive or directory exists and create the build directory.
-#
-buildRootDir = os.path.join(distDir, "..", "build-gem-" + iceVersion)
-srcDir = os.path.join(buildRootDir, "Ice-" + iceVersion + "-src")
-
-if forceclean or not os.path.exists(srcDir):
- if os.path.exists(buildRootDir):
- print "Removing previous build from build-gem-" + iceVersion + "...",
- sys.stdout.flush()
- shutil.rmtree(buildRootDir)
- print "ok"
- os.mkdir(buildRootDir)
-
- if not os.path.exists(os.path.join(cwd, "Ice-" + iceVersion + ".tar.gz")):
- print sys.argv[0] + ": cannot find " + os.path.join(cwd, "Ice-" + iceVersion + ".tar.gz")
- sys.exit(1)
-
- print "Unpacking ./Ice-" + iceVersion + ".tar.gz ...",
- sys.stdout.flush()
- os.chdir(buildRootDir)
- if os.system("gunzip -c " + os.path.join(cwd, "Ice-" + iceVersion + ".tar.gz") + " | tar x" + quiet + "f -"):
- print sys.argv[0] + ": failed to unpack ./Ice-" + iceVersion + ".tar.gz"
- sys.exit(1)
- os.rename("Ice-" + iceVersion, srcDir)
-
- os.chdir(cwd)
- print "ok"
-
- buildDirs = [ "cpp/src/IceUtil", "cpp/src/Slice", "cpp/src/slice2rb", "cpp/src/slice2cpp", "rb/ruby" ]
- for l in buildDirs:
- print "building sources in " + os.path.join(srcDir, l)
- os.chdir(os.path.join(srcDir, l))
- if os.system("make") != 0:
- print sys.argv[0] + ": `" + l + "' build failed"
- os.chdir(cwd)
- sys.exit(1)
-
- sliceBuildDirs = [ "cpp/src/Ice", "cpp/src/IceSSL", "cpp/src/IceDiscovery", "cpp/src/IceLocatorDiscovery" ]
- for l in sliceBuildDirs:
- print "building sources in " + os.path.join(srcDir, l)
- os.chdir(os.path.join(srcDir, l))
- if os.system("make compile-slice") != 0:
- print sys.argv[0] + ": `" + l + "' build failed"
- os.chdir(cwd)
- sys.exit(1)
-
- os.chdir(cwd)
- print
- print "============= Finished building sources ============="
- print
-
-os.chdir(buildRootDir)
-#thirdPartyPackage = "ThirdParty-Sources-" + iceVersion
-thirdPartyPackage = "ThirdParty-Sources-3.6b"
-downloadUrl = "http://www.zeroc.com/download/Ice/3.6/"
-
-if not os.path.isfile(os.path.expanduser("~/Downloads/%s.tar.gz" % thirdPartyPackage)):
- if os.system(os.path.expanduser("cd ~/Downloads && wget http://www.zeroc.com/download/Ice/3.6/%s.tar.gz" % thirdPartyPackage)) != 0:
- print sys.argv[0] + ": downloading the third parties tar.gz failed"
- os.chdir(cwd)
- sys.exit(1)
-
-if not os.path.isfile(os.path.expanduser("~/Downloads/%s.zip" % thirdPartyPackage)):
- if os.system(os.path.expanduser("cd ~/Downloads && wget http://www.zeroc.com/download/Ice/3.6/%s.zip" % thirdPartyPackage)) != 0:
- print sys.argv[0] + ": downloading the third parties zip failed"
- os.chdir(cwd)
- sys.exit(1)
-
-if os.system(os.path.expanduser(
- "rm -rf %(thirdParty)s && tar zxf ~/Downloads/%(thirdParty)s.tar.gz && cd %(thirdParty)s && tar zxf mcpp-2.7.2.tar.gz && "
- "cd mcpp-2.7.2 && patch -p0 < ../mcpp/patch.mcpp.2.7.2" % {"thirdParty": thirdPartyPackage})) != 0:
- print sys.argv[0] + ": extracting mcpp failed"
- os.chdir(cwd)
- sys.exit(1)
-
-if os.system(os.path.expanduser(
- "rm -rf zip && unzip ~/Downloads/%(thirdParty)s.zip -d zip && cd zip/%(thirdParty)s && tar zxf bzip2-1.0.6.tar.gz"
- % {"thirdParty": thirdPartyPackage})) != 0:
- print sys.argv[0] + ": extracting bzip failed"
- os.chdir(cwd)
- sys.exit(1)
-
-
-os.chdir(cwd)
-
-def getGemVersion(file):
- for line in open('ice.gemspec'):
- if line.find('s.version') != -1:
- i = line.find("'")
- line = line[i+1:]
- end = line.find("'")
- return line[:end]
- return None
-
-copyFiles = []
-
-#
-# Extract all the relevant pieces from the source tree into the gemDir.
-#
-dirName = "Ice-" + iceVersion + "-gem"
-gemDir = os.path.join(buildRootDir, dirName)
-gemDirLib = os.path.join(gemDir, "lib")
-gemDirBin = os.path.join(gemDir, "bin")
-if os.path.exists(gemDir):
- print "Removing previous build from " + gemDir + " ...",
- sys.stdout.flush()
- shutil.rmtree(gemDir)
- print "ok"
-
-os.mkdir(gemDir)
-os.mkdir(gemDirLib)
-os.mkdir(gemDirBin)
-DistUtils.copy(os.path.join(srcDir, "ICE_LICENSE"), gemDir, verbose)
-DistUtils.copy(os.path.join(srcDir, "LICENSE"), gemDir, verbose)
-
-DistUtils.copy(os.path.join(distDir, "src/rb/ice.gemspec"), gemDir, verbose)
-DistUtils.copy(os.path.join(distDir, "src/rb/ice-x64-mingw.gemspec"), gemDir, verbose)
-DistUtils.copy(os.path.join(distDir, "src/rb/ice-x86-mingw.gemspec"), gemDir, verbose)
-DistUtils.copy(os.path.join(distDir, "src/rb/slice2rb"), gemDirBin, verbose)
-DistUtils.copyMatchingFiles(os.path.join(srcDir, "rb/ruby"), gemDirLib, ["*.rb"], False, verbose)
-for d in os.listdir(os.path.join(srcDir, "rb/ruby")):
- DistUtils.copyMatchingFiles(os.path.join(srcDir, "rb/ruby", d), os.path.join(gemDirLib, d), ["*.rb"], False, verbose)
-
-for d in os.listdir(os.path.join(srcDir, "slice")):
- DistUtils.copyMatchingFiles(os.path.join(srcDir, "slice", d), os.path.join(gemDir, "slice", d), ["*"], False, verbose)
-
-gemDirExt = os.path.join(gemDir, "ext")
-gemDirIce = os.path.join(gemDir, "ext", "ice")
-os.mkdir(gemDirExt)
-os.mkdir(gemDirIce)
-
-DistUtils.copy(os.path.join(distDir, "src/rb/extconf.rb"), gemDirExt, verbose)
-DistUtils.copyMatchingFiles(os.path.join(srcDir, "rb/src/IceRuby"), gemDirExt, ["*.cpp", "*.h"], False, verbose)
-
-#
-# Extract the relevant portions of the Ice C++ source tree into the gem.
-#
-copyDirs = [ "cpp/src/IceUtil", "cpp/src/Slice", "cpp/src/Ice", "cpp/include/IceUtil",
- "cpp/include/Slice", "cpp/include/Ice", "cpp/src/IceSSL", "cpp/include/IceSSL",
- "cpp/include/IceDiscovery", "cpp/src/IceDiscovery", "cpp/include/IceLocatorDiscovery", "cpp/src/IceLocatorDiscovery" ]
-for d in copyDirs:
- DistUtils.copyMatchingFiles(os.path.join(srcDir, d), os.path.join(gemDirIce, d), ["*.cpp", "*.h", "Makefile"], False, verbose)
-
-os.unlink(os.path.join(gemDirExt, "ice/cpp/src/Ice/DLLMain.cpp"))
-
-for d in ["main.c", "directive.c", "eval.c", "expand.c", "mbchar.c", "support.c", "system.c", "internal.H", "mcpp_out.h", "mcpp_lib.h", "system.H", "configed.H"]:
- DistUtils.copy("%s/%s/mcpp-2.7.2/src/%s" % (buildRootDir, thirdPartyPackage, d), os.path.join(gemDirIce, "mcpp", d))
-DistUtils.copyMatchingFiles(os.path.join(distDir, "src/rb/src/mcpp", ), os.path.join(gemDirIce, "mcpp"), ["*"], False, verbose)
-
-DistUtils.copy(os.path.join(distDir, "src/unix/MCPP_LICENSE"), gemDirIce)
-
-for d in ['blocksort.c', 'bzlib.c', 'compress.c','crctable.c','decompress.c','huffman.c','randtable.c','bzlib.h','bzlib_private.h']:
- DistUtils.copy("%s/zip/%s/bzip2-1.0.6/%s" % (buildRootDir, thirdPartyPackage, d), os.path.join(gemDirIce, "bzip2", d))
-DistUtils.copy("%s/zip/%s/bzip2-1.0.6/LICENSE" % (buildRootDir, thirdPartyPackage), os.path.join(gemDirIce , "BZIP_LICENSE"))
-
-os.chdir(gemDir)
-gemFile = "zeroc-ice-" + getGemVersion('ice.gemspec') + ".gem"
-if os.system("gem build ice.gemspec") != 0:
- print sys.argv[0] + ": building the gemspec failed"
- os.chdir(cwd)
- sys.exit(1)
-copyFiles.append(os.path.join(gemDir, gemFile))
-
-os.chdir(buildRootDir)
-
-zipFile = "zeroc-ice-%s-gem.zip" % (iceVersion)
-tarFile = "zeroc-ice-%s-gem.tar" % (iceVersion)
-os.system("tar cf %s %s" % (tarFile, dirName))
-if os.path.exists("%s.gz" % (tarFile)):
- os.unlink("%s.gz" % (tarFile))
-os.system("gzip -9 %s" % (tarFile))
-tarFile = tarFile + ".gz"
-
-os.system("zip -9rq %s %s" % (zipFile, dirName))
-
-copyFiles.append(os.path.join(buildRootDir, tarFile))
-copyFiles.append(os.path.join(buildRootDir, zipFile))
-
-os.chdir(cwd)
-for f in copyFiles:
- print "Copying %s" % (f)
- DistUtils.copy(f, ".", verbose)
- os.unlink(f)
-
diff --git a/distribution/bin/makepy.py b/distribution/bin/makepy.py
deleted file mode 100755
index 8e3f620b446..00000000000
--- a/distribution/bin/makepy.py
+++ /dev/null
@@ -1,233 +0,0 @@
-#!/usr/bin/env python
-# **********************************************************************
-#
-# Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
-#
-# This copy of Ice is licensed to you under the terms described in the
-# ICE_LICENSE file included in this distribution.
-#
-# **********************************************************************
-
-import os, sys, shutil, glob, fnmatch, string, re
-from stat import *
-
-#
-# NOTE: See lib/DistUtils.py for default third-party locations and
-# languages to be built on each platform.
-#
-
-iceVersion = "3.6.0"
-
-distDir = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
-sys.path.append(os.path.join(distDir, "lib"))
-import DistUtils
-
-#
-# Program usage.
-#
-def usage():
- print "Usage: " + sys.argv[0] + " [options] tag"
- print
- print "Options:"
- print "-c Clean previous build"
- print "-h Show this message."
- print "-v Be verbose."
-
-#
-# Check arguments
-#
-verbose = 0
-forceclean = 0
-for x in sys.argv[1:]:
- if x == "-h":
- usage()
- sys.exit(0)
- elif x == "-v":
- verbose = 1
- elif x == "-c":
- forceclean = 1
- elif x.startswith("-"):
- print sys.argv[0] + ": unknown option `" + x + "'"
- print
- usage()
- sys.exit(1)
- else:
- if not x in platform.languages:
-
- print sys.argv[0] + ": language `" + x + "' not supported on this platform"
- print
- usage()
- sys.exit(1)
- buildLanguages.append(x)
-
-if verbose:
- quiet = "v"
-else:
- quiet = ""
-
-#
-# Ensure the script is being run from the dist directory.
-#
-cwd = os.getcwd()
-if not os.path.exists(os.path.join(distDir, "src", "windows", "LICENSE.rtf")):
- print sys.argv[0] + ": you must run makebindist.py from the dist-" + iceVersion + " directory created by makedist.py"
- sys.exit(1)
-
-print "Building Ice " + iceVersion
-
-#
-# Ensure that the source archive or directory exists and create the build directory.
-#
-buildRootDir = os.path.join(distDir, "..", "build-py-" + iceVersion)
-srcDir = os.path.join(buildRootDir, "Ice-" + iceVersion + "-src")
-
-if forceclean or not os.path.exists(srcDir):
- if os.path.exists(buildRootDir):
- print "Removing previous build from build-py-" + iceVersion + "...",
- sys.stdout.flush()
- shutil.rmtree(buildRootDir)
- print "ok"
- os.mkdir(buildRootDir)
-
- if not os.path.exists(os.path.join(cwd, "Ice-" + iceVersion + ".tar.gz")):
- print sys.argv[0] + ": cannot find " + os.path.join(cwd, "Ice-" + iceVersion + ".tar.gz")
- sys.exit(1)
-
- print "Unpacking ./Ice-" + iceVersion + ".tar.gz ...",
- sys.stdout.flush()
- os.chdir(buildRootDir)
- if os.system("gunzip -c " + os.path.join(cwd, "Ice-" + iceVersion + ".tar.gz") + " | tar x" + quiet + "f -"):
- print sys.argv[0] + ": failed to unpack ./Ice-" + iceVersion + ".tar.gz"
- sys.exit(1)
- os.rename("Ice-" + iceVersion, srcDir)
-
- os.chdir(cwd)
- print "ok"
-
- buildDirs = [ "cpp/src/IceUtil", "cpp/src/Slice", "cpp/src/slice2py", "cpp/src/slice2cpp", "py/python" ]
- for l in buildDirs:
- print "building sources in " + os.path.join(srcDir, l)
- os.chdir(os.path.join(srcDir, l))
- if os.system("make") != 0:
- print sys.argv[0] + ": `" + l + "' build failed"
- os.chdir(cwd)
- sys.exit(1)
-
- sliceBuildDirs = [ "cpp/src/Ice", "cpp/src/IceSSL", "cpp/src/IceDiscovery", "cpp/src/IceLocatorDiscovery" ]
- for l in sliceBuildDirs:
- print "building sources in " + os.path.join(srcDir, l)
- os.chdir(os.path.join(srcDir, l))
- if os.system("make compile-slice") != 0:
- print sys.argv[0] + ": `" + l + "' build failed"
- os.chdir(cwd)
- sys.exit(1)
-
- os.chdir(cwd)
- print
- print "============= Finished building sources ============="
- print
-
-os.chdir(buildRootDir)
-#thirdPartyPackage = "ThirdParty-Sources-" + iceVersion
-thirdPartyPackage = "ThirdParty-Sources-3.6b"
-downloadUrl = "http://www.zeroc.com/download/Ice/3.6/"
-
-if not os.path.isfile(os.path.expanduser("~/Downloads/%s.tar.gz" % thirdPartyPackage)):
- if os.system(os.path.expanduser("cd ~/Downloads && wget http://www.zeroc.com/download/Ice/3.6/%s.tar.gz" % thirdPartyPackage)) != 0:
- print sys.argv[0] + ": downloading the third parties tar.gz failed"
- os.chdir(cwd)
- sys.exit(1)
-
-if not os.path.isfile(os.path.expanduser("~/Downloads/%s.zip" % thirdPartyPackage)):
- if os.system(os.path.expanduser("cd ~/Downloads && wget http://www.zeroc.com/download/Ice/3.6/%s.zip" % thirdPartyPackage)) != 0:
- print sys.argv[0] + ": downloading the third parties zip failed"
- os.chdir(cwd)
- sys.exit(1)
-
-if os.system(os.path.expanduser(
- "rm -rf %(thirdParty)s && tar zxf ~/Downloads/%(thirdParty)s.tar.gz && cd %(thirdParty)s && tar zxf mcpp-2.7.2.tar.gz && "
- "cd mcpp-2.7.2 && patch -p0 < ../mcpp/patch.mcpp.2.7.2" % {"thirdParty": thirdPartyPackage})) != 0:
- print sys.argv[0] + ": extracting mcpp failed"
- os.chdir(cwd)
- sys.exit(1)
-
-if os.system(os.path.expanduser(
- "rm -rf zip && unzip ~/Downloads/%(thirdParty)s.zip -d zip && cd zip/%(thirdParty)s && tar zxf bzip2-1.0.6.tar.gz"
- % {"thirdParty": thirdPartyPackage})) != 0:
- print sys.argv[0] + ": extracting bzip failed"
- os.chdir(cwd)
- sys.exit(1)
-
-
-os.chdir(cwd)
-
-#
-# Extract all the relevant pieces from the source tree into the pyDir.
-#
-pyDir = os.path.join(buildRootDir, "Ice-" + iceVersion + "-py")
-pyDirExt = os.path.join(pyDir, "src")
-pyDirLib = os.path.join(pyDir, "lib")
-if os.path.exists(pyDir):
- print "Removing previous build from " + pyDir + " ...",
- sys.stdout.flush()
- shutil.rmtree(pyDir)
- print "ok"
-
-os.mkdir(pyDir)
-os.mkdir(pyDirExt)
-os.mkdir(pyDirLib)
-DistUtils.copy(os.path.join(srcDir, "ICE_LICENSE"), pyDir, verbose)
-DistUtils.copy(os.path.join(srcDir, "LICENSE"), pyDir, verbose)
-
-DistUtils.copy(os.path.join(distDir, "src/py/MANIFEST.in"), pyDir, verbose)
-DistUtils.copy(os.path.join(distDir, "src/py/setup.py"), pyDir, verbose)
-DistUtils.copy(os.path.join(distDir, "src/py/setup.cfg"), pyDir, verbose)
-DistUtils.copy(os.path.join(distDir, "src/py/README.rst"), pyDir, verbose)
-DistUtils.copy(os.path.join(distDir, "src/py/slice2py.py"), pyDirLib, verbose)
-DistUtils.copyMatchingFiles(os.path.join(srcDir, "py/modules/IcePy"), pyDirExt, ["*.cpp", "*.h"], False, verbose)
-DistUtils.copyMatchingFiles(os.path.join(srcDir, "py/python"), pyDirLib, ["*.py"], False, verbose)
-for d in os.listdir(os.path.join(srcDir, "py/python")):
- DistUtils.copyMatchingFiles(os.path.join(srcDir, "py/python", d), os.path.join(pyDirLib, d), ["*.py"], False, verbose)
-
-pyDirIce = os.path.join(pyDir, "src", "ice")
-os.mkdir(pyDirIce)
-
-#
-# Extract the relevant portions of the Ice C++ source tree into the package.
-#
-copyDirs = [ "cpp/src/IceUtil", "cpp/src/Slice", "cpp/src/Ice", "cpp/include/IceUtil",
- "cpp/include/Slice", "cpp/include/Ice", "cpp/src/IceSSL", "cpp/include/IceSSL",
- "cpp/include/IceDiscovery", "cpp/src/IceDiscovery", "cpp/include/IceLocatorDiscovery", "cpp/src/IceLocatorDiscovery" ]
-for d in copyDirs:
- DistUtils.copyMatchingFiles(os.path.join(srcDir, d), os.path.join(pyDirIce, d), ["*.cpp", "*.h"], False, verbose)
-
-for d in os.listdir(os.path.join(srcDir, "slice")):
- DistUtils.copyMatchingFiles(os.path.join(srcDir, "slice", d), os.path.join(pyDirLib, "slice", d), ["*"], False, verbose)
-
-os.unlink(os.path.join(pyDirExt, "ice/cpp/src/Ice/DLLMain.cpp"))
-os.unlink(os.path.join(pyDirExt, "ice/cpp/src/Ice/Service.cpp"))
-os.unlink(os.path.join(pyDirExt, "ice/cpp/src/Ice/Application.cpp"))
-
-for d in ["main.c", "directive.c", "eval.c", "expand.c", "mbchar.c", "support.c", "system.c", "internal.H", "mcpp_out.h", "mcpp_lib.h", "system.H", "configed.H"]:
- DistUtils.copy("%s/%s/mcpp-2.7.2/src/%s" % (buildRootDir, thirdPartyPackage, d), os.path.join(pyDirIce, "mcpp", d))
-DistUtils.copyMatchingFiles(os.path.join(distDir, "src/py/src/mcpp", ), os.path.join(pyDirIce, "mcpp"), ["*"], False, verbose)
-
-DistUtils.copy(os.path.join(distDir, "src/unix/MCPP_LICENSE"), pyDirIce)
-
-for d in ['blocksort.c', 'bzlib.c', 'compress.c','crctable.c','decompress.c','huffman.c','randtable.c','bzlib.h','bzlib_private.h']:
- DistUtils.copy("%s/zip/%s/bzip2-1.0.6/%s" % (buildRootDir, thirdPartyPackage, d), os.path.join(pyDirIce, "bzip2", d))
-DistUtils.copy("%s/zip/%s/bzip2-1.0.6/LICENSE" % (buildRootDir, thirdPartyPackage), os.path.join(pyDirIce , "BZIP_LICENSE"))
-
-os.chdir(pyDir)
-pyFile = ""
-if os.system("python setup.py sdist") != 0:
- print sys.argv[0] + ": building the source dist"
- os.chdir(cwd)
- sys.exit(1)
-os.chdir(cwd)
-pyFile = os.path.join("dist", "zeroc-ice-" + iceVersion + ".tar.gz")
-DistUtils.copy(os.path.join(pyDir, pyFile), ".", verbose)
-
-print
-print "============= Finished building " + pyFile + " ============="
-print
diff --git a/distribution/python/MANIFEST.in b/distribution/python/MANIFEST.in
deleted file mode 100644
index 504eefd03ed..00000000000
--- a/distribution/python/MANIFEST.in
+++ /dev/null
@@ -1,2 +0,0 @@
-include *
-recursive-include src *
diff --git a/distribution/python/README.rst b/distribution/python/README.rst
deleted file mode 100644
index baf46c77f12..00000000000
--- a/distribution/python/README.rst
+++ /dev/null
@@ -1,68 +0,0 @@
-The Internet Communications Engine (Ice) provides a robust, proven
-platform for developing mission-critical networked applications.
-Let Ice handle all of the low-level details such as network
-connections, serialization, and concurrency so that you can focus
-on your application logic.
-
-
-Our Python extension makes the full Ice feature set available to
-Python developers, including:
-
-* Client and server support
-* Synchronous and asynchronous invocations
-* Communicate via TCP, SSL, UDP, multicast, and WebSocket transports
-* Supports IPv4 and IPv6
-* Intuitive mapping from Slice to Python
-
-To give you an idea of what it's like to use Ice in Python, here's
-a complete program that tests whether a remote Ice object is
-available:
-
-::
-
- import Ice
- communicator = Ice.initialize()
- obj = communicator.stringToProxy("hello:tcp -h myhost.mydomain.com -p 10000")
- obj.ice_ping()
- communicator.destroy()
-
-With support for Python2 and Python3, you can easily add Ice to
-your existing Python infrastructure and discover how easy it is to
-build distributed applications with Ice.
-
-
-Package Contents
-----------------
-
-This package includes the Ice extension for Python, the standard
-Slice definition files, and the Slice-to-Python compiler. You will
-need to install a full Ice distribution if you want to use other
-Ice language mappings, or Ice services such as IceGrid, IceStorm
-and Glacier2.
-
-Installation
-------------
-
-We recommend using ``pip`` or ``easy_install`` to install this
-package. If you install using ``python setup.py install`` instead,
-be aware that the Slice-to-Python compiler (``slice2py``) will not
-be available.
-
-Home Page
----------
-
-Visit `ZeroC's home page <https://www.zeroc.com>`_ for the latest news
-and information about Ice.
-
-Documentation
--------------
-
-We provide extensive `online documentation
-<https://doc.zeroc.com/display/Ice36>`_ for Ice, the Python extension,
-and the other Ice language mappings and services.
-
-Support
--------
-
-Join us on our `user forums <https://www.zeroc.com/forums/forum.php>`_ if you have questions
-about Ice.
diff --git a/distribution/python/setup.cfg b/distribution/python/setup.cfg
deleted file mode 100644
index e69de29bb2d..00000000000
--- a/distribution/python/setup.cfg
+++ /dev/null
diff --git a/distribution/python/setup.py b/distribution/python/setup.py
deleted file mode 100644
index 1e795a39e5c..00000000000
--- a/distribution/python/setup.py
+++ /dev/null
@@ -1,164 +0,0 @@
-# **********************************************************************
-#
-# Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
-#
-# This copy of Ice is licensed to you under the terms described in the
-# ICE_LICENSE file included in this distribution.
-#
-# **********************************************************************
-
-# Always prefer setuptools over distutils
-try:
- from setuptools import setup
-except ImportError:
- from distutils.core import setup
-
-from distutils.extension import Extension
-import distutils.sysconfig
-import sys, os, shutil, fnmatch, glob
-
-#
-# Sort out packages, package_dir and package_data from the lib dir.
-#
-packages = [ '' ]
-package_dir={'' : 'lib'}
-for f in os.listdir('lib'):
- p = os.path.join('lib', f)
- if os.path.isdir(p):
- package_dir[f] = p
- packages.append(f)
-package_data = { 'slice' : ['*/*.ice'] }
-
-include_dirs=['src', 'src/ice/cpp/include', 'src/ice/cpp/src']
-define_macros=[('HAVE_CONFIG_H', 1), ('MCPP_LIB', 1), ('ICE_STATIC_LIBS', None)]
-extra_compile_args=[]
-
-platform = sys.platform
-if platform[:6] == 'darwin':
- platform = 'darwin'
-
-if platform == 'darwin':
- if not 'ARCHFLAGS' in os.environ:
- os.environ['ARCHFLAGS'] = '-arch x86_64'
- extra_compile_args.append('-w')
- extra_link_args = ['-framework','Security', '-framework','CoreFoundation']
- libraries=['iconv']
- shutil.copyfile('src/ice/mcpp/config.h.Darwin', 'src/ice/mcpp/config.h')
- # Don't compile the bzip2 source under darwin or linux.
- def filterName(path):
- d = os.path.dirname(path)
- if d.find('bzip2') != -1:
- return False
- return True
-
-elif platform == 'linux2':
-
- extra_compile_args.append('-w')
- extra_link_args = []
- libraries=['ssl', 'crypto', 'bz2']
- shutil.copyfile('src/ice/mcpp/config.h.Linux', 'src/ice/mcpp/config.h')
- # Don't compile the bzip2 source under darwin or linux.
- def filterName(path):
- d = os.path.dirname(path)
- if d.find('bzip2') != -1:
- return False
- return True
-
-elif platform == 'win32':
- extra_link_args = []
- libraries=[]
- define_macros.append(('WIN32_LEAN_AND_MEAN', None))
- define_macros.append(('ICE_NO_PRAGMA_COMMENT', None))
- include_dirs.append('src/ice/bzip2')
- extra_compile_args.append('/EHsc')
- libraries=['rpcrt4','advapi32','Iphlpapi','secur32','crypt32','ws2_32']
- shutil.copyfile('src/ice/mcpp/config.h.win32', 'src/ice/mcpp/config.h')
- # SysLoggerI.cpp shouldn't be built under Windows.
- def filterName(path):
- b = os.path.basename(path)
- if b == 'SysLoggerI.cpp':
- return False
- return True
-
-# Gather the list of sources to compile.
-sources = []
-for root, dirnames, filenames in os.walk('src'):
- for filename in fnmatch.filter(filenames, '*.cpp'):
- n = os.path.join(root, filename)
- if filterName(n):
- sources.append(n)
- for filename in fnmatch.filter(filenames, '*.c'):
- n = os.path.join(root, filename)
- if filterName(n):
- sources.append(n)
-
-with open('README.rst') as file:
- long_description = file.read()
-
-setup(
- name='zeroc-ice',
-
- version='3.6b',
-
- description="Ice is a modern object-oriented toolkit that enables you to build distributed applications with minimal effort.",
-
- long_description=long_description,
-
- # The project's main homepage.
- url='https://www.zeroc.com',
-
- # Author details
- author='ZeroC, Inc.',
- author_email='info@zeroc.com',
-
- # Choose your license
- license='GPL v2 with exceptions',
-
- # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
- classifiers=[
- # How mature is this project? Common values are
- # 3 - Alpha
- # 4 - Beta
- # 5 - Production/Stable
- 'Development Status :: 4 - Beta',
-
- # Indicate who your project is intended for
- 'Intended Audience :: Developers',
- 'Topic :: Software Development :: Build Tools',
-
- # Pick your license as you wish (should match "license" above)
- 'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
-
- # Specify the Python versions you support here. In particular, ensure
- # that you indicate whether you support Python 2, Python 3 or both.
- 'Programming Language :: Python :: 2',
- 'Programming Language :: Python :: 2.6',
- 'Programming Language :: Python :: 2.7',
- 'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.0',
- 'Programming Language :: Python :: 3.1',
- 'Programming Language :: Python :: 3.2',
- 'Programming Language :: Python :: 3.3',
- 'Programming Language :: Python :: 3.4',
- ],
-
- # What does your project relate to?
- keywords='distributed systems development',
-
- packages = packages,
- package_dir = package_dir,
- package_data = package_data,
-
- entry_points = {
- 'console_scripts': ['slice2py=slice2py:main'],
- },
-
- ext_modules=[
- Extension('IcePy', sources,
- extra_link_args=extra_link_args,
- define_macros=define_macros,
- include_dirs=include_dirs,
- extra_compile_args=extra_compile_args,
- libraries=libraries)
- ]
-)
diff --git a/distribution/python/slice2py.py b/distribution/python/slice2py.py
deleted file mode 100755
index 7f2aca37164..00000000000
--- a/distribution/python/slice2py.py
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env python
-# **********************************************************************
-#
-# Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
-#
-# This copy of Ice is licensed to you under the terms described in the
-# ICE_LICENSE file included in this distribution.
-#
-# **********************************************************************
-
-import sys, Ice, IcePy
-def main():
- sliceDir = Ice.getSliceDir()
- # Automatically add the slice dir.
- if not sliceDir is None:
- sys.argv.append('-I' + sliceDir)
- val = IcePy.compile(sys.argv)
- sys.exit(int(val))
diff --git a/distribution/python/src/mcpp/Makefile b/distribution/python/src/mcpp/Makefile
deleted file mode 100644
index a8b600ef50e..00000000000
--- a/distribution/python/src/mcpp/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# **********************************************************************
-#
-# Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
-#
-# This copy of Ice is licensed to you under the terms described in the
-# ICE_LICENSE file included in this distribution.
-#
-# **********************************************************************
-#
-all: libmcpp.a
-
-CFLAGS = -O2 -DMCPP_LIB=1 -DHAVE_CONFIG_H
-OBJS = directive.o eval.o expand.o main.o mbchar.o support.o system.o
-
-UNAME = $(shell uname)
-ifneq ($(findstring MINGW,$(UNAME)),)
- UNAME := MINGW
- CC := gcc
-endif
-
-ifeq ($(UNAME),Linux)
- CFLAGS += -fPIC
-endif
-
-config:
- @if ! test -f config.h; \
- then \
- cp config.h.$(UNAME) config.h ; \
- fi
-
-libmcpp.a: config $(OBJS)
- ar rcs libmcpp.a $(OBJS)
- ranlib libmcpp.a
-
-clean:
- rm -f $(OBJS)
- rm -f libmcpp.a
diff --git a/distribution/python/src/mcpp/config.h.Darwin b/distribution/python/src/mcpp/config.h.Darwin
deleted file mode 100644
index 8d5154fa1ac..00000000000
--- a/distribution/python/src/mcpp/config.h.Darwin
+++ /dev/null
@@ -1,227 +0,0 @@
-/* src/config.h. Generated from config.h.in by configure. */
-/* src/config.h.in. Generated from configure.ac by autoheader. */
-
-/* Define if '0x5c' in BIG5 multi-byte character is safe. */
-/* #undef BIGFIVE_IS_ESCAPE_FREE */
-
-/* Define the target compiler. */
-#define COMPILER INDEPENDENT
-
-/* Define the type of size_t. */
-/* #undef COMPILER_SP1_VAL */
-
-/* Define the type of ptrdiff_t. */
-/* #undef COMPILER_SP2_VAL */
-
-/* Define the type of wchar_t. */
-/* #undef COMPILER_SP3_VAL */
-
-/* Define the name of COMPILER-specific OLD-style predefined macro. */
-/* #undef COMPILER_SP_OLD */
-
-/* Define the value of COMPILER-specific OLD-style predefined macro. */
-/* #undef COMPILER_SP_OLD_VAL */
-
-/* Define the name of COMPILER-specific STD-style predefined macro. */
-/* #undef COMPILER_SP_STD */
-
-/* Define the value of COMPILER-specific STD-style predefined macro. */
-/* #undef COMPILER_SP_STD_VAL */
-
-/* Define compiler-specific C++ include directory 1. */
-/* #undef CPLUS_INCLUDE_DIR1 */
-
-/* Define compiler-specific C++ include directory 2. */
-/* #undef CPLUS_INCLUDE_DIR2 */
-
-/* Define compiler-specific C++ include directory 3. */
-/* #undef CPLUS_INCLUDE_DIR3 */
-
-/* Define compiler-specific C++ include directory 4. */
-/* #undef CPLUS_INCLUDE_DIR4 */
-
-/* Define the cpu-specific-macro. */
-#define CPU "i386"
-
-/* Define the name of CPU-specific OLD-style predefined macro. */
-/* #undef CPU_SP_OLD */
-
-/* Define the value of CPU-specific OLD-style predefined macro. */
-/* #undef CPU_SP_OLD_VAL */
-
-/* Define the name of CPU-specific STD-style predefined macro. */
-/* #undef CPU_SP_STD */
-
-/* Define the value of CPU-specific STD-style predefined macro. */
-/* #undef CPU_SP_STD_VAL */
-
-/* Define root directory of CYGWIN. */
-/* #undef CYGWIN_ROOT_DIRECTORY */
-
-/* Define compiler-specific C include directory 1. */
-/* #undef C_INCLUDE_DIR1 */
-
-/* Define compiler-specific C include directory 2. */
-/* #undef C_INCLUDE_DIR2 */
-
-/* Define compiler-specific C include directory 3. */
-/* #undef C_INCLUDE_DIR3 */
-
-/* Define if the argument of pragma is macro expanded. */
-/* #undef EXPAND_PRAGMA */
-
-/* Define if the cases of file name are folded. */
-#define FNAME_FOLD 1
-
-/* Define MacOS-specific framework directory 1. */
-#define FRAMEWORK1 "/System/Library/Frameworks"
-
-/* Define MacOS-specific framework directory 2. */
-#define FRAMEWORK2 "/Library/Frameworks"
-
-/* Define MacOS-specific framework directory 3. */
-/* #undef FRAMEWORK3 */
-
-/* Define gcc major version. */
-#define GCC_MAJOR_VERSION "4"
-
-/* Define gcc minor version. */
-#define GCC_MINOR_VERSION "2"
-
-/* Define if digraphs are available. */
-/* #undef HAVE_DIGRAPHS */
-
-/* Define to 1 if you have the <dlfcn.h> header file. */
-#define HAVE_DLFCN_H 1
-
-/* Define to 1 if the system has the type `intmax_t'. */
-#define HAVE_INTMAX_T 1
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-
-/* Define to 1 if the system has the type `long long'. */
-#define HAVE_LONG_LONG 1
-
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#define HAVE_STDINT_H 1
-
-/* Define to 1 if you have the <stdint.h,> header file. */
-/* #undef HAVE_STDINT_H_ */
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
-/* Define to 1 if you have the `stpcpy' function. */
-#define HAVE_STPCPY 1
-
-/* Define to 1 if you have the <strings.h> header file. */
-#define HAVE_STRINGS_H 1
-
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
-/* Define to 1 if you have the <unistd.h,> header file. */
-/* #undef HAVE_UNISTD_H_ */
-
-/* Define the host compiler name. */
-#define HOST_CMP_NAME "GCC"
-
-/* Define the host compiler. */
-#define HOST_COMPILER GNUC
-
-/* Define the host system. */
-#define HOST_SYSTEM SYS_MAC
-
-/* Define include directory to install mcpp_g*.h header files. */
-/* #undef INC_DIR */
-
-/* Define if '0x5c' in ISO2022-JP multi-byte character is safe. */
-/* #undef ISO2022_JP_IS_ESCAPE_FREE */
-
-/* Define output format of line directive. */
-/* #undef LINE_PREFIX */
-
-/* Define printf length modifier for the longest integer. */
-#define LL_FORM "j"
-
-/* Define if build libmcpp */
-#define MCPP_LIB 1
-
-/* Define /mingw directory. */
-/* #undef MINGW_DIRECTORY */
-
-/* Define root directory of MSYS. */
-/* #undef MSYS_ROOT_DIRECTORY */
-
-/* Define the suffix of object file. */
-#define OBJEXT "o"
-
-/* Name of package */
-#define PACKAGE "mcpp"
-
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "kmatsui@t3.rim.or.jp"
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME "mcpp"
-
-/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "mcpp 2.7.2"
-
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME "mcpp"
-
-/* Define to the version of this package. */
-#define PACKAGE_VERSION "2.7.2"
-
-/* Define include preference. */
-/* #undef SEARCH_INIT */
-
-/* Define if '0x5c' in SJIS multi-byte character is safe. */
-/* #undef SJIS_IS_ESCAPE_FREE */
-
-/* Define the default value of __STDC__. */
-/* #undef STDC */
-
-/* Define to 1 if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Define the default value of __STDC_VERSION__. */
-/* #undef STDC_VERSION */
-
-/* Define whether output format of line directive is C source style. */
-/* #undef STD_LINE_PREFIX */
-
-/* Define the target system. */
-#define SYSTEM SYS_MAC
-
-/* Define the version of FreeBSD. */
-/* #undef SYSTEM_EXT_VAL */
-
-/* Define the name of SYSTEM-specific OLD-style predefined macro. */
-/* #undef SYSTEM_SP_OLD */
-
-/* Define the value of SYSTEM-specific OLD-style predefined macro. */
-/* #undef SYSTEM_SP_OLD_VAL */
-
-/* Define the name of SYSTEM-specific STD-style predefined macro. */
-/* #undef SYSTEM_SP_STD */
-
-/* Define the value of SYSTEM-specific STD-style predefined macro. */
-/* #undef SYSTEM_SP_STD_VAL */
-
-/* Version number of package */
-#define VERSION "2.7.2"
diff --git a/distribution/python/src/mcpp/config.h.Linux b/distribution/python/src/mcpp/config.h.Linux
deleted file mode 100644
index 69134c7df47..00000000000
--- a/distribution/python/src/mcpp/config.h.Linux
+++ /dev/null
@@ -1,227 +0,0 @@
-/* src/config.h. Generated from config.h.in by configure. */
-/* src/config.h.in. Generated from configure.ac by autoheader. */
-
-/* Define if '0x5c' in BIG5 multi-byte character is safe. */
-/* #undef BIGFIVE_IS_ESCAPE_FREE */
-
-/* Define the target compiler. */
-#define COMPILER INDEPENDENT
-
-/* Define the type of size_t. */
-/* #undef COMPILER_SP1_VAL */
-
-/* Define the type of ptrdiff_t. */
-/* #undef COMPILER_SP2_VAL */
-
-/* Define the type of wchar_t. */
-/* #undef COMPILER_SP3_VAL */
-
-/* Define the name of COMPILER-specific OLD-style predefined macro. */
-/* #undef COMPILER_SP_OLD */
-
-/* Define the value of COMPILER-specific OLD-style predefined macro. */
-/* #undef COMPILER_SP_OLD_VAL */
-
-/* Define the name of COMPILER-specific STD-style predefined macro. */
-/* #undef COMPILER_SP_STD */
-
-/* Define the value of COMPILER-specific STD-style predefined macro. */
-/* #undef COMPILER_SP_STD_VAL */
-
-/* Define compiler-specific C++ include directory 1. */
-/* #undef CPLUS_INCLUDE_DIR1 */
-
-/* Define compiler-specific C++ include directory 2. */
-/* #undef CPLUS_INCLUDE_DIR2 */
-
-/* Define compiler-specific C++ include directory 3. */
-/* #undef CPLUS_INCLUDE_DIR3 */
-
-/* Define compiler-specific C++ include directory 4. */
-/* #undef CPLUS_INCLUDE_DIR4 */
-
-/* Define the cpu-specific-macro. */
-#define CPU "i386"
-
-/* Define the name of CPU-specific OLD-style predefined macro. */
-/* #undef CPU_SP_OLD */
-
-/* Define the value of CPU-specific OLD-style predefined macro. */
-/* #undef CPU_SP_OLD_VAL */
-
-/* Define the name of CPU-specific STD-style predefined macro. */
-/* #undef CPU_SP_STD */
-
-/* Define the value of CPU-specific STD-style predefined macro. */
-/* #undef CPU_SP_STD_VAL */
-
-/* Define root directory of CYGWIN. */
-/* #undef CYGWIN_ROOT_DIRECTORY */
-
-/* Define compiler-specific C include directory 1. */
-/* #undef C_INCLUDE_DIR1 */
-
-/* Define compiler-specific C include directory 2. */
-/* #undef C_INCLUDE_DIR2 */
-
-/* Define compiler-specific C include directory 3. */
-/* #undef C_INCLUDE_DIR3 */
-
-/* Define if the argument of pragma is macro expanded. */
-/* #undef EXPAND_PRAGMA */
-
-/* Define if the cases of file name are folded. */
-/* #undef FNAME_FOLD */
-
-/* Define MacOS-specific framework directory 1. */
-/* #undef FRAMEWORK1 */
-
-/* Define MacOS-specific framework directory 2. */
-/* #undef FRAMEWORK2 */
-
-/* Define MacOS-specific framework directory 3. */
-/* #undef FRAMEWORK3 */
-
-/* Define gcc major version. */
-#define GCC_MAJOR_VERSION "4"
-
-/* Define gcc minor version. */
-#define GCC_MINOR_VERSION "8"
-
-/* Define if digraphs are available. */
-/* #undef HAVE_DIGRAPHS */
-
-/* Define to 1 if you have the <dlfcn.h> header file. */
-#define HAVE_DLFCN_H 1
-
-/* Define to 1 if the system has the type `intmax_t'. */
-#define HAVE_INTMAX_T 1
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-
-/* Define to 1 if the system has the type `long long'. */
-#define HAVE_LONG_LONG 1
-
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#define HAVE_STDINT_H 1
-
-/* Define to 1 if you have the <stdint.h,> header file. */
-/* #undef HAVE_STDINT_H_ */
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
-/* Define to 1 if you have the `stpcpy' function. */
-#define HAVE_STPCPY 1
-
-/* Define to 1 if you have the <strings.h> header file. */
-#define HAVE_STRINGS_H 1
-
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
-/* Define to 1 if you have the <unistd.h,> header file. */
-/* #undef HAVE_UNISTD_H_ */
-
-/* Define the host compiler name. */
-#define HOST_CMP_NAME "GCC"
-
-/* Define the host compiler. */
-#define HOST_COMPILER GNUC
-
-/* Define the host system. */
-#define HOST_SYSTEM SYS_LINUX
-
-/* Define include directory to install mcpp_g*.h header files. */
-/* #undef INC_DIR */
-
-/* Define if '0x5c' in ISO2022-JP multi-byte character is safe. */
-/* #undef ISO2022_JP_IS_ESCAPE_FREE */
-
-/* Define output format of line directive. */
-/* #undef LINE_PREFIX */
-
-/* Define printf length modifier for the longest integer. */
-#define LL_FORM "j"
-
-/* Define if build libmcpp */
-#define MCPP_LIB 1
-
-/* Define /mingw directory. */
-/* #undef MINGW_DIRECTORY */
-
-/* Define root directory of MSYS. */
-/* #undef MSYS_ROOT_DIRECTORY */
-
-/* Define the suffix of object file. */
-#define OBJEXT "o"
-
-/* Name of package */
-#define PACKAGE "mcpp"
-
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "kmatsui@t3.rim.or.jp"
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME "mcpp"
-
-/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "mcpp 2.7.2"
-
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME "mcpp"
-
-/* Define to the version of this package. */
-#define PACKAGE_VERSION "2.7.2"
-
-/* Define include preference. */
-/* #undef SEARCH_INIT */
-
-/* Define if '0x5c' in SJIS multi-byte character is safe. */
-/* #undef SJIS_IS_ESCAPE_FREE */
-
-/* Define the default value of __STDC__. */
-/* #undef STDC */
-
-/* Define to 1 if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Define the default value of __STDC_VERSION__. */
-/* #undef STDC_VERSION */
-
-/* Define whether output format of line directive is C source style. */
-/* #undef STD_LINE_PREFIX */
-
-/* Define the target system. */
-#define SYSTEM SYS_LINUX
-
-/* Define the version of FreeBSD. */
-/* #undef SYSTEM_EXT_VAL */
-
-/* Define the name of SYSTEM-specific OLD-style predefined macro. */
-/* #undef SYSTEM_SP_OLD */
-
-/* Define the value of SYSTEM-specific OLD-style predefined macro. */
-/* #undef SYSTEM_SP_OLD_VAL */
-
-/* Define the name of SYSTEM-specific STD-style predefined macro. */
-/* #undef SYSTEM_SP_STD */
-
-/* Define the value of SYSTEM-specific STD-style predefined macro. */
-/* #undef SYSTEM_SP_STD_VAL */
-
-/* Version number of package */
-#define VERSION "2.7.2"
diff --git a/distribution/python/src/mcpp/config.h.win32 b/distribution/python/src/mcpp/config.h.win32
deleted file mode 100644
index 5d21598f007..00000000000
--- a/distribution/python/src/mcpp/config.h.win32
+++ /dev/null
@@ -1,7 +0,0 @@
-#define COMPILER INDEPENDENT
-#define HOST_SYSTEM SYS_WIN
-#define SYSTEM SYS_WIN
-#define CPU "x86_64"
-#define HOST_COMPILER MSC
-#define VERSION "2.7.2"
-#define MCPP_LIB 1
diff --git a/distribution/ruby/extconf.rb b/distribution/ruby/extconf.rb
deleted file mode 100644
index f874974b214..00000000000
--- a/distribution/ruby/extconf.rb
+++ /dev/null
@@ -1,118 +0,0 @@
-# **********************************************************************
-#
-# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
-#
-# This copy of Ice is licensed to you under the terms described in the
-# ICE_LICENSE file included in this distribution.
-#
-# **********************************************************************
-
-require "mkmf"
-
-if ! (RUBY_PLATFORM =~ /mswin|mingw/)
- #
- # On OSX & Linux bzlib.h is required.
- #
- if not have_header("bzlib.h") then
- exit 1
- end
-
-
- if RUBY_PLATFORM =~ /linux/
- #
- # On Linux openssl is required for IceSSL.
- #
- if not have_header("openssl/ssl.h") then
- exit 1
- end
- end
-end
-if ! File.exist?("ice/mcpp/config.h")
- if RUBY_PLATFORM =~ /mswin|mingw/
- FileUtils.copy("ice/mcpp/config.h.MINGW", "ice/mcpp/config.h")
- elsif RUBY_PLATFORM =~ /linux/
- FileUtils.copy("ice/mcpp/config.h.Linux", "ice/mcpp/config.h")
- elsif RUBY_PLATFORM =~ /darwin/
- FileUtils.copy("ice/mcpp/config.h.Darwin", "ice/mcpp/config.h")
- end
-end
-
-#
-# Ice on OSX is built only with 64 bit support.
-#
-if RUBY_PLATFORM =~ /darwin/
- $ARCH_FLAG = "-arch x86_64"
-end
-
-$INCFLAGS << ' -Iice/cpp/include'
-$INCFLAGS << ' -Iice/cpp/src'
-
-$CPPFLAGS << ' -DICE_STATIC_LIBS'
-
-# For mcpp.
-$CPPFLAGS << ' -DHAVE_CONFIG_H'
-
-if RUBY_PLATFORM =~ /mswin|mingw/
- # Change -D_WIN32_WINNT=0x0501 to # Change -D_WIN32_WINNT=0x0601 otherwise the SSL plugin won't compile
- $CPPFLAGS = $CPPFLAGS.sub("501", "601")
-
- $CPPFLAGS << ' -DWIN32_LEAN_AND_MEAN'
- $CPPFLAGS << ' -DICE_NO_PRAGMA_COMMENT'
- $CPPFLAGS << ' -mthreads'
-
- $INCFLAGS << ' -Iice/bzip2'
-
- # -lws2_32 must be in LOCAL_LIBS even though mkmk puts it at the end of the LIBS, otherwise
- # you get error 6 when using the socket library.
- $LOCAL_LIBS << ' -lrpcrt4 -ladvapi32 -lIphlpapi -lsecur32 -lcrypt32 -lws2_32'
-
- # statically link the C and C++ runtimes.
- $LDFLAGS << ' -static-libgcc -static-libstdc++'
-elsif RUBY_PLATFORM =~ /darwin/
- $LOCAL_LIBS << ' -framework Security -framework CoreFoundation'
-elsif RUBY_PLATFORM =~ /linux/
- $LOCAL_LIBS << ' -lssl -lcrypto'
-end
-$CPPFLAGS << ' -w'
-
-# Setup the object and source files.
-$objs = []
-$srcs = []
-
-# Add the plugin source.
-Dir["*.cpp"].each do |f|
- $objs << File.basename(f, ".*") + ".o"
- $srcs << f
-end
-
-# The Ice source.
-skip = []
-if RUBY_PLATFORM =~ /mswin|mingw/
- skip << "SysLoggerI.cpp"
-end
-Dir["ice/**/*.cpp"].each do |f|
- if ! skip.include? File.basename(f)
- $objs << File.dirname(f) + "/" + File.basename(f, ".*") + ".o"
- $srcs << f
- end
-end
-
-# The mcpp source.
-Dir["ice/mcpp/*.c"].each do |f|
- dir = "ice/mcpp"
- $objs << File.join(dir, File.basename(f, ".*") + ".o")
- $srcs << File.join(dir, f)
-end
-
-#
-# Add bzip2 source under Windows.
-#
-if RUBY_PLATFORM =~ /mswin|mingw/
- ['blocksort.c', 'bzlib.c', 'compress.c','crctable.c','decompress.c','huffman.c','randtable.c'].each do |f|
- dir = "ice/bzip2"
- $objs << File.join(dir, File.basename(f, ".*") + ".o")
- $srcs << File.join(dir, f)
- end
-end
-
-create_makefile "IceRuby"
diff --git a/distribution/ruby/ice-x64-mingw.gemspec b/distribution/ruby/ice-x64-mingw.gemspec
deleted file mode 100644
index 77fa7be133a..00000000000
--- a/distribution/ruby/ice-x64-mingw.gemspec
+++ /dev/null
@@ -1,41 +0,0 @@
-# **********************************************************************
-#
-# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
-#
-# This copy of Ice is licensed to you under the terms described in the
-# ICE_LICENSE file included in this distribution.
-#
-# **********************************************************************
-
-Gem::Specification.new do |s|
- s.name = 'zeroc-ice-x64-mingw'
- s.version = '3.6b1'
- s.date = '2015-02-17'
- s.summary = "ZeroC Ice for Ruby"
- s.description = <<-eos
-The Internet Communications Engine (Ice) provides a robust, proven
-platform for developing mission-critical networked applications
-with minimal effort. Let Ice handle all of the low-level details
-such as network connections, serialization, and concurrency so that
-you can focus on your application logic.
-
-This package includes the Ice extension for Ruby, the standard Slice
-definition files, and the Slice-to-Ruby compiler. You will need to
-install a full Ice distribution if you want to use other Ice language
-mappings, or Ice services such as IceGrid, IceStorm and Glacier2.
-
-
-We provide extensive online documentation for Ice, the Ruby extension,
-and the other Ice language mappings and services.
-
-Join us on our user forums if you have questions about Ice.
-eos
- s.authors = ["ZeroC, Inc."]
- s.email = 'info@zeroc.com'
- s.files = %w[ICE_LICENSE LICENSE ice-x64-mingw.gemspec] + Dir.glob('lib/**/*.rb') + Dir.glob('lib/*.so') + Dir.glob("slice/**/*.ice")
- s.homepage = 'https://www.zeroc.com'
- s.license = 'GPL v2 with exceptions'
- s.rdoc_options = %w[--exclude=IceRuby.so$ --exclude=lib/slice2rb$]
- s.executables << 'slice2rb'
- s.required_ruby_version = '~> 2.1'
-end
diff --git a/distribution/ruby/ice-x86-mingw.gemspec b/distribution/ruby/ice-x86-mingw.gemspec
deleted file mode 100644
index 5b5d9bcc5f6..00000000000
--- a/distribution/ruby/ice-x86-mingw.gemspec
+++ /dev/null
@@ -1,41 +0,0 @@
-# **********************************************************************
-#
-# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
-#
-# This copy of Ice is licensed to you under the terms described in the
-# ICE_LICENSE file included in this distribution.
-#
-# **********************************************************************
-
-Gem::Specification.new do |s|
- s.name = 'zeroc-ice-x86-mingw'
- s.version = '3.6b1'
- s.date = '2015-02-17'
- s.summary = "ZeroC Ice for Ruby"
- s.description = <<-eos
-The Internet Communications Engine (Ice) provides a robust, proven
-platform for developing mission-critical networked applications
-with minimal effort. Let Ice handle all of the low-level details
-such as network connections, serialization, and concurrency so that
-you can focus on your application logic.
-
-This package includes the Ice extension for Ruby, the standard Slice
-definition files, and the Slice-to-Ruby compiler. You will need to
-install a full Ice distribution if you want to use other Ice language
-mappings, or Ice services such as IceGrid, IceStorm and Glacier2.
-
-
-We provide extensive online documentation for Ice, the Ruby extension,
-and the other Ice language mappings and services.
-
-Join us on our user forums if you have questions about Ice.
-eos
- s.authors = ["ZeroC, Inc."]
- s.email = 'info@zeroc.com'
- s.files = %w[ICE_LICENSE LICENSE ice-x86-mingw.gemspec] + Dir.glob('lib/**/*.rb') + Dir.glob('lib/*.so') + Dir.glob("slice/**/*.ice")
- s.homepage = 'https://www.zeroc.com'
- s.license = 'GPL v2 with exceptions'
- s.rdoc_options = %w[--exclude=IceRuby.so$ --exclude=lib/slice2rb$]
- s.executables << 'slice2rb'
- s.required_ruby_version = '~> 2.1'
-end
diff --git a/distribution/ruby/ice.gemspec b/distribution/ruby/ice.gemspec
deleted file mode 100644
index 41065cd3b32..00000000000
--- a/distribution/ruby/ice.gemspec
+++ /dev/null
@@ -1,41 +0,0 @@
-# **********************************************************************
-#
-# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
-#
-# This copy of Ice is licensed to you under the terms described in the
-# ICE_LICENSE file included in this distribution.
-#
-# **********************************************************************
-
-Gem::Specification.new do |s|
- s.name = 'zeroc-ice'
- s.version = '3.6b1'
- s.date = '2015-01-16'
- s.summary = "ZeroC Ice for Ruby"
- s.description = <<-eos
-The Internet Communications Engine (Ice) provides a robust, proven
-platform for developing mission-critical networked applications
-with minimal effort. Let Ice handle all of the low-level details
-such as network connections, serialization, and concurrency so that
-you can focus on your application logic.
-
-This package includes the Ice extension for Ruby, the standard Slice
-definition files, and the Slice-to-Ruby compiler. You will need to
-install a full Ice distribution if you want to use other Ice language
-mappings, or Ice services such as IceGrid, IceStorm and Glacier2.
-
-
-We provide extensive online documentation for Ice, the Ruby extension,
-and the other Ice language mappings and services.
-
-Join us on our user forums if you have questions about Ice.
-eos
- s.authors = ["ZeroC, Inc."]
- s.email = 'info@zeroc.com'
- s.files = %w[ICE_LICENSE LICENSE ice.gemspec] + Dir.glob('lib/**/*.rb') + Dir.glob("ext/*") + Dir.glob("ext/**/*") + Dir.glob("slice/**/*.ice")
- s.homepage = 'https://www.zeroc.com'
- s.license = 'GPL v2 with exceptions'
- s.extensions = %w[ext/extconf.rb]
- s.rdoc_options = %w[--exclude=ext/IceRuby/.*\.o$ --exclude=IceRuby\.(bundle|so)$ --exclude=lib/slice2rb$]
- s.executables << 'slice2rb'
-end
diff --git a/distribution/ruby/slice2rb b/distribution/ruby/slice2rb
deleted file mode 100755
index c56fc02575f..00000000000
--- a/distribution/ruby/slice2rb
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-# **********************************************************************
-#
-# Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
-#
-# This copy of Ice is licensed to you under the terms described in the
-# ICE_LICENSE file included in this distribution.
-#
-# **********************************************************************
-
-require 'Ice'
-sliceDir = Ice.getSliceDir()
-if sliceDir != nil
- ARGV << "-I" + sliceDir
-end
-rc = Ice::compile(ARGV)
-exit(rc)
diff --git a/distribution/ruby/src/mcpp/config.h.Darwin b/distribution/ruby/src/mcpp/config.h.Darwin
deleted file mode 100644
index 8d5154fa1ac..00000000000
--- a/distribution/ruby/src/mcpp/config.h.Darwin
+++ /dev/null
@@ -1,227 +0,0 @@
-/* src/config.h. Generated from config.h.in by configure. */
-/* src/config.h.in. Generated from configure.ac by autoheader. */
-
-/* Define if '0x5c' in BIG5 multi-byte character is safe. */
-/* #undef BIGFIVE_IS_ESCAPE_FREE */
-
-/* Define the target compiler. */
-#define COMPILER INDEPENDENT
-
-/* Define the type of size_t. */
-/* #undef COMPILER_SP1_VAL */
-
-/* Define the type of ptrdiff_t. */
-/* #undef COMPILER_SP2_VAL */
-
-/* Define the type of wchar_t. */
-/* #undef COMPILER_SP3_VAL */
-
-/* Define the name of COMPILER-specific OLD-style predefined macro. */
-/* #undef COMPILER_SP_OLD */
-
-/* Define the value of COMPILER-specific OLD-style predefined macro. */
-/* #undef COMPILER_SP_OLD_VAL */
-
-/* Define the name of COMPILER-specific STD-style predefined macro. */
-/* #undef COMPILER_SP_STD */
-
-/* Define the value of COMPILER-specific STD-style predefined macro. */
-/* #undef COMPILER_SP_STD_VAL */
-
-/* Define compiler-specific C++ include directory 1. */
-/* #undef CPLUS_INCLUDE_DIR1 */
-
-/* Define compiler-specific C++ include directory 2. */
-/* #undef CPLUS_INCLUDE_DIR2 */
-
-/* Define compiler-specific C++ include directory 3. */
-/* #undef CPLUS_INCLUDE_DIR3 */
-
-/* Define compiler-specific C++ include directory 4. */
-/* #undef CPLUS_INCLUDE_DIR4 */
-
-/* Define the cpu-specific-macro. */
-#define CPU "i386"
-
-/* Define the name of CPU-specific OLD-style predefined macro. */
-/* #undef CPU_SP_OLD */
-
-/* Define the value of CPU-specific OLD-style predefined macro. */
-/* #undef CPU_SP_OLD_VAL */
-
-/* Define the name of CPU-specific STD-style predefined macro. */
-/* #undef CPU_SP_STD */
-
-/* Define the value of CPU-specific STD-style predefined macro. */
-/* #undef CPU_SP_STD_VAL */
-
-/* Define root directory of CYGWIN. */
-/* #undef CYGWIN_ROOT_DIRECTORY */
-
-/* Define compiler-specific C include directory 1. */
-/* #undef C_INCLUDE_DIR1 */
-
-/* Define compiler-specific C include directory 2. */
-/* #undef C_INCLUDE_DIR2 */
-
-/* Define compiler-specific C include directory 3. */
-/* #undef C_INCLUDE_DIR3 */
-
-/* Define if the argument of pragma is macro expanded. */
-/* #undef EXPAND_PRAGMA */
-
-/* Define if the cases of file name are folded. */
-#define FNAME_FOLD 1
-
-/* Define MacOS-specific framework directory 1. */
-#define FRAMEWORK1 "/System/Library/Frameworks"
-
-/* Define MacOS-specific framework directory 2. */
-#define FRAMEWORK2 "/Library/Frameworks"
-
-/* Define MacOS-specific framework directory 3. */
-/* #undef FRAMEWORK3 */
-
-/* Define gcc major version. */
-#define GCC_MAJOR_VERSION "4"
-
-/* Define gcc minor version. */
-#define GCC_MINOR_VERSION "2"
-
-/* Define if digraphs are available. */
-/* #undef HAVE_DIGRAPHS */
-
-/* Define to 1 if you have the <dlfcn.h> header file. */
-#define HAVE_DLFCN_H 1
-
-/* Define to 1 if the system has the type `intmax_t'. */
-#define HAVE_INTMAX_T 1
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-
-/* Define to 1 if the system has the type `long long'. */
-#define HAVE_LONG_LONG 1
-
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#define HAVE_STDINT_H 1
-
-/* Define to 1 if you have the <stdint.h,> header file. */
-/* #undef HAVE_STDINT_H_ */
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
-/* Define to 1 if you have the `stpcpy' function. */
-#define HAVE_STPCPY 1
-
-/* Define to 1 if you have the <strings.h> header file. */
-#define HAVE_STRINGS_H 1
-
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
-/* Define to 1 if you have the <unistd.h,> header file. */
-/* #undef HAVE_UNISTD_H_ */
-
-/* Define the host compiler name. */
-#define HOST_CMP_NAME "GCC"
-
-/* Define the host compiler. */
-#define HOST_COMPILER GNUC
-
-/* Define the host system. */
-#define HOST_SYSTEM SYS_MAC
-
-/* Define include directory to install mcpp_g*.h header files. */
-/* #undef INC_DIR */
-
-/* Define if '0x5c' in ISO2022-JP multi-byte character is safe. */
-/* #undef ISO2022_JP_IS_ESCAPE_FREE */
-
-/* Define output format of line directive. */
-/* #undef LINE_PREFIX */
-
-/* Define printf length modifier for the longest integer. */
-#define LL_FORM "j"
-
-/* Define if build libmcpp */
-#define MCPP_LIB 1
-
-/* Define /mingw directory. */
-/* #undef MINGW_DIRECTORY */
-
-/* Define root directory of MSYS. */
-/* #undef MSYS_ROOT_DIRECTORY */
-
-/* Define the suffix of object file. */
-#define OBJEXT "o"
-
-/* Name of package */
-#define PACKAGE "mcpp"
-
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "kmatsui@t3.rim.or.jp"
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME "mcpp"
-
-/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "mcpp 2.7.2"
-
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME "mcpp"
-
-/* Define to the version of this package. */
-#define PACKAGE_VERSION "2.7.2"
-
-/* Define include preference. */
-/* #undef SEARCH_INIT */
-
-/* Define if '0x5c' in SJIS multi-byte character is safe. */
-/* #undef SJIS_IS_ESCAPE_FREE */
-
-/* Define the default value of __STDC__. */
-/* #undef STDC */
-
-/* Define to 1 if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Define the default value of __STDC_VERSION__. */
-/* #undef STDC_VERSION */
-
-/* Define whether output format of line directive is C source style. */
-/* #undef STD_LINE_PREFIX */
-
-/* Define the target system. */
-#define SYSTEM SYS_MAC
-
-/* Define the version of FreeBSD. */
-/* #undef SYSTEM_EXT_VAL */
-
-/* Define the name of SYSTEM-specific OLD-style predefined macro. */
-/* #undef SYSTEM_SP_OLD */
-
-/* Define the value of SYSTEM-specific OLD-style predefined macro. */
-/* #undef SYSTEM_SP_OLD_VAL */
-
-/* Define the name of SYSTEM-specific STD-style predefined macro. */
-/* #undef SYSTEM_SP_STD */
-
-/* Define the value of SYSTEM-specific STD-style predefined macro. */
-/* #undef SYSTEM_SP_STD_VAL */
-
-/* Version number of package */
-#define VERSION "2.7.2"
diff --git a/distribution/ruby/src/mcpp/config.h.Linux b/distribution/ruby/src/mcpp/config.h.Linux
deleted file mode 100644
index 69134c7df47..00000000000
--- a/distribution/ruby/src/mcpp/config.h.Linux
+++ /dev/null
@@ -1,227 +0,0 @@
-/* src/config.h. Generated from config.h.in by configure. */
-/* src/config.h.in. Generated from configure.ac by autoheader. */
-
-/* Define if '0x5c' in BIG5 multi-byte character is safe. */
-/* #undef BIGFIVE_IS_ESCAPE_FREE */
-
-/* Define the target compiler. */
-#define COMPILER INDEPENDENT
-
-/* Define the type of size_t. */
-/* #undef COMPILER_SP1_VAL */
-
-/* Define the type of ptrdiff_t. */
-/* #undef COMPILER_SP2_VAL */
-
-/* Define the type of wchar_t. */
-/* #undef COMPILER_SP3_VAL */
-
-/* Define the name of COMPILER-specific OLD-style predefined macro. */
-/* #undef COMPILER_SP_OLD */
-
-/* Define the value of COMPILER-specific OLD-style predefined macro. */
-/* #undef COMPILER_SP_OLD_VAL */
-
-/* Define the name of COMPILER-specific STD-style predefined macro. */
-/* #undef COMPILER_SP_STD */
-
-/* Define the value of COMPILER-specific STD-style predefined macro. */
-/* #undef COMPILER_SP_STD_VAL */
-
-/* Define compiler-specific C++ include directory 1. */
-/* #undef CPLUS_INCLUDE_DIR1 */
-
-/* Define compiler-specific C++ include directory 2. */
-/* #undef CPLUS_INCLUDE_DIR2 */
-
-/* Define compiler-specific C++ include directory 3. */
-/* #undef CPLUS_INCLUDE_DIR3 */
-
-/* Define compiler-specific C++ include directory 4. */
-/* #undef CPLUS_INCLUDE_DIR4 */
-
-/* Define the cpu-specific-macro. */
-#define CPU "i386"
-
-/* Define the name of CPU-specific OLD-style predefined macro. */
-/* #undef CPU_SP_OLD */
-
-/* Define the value of CPU-specific OLD-style predefined macro. */
-/* #undef CPU_SP_OLD_VAL */
-
-/* Define the name of CPU-specific STD-style predefined macro. */
-/* #undef CPU_SP_STD */
-
-/* Define the value of CPU-specific STD-style predefined macro. */
-/* #undef CPU_SP_STD_VAL */
-
-/* Define root directory of CYGWIN. */
-/* #undef CYGWIN_ROOT_DIRECTORY */
-
-/* Define compiler-specific C include directory 1. */
-/* #undef C_INCLUDE_DIR1 */
-
-/* Define compiler-specific C include directory 2. */
-/* #undef C_INCLUDE_DIR2 */
-
-/* Define compiler-specific C include directory 3. */
-/* #undef C_INCLUDE_DIR3 */
-
-/* Define if the argument of pragma is macro expanded. */
-/* #undef EXPAND_PRAGMA */
-
-/* Define if the cases of file name are folded. */
-/* #undef FNAME_FOLD */
-
-/* Define MacOS-specific framework directory 1. */
-/* #undef FRAMEWORK1 */
-
-/* Define MacOS-specific framework directory 2. */
-/* #undef FRAMEWORK2 */
-
-/* Define MacOS-specific framework directory 3. */
-/* #undef FRAMEWORK3 */
-
-/* Define gcc major version. */
-#define GCC_MAJOR_VERSION "4"
-
-/* Define gcc minor version. */
-#define GCC_MINOR_VERSION "8"
-
-/* Define if digraphs are available. */
-/* #undef HAVE_DIGRAPHS */
-
-/* Define to 1 if you have the <dlfcn.h> header file. */
-#define HAVE_DLFCN_H 1
-
-/* Define to 1 if the system has the type `intmax_t'. */
-#define HAVE_INTMAX_T 1
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-
-/* Define to 1 if the system has the type `long long'. */
-#define HAVE_LONG_LONG 1
-
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#define HAVE_STDINT_H 1
-
-/* Define to 1 if you have the <stdint.h,> header file. */
-/* #undef HAVE_STDINT_H_ */
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
-/* Define to 1 if you have the `stpcpy' function. */
-#define HAVE_STPCPY 1
-
-/* Define to 1 if you have the <strings.h> header file. */
-#define HAVE_STRINGS_H 1
-
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
-/* Define to 1 if you have the <unistd.h,> header file. */
-/* #undef HAVE_UNISTD_H_ */
-
-/* Define the host compiler name. */
-#define HOST_CMP_NAME "GCC"
-
-/* Define the host compiler. */
-#define HOST_COMPILER GNUC
-
-/* Define the host system. */
-#define HOST_SYSTEM SYS_LINUX
-
-/* Define include directory to install mcpp_g*.h header files. */
-/* #undef INC_DIR */
-
-/* Define if '0x5c' in ISO2022-JP multi-byte character is safe. */
-/* #undef ISO2022_JP_IS_ESCAPE_FREE */
-
-/* Define output format of line directive. */
-/* #undef LINE_PREFIX */
-
-/* Define printf length modifier for the longest integer. */
-#define LL_FORM "j"
-
-/* Define if build libmcpp */
-#define MCPP_LIB 1
-
-/* Define /mingw directory. */
-/* #undef MINGW_DIRECTORY */
-
-/* Define root directory of MSYS. */
-/* #undef MSYS_ROOT_DIRECTORY */
-
-/* Define the suffix of object file. */
-#define OBJEXT "o"
-
-/* Name of package */
-#define PACKAGE "mcpp"
-
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "kmatsui@t3.rim.or.jp"
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME "mcpp"
-
-/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "mcpp 2.7.2"
-
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME "mcpp"
-
-/* Define to the version of this package. */
-#define PACKAGE_VERSION "2.7.2"
-
-/* Define include preference. */
-/* #undef SEARCH_INIT */
-
-/* Define if '0x5c' in SJIS multi-byte character is safe. */
-/* #undef SJIS_IS_ESCAPE_FREE */
-
-/* Define the default value of __STDC__. */
-/* #undef STDC */
-
-/* Define to 1 if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Define the default value of __STDC_VERSION__. */
-/* #undef STDC_VERSION */
-
-/* Define whether output format of line directive is C source style. */
-/* #undef STD_LINE_PREFIX */
-
-/* Define the target system. */
-#define SYSTEM SYS_LINUX
-
-/* Define the version of FreeBSD. */
-/* #undef SYSTEM_EXT_VAL */
-
-/* Define the name of SYSTEM-specific OLD-style predefined macro. */
-/* #undef SYSTEM_SP_OLD */
-
-/* Define the value of SYSTEM-specific OLD-style predefined macro. */
-/* #undef SYSTEM_SP_OLD_VAL */
-
-/* Define the name of SYSTEM-specific STD-style predefined macro. */
-/* #undef SYSTEM_SP_STD */
-
-/* Define the value of SYSTEM-specific STD-style predefined macro. */
-/* #undef SYSTEM_SP_STD_VAL */
-
-/* Version number of package */
-#define VERSION "2.7.2"
diff --git a/distribution/ruby/src/mcpp/config.h.MINGW b/distribution/ruby/src/mcpp/config.h.MINGW
deleted file mode 100644
index 5d21598f007..00000000000
--- a/distribution/ruby/src/mcpp/config.h.MINGW
+++ /dev/null
@@ -1,7 +0,0 @@
-#define COMPILER INDEPENDENT
-#define HOST_SYSTEM SYS_WIN
-#define SYSTEM SYS_WIN
-#define CPU "x86_64"
-#define HOST_COMPILER MSC
-#define VERSION "2.7.2"
-#define MCPP_LIB 1