From 4710c53dcad1ebf3755f3efb9e80ac24bd72a9b2 Mon Sep 17 00:00:00 2001 From: darylm503 Date: Mon, 16 Apr 2012 22:12:42 +0000 Subject: AppPkg/Applications/Python: Add Python 2.7.2 sources since the release of Python 2.7.3 made them unavailable from the python.org web site. These files are a subset of the python-2.7.2.tgz distribution from python.org. Changed files from PyMod-2.7.2 have been copied into the corresponding directories of this tree, replacing the original files in the distribution. Signed-off-by: daryl.mcdaniel@intel.com git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13197 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Python/Python-2.7.2/Tools/unicode/Makefile | 84 ++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/Makefile (limited to 'AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/Makefile') diff --git a/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/Makefile b/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/Makefile new file mode 100644 index 0000000000..2fc88b9c5e --- /dev/null +++ b/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/Makefile @@ -0,0 +1,84 @@ +# +# Recreate the Python charmap codecs from the Unicode mapping +# files available at ftp://ftp.unicode.org/ +# +#(c) Copyright Marc-Andre Lemburg, 2005. +# Licensed to PSF under a Contributor Agreement. + +# Python binary to use +PYTHON = python + +# Remove tool to use +RM = /bin/rm + +### Generic targets + +all: distclean mappings codecs + +codecs: misc windows iso apple ebcdic custom-mappings cjk + +### Mappings + +mappings: + ncftpget -R ftp.unicode.org . Public/MAPPINGS + +### Codecs + +build/: + mkdir build + +misc: build/ + $(PYTHON) gencodec.py MAPPINGS/VENDORS/MISC/ build/ + $(RM) build/atarist.* + $(RM) build/us_ascii_quotes.* + $(RM) build/ibmgraph.* + $(RM) build/sgml.* + $(RM) -f build/readme.* + +custom-mappings: build/ + $(PYTHON) gencodec.py python-mappings/ build/ + +windows: build/ + $(PYTHON) gencodec.py MAPPINGS/VENDORS/MICSFT/WINDOWS/ build/ + $(RM) build/cp9* + $(RM) -f build/readme.* + +iso: build/ + $(PYTHON) gencodec.py MAPPINGS/ISO8859/ build/ iso + $(RM) -f build/isoreadme.* + +apple: build/ + $(PYTHON) gencodec.py MAPPINGS/VENDORS/APPLE/ build/ mac_ + $(RM) build/mac_dingbats.* + $(RM) build/mac_japanese.* + $(RM) build/mac_chin* + $(RM) build/mac_korean.* + $(RM) build/mac_symbol.* + $(RM) build/mac_corpchar.* + $(RM) build/mac_devanaga.* + $(RM) build/mac_gaelic.* + $(RM) build/mac_gurmukhi.* + $(RM) build/mac_hebrew.* + $(RM) build/mac_inuit.* + $(RM) build/mac_thai.* + $(RM) build/mac_ukraine.* + $(RM) build/mac_arabic.py + $(RM) build/mac_celtic.* + $(RM) build/mac_gujarati.* + $(RM) build/mac_keyboard.* + $(RM) -f build/mac_readme.* + +ebcdic: build/ + $(PYTHON) gencodec.py MAPPINGS/VENDORS/MICSFT/EBCDIC/ build/ + $(RM) -f build/readme.* + +cjk: build/ + $(PYTHON) gencjkcodecs.py build/ + +### Cleanup + +clean: + $(RM) -f build/* + +distclean: clean + $(RM) -rf MAPPINGS/ -- cgit v1.2.3