Mercurial > cpython-lru_cache-weakref
annotate Tools/unicode/Makefile @ 80661:94de77bd0b4b 2.7
Issue #16194: document imp.load_dynamic problems
when read several extension modules from the same binary object file.
| author | Andrew Svetlov <andrew.svetlov@gmail.com> |
|---|---|
| date | Thu, 29 Nov 2012 19:51:28 +0200 |
| parents | 9e0b050ce46f |
| children |
| rev | line source |
|---|---|
|
35802
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
1 # |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
2 # Recreate the Python charmap codecs from the Unicode mapping |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
3 # files available at ftp://ftp.unicode.org/ |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
4 # |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
5 #(c) Copyright Marc-Andre Lemburg, 2005. |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
6 # Licensed to PSF under a Contributor Agreement. |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
7 |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
8 # Python binary to use |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
9 PYTHON = python |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
10 |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
11 # Remove tool to use |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
12 RM = /bin/rm |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
13 |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
14 ### Generic targets |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
15 |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
16 all: distclean mappings codecs |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
17 |
|
37218
e234ff8beaa2
Patch #1443155: Add the incremental codecs support for CJK codecs.
Hye-Shik Chang <hyeshik@gmail.com>
parents:
36996
diff
changeset
|
18 codecs: misc windows iso apple ebcdic custom-mappings cjk |
|
35802
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
19 |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
20 ### Mappings |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
21 |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
22 mappings: |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
23 ncftpget -R ftp.unicode.org . Public/MAPPINGS |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
24 |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
25 ### Codecs |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
26 |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
27 build/: |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
28 mkdir build |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
29 |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
30 misc: build/ |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
31 $(PYTHON) gencodec.py MAPPINGS/VENDORS/MISC/ build/ |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
32 $(RM) build/atarist.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
33 $(RM) build/us_ascii_quotes.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
34 $(RM) build/ibmgraph.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
35 $(RM) build/sgml.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
36 $(RM) -f build/readme.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
37 |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
38 custom-mappings: build/ |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
39 $(PYTHON) gencodec.py python-mappings/ build/ |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
40 |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
41 windows: build/ |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
42 $(PYTHON) gencodec.py MAPPINGS/VENDORS/MICSFT/WINDOWS/ build/ |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
43 $(RM) build/cp9* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
44 $(RM) -f build/readme.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
45 |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
46 iso: build/ |
|
36996
7fa4c29d7030
Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass
Walter Dörwald <walter@livinglogic.de>
parents:
35802
diff
changeset
|
47 $(PYTHON) gencodec.py MAPPINGS/ISO8859/ build/ iso |
|
35802
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
48 $(RM) -f build/isoreadme.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
49 |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
50 apple: build/ |
|
36996
7fa4c29d7030
Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass
Walter Dörwald <walter@livinglogic.de>
parents:
35802
diff
changeset
|
51 $(PYTHON) gencodec.py MAPPINGS/VENDORS/APPLE/ build/ mac_ |
|
35802
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
52 $(RM) build/mac_dingbats.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
53 $(RM) build/mac_japanese.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
54 $(RM) build/mac_chin* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
55 $(RM) build/mac_korean.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
56 $(RM) build/mac_symbol.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
57 $(RM) build/mac_corpchar.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
58 $(RM) build/mac_devanaga.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
59 $(RM) build/mac_gaelic.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
60 $(RM) build/mac_gurmukhi.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
61 $(RM) build/mac_hebrew.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
62 $(RM) build/mac_inuit.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
63 $(RM) build/mac_thai.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
64 $(RM) build/mac_ukraine.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
65 $(RM) build/mac_arabic.py |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
66 $(RM) build/mac_celtic.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
67 $(RM) build/mac_gujarati.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
68 $(RM) build/mac_keyboard.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
69 $(RM) -f build/mac_readme.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
70 |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
71 ebcdic: build/ |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
72 $(PYTHON) gencodec.py MAPPINGS/VENDORS/MICSFT/EBCDIC/ build/ |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
73 $(RM) -f build/readme.* |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
74 |
|
37218
e234ff8beaa2
Patch #1443155: Add the incremental codecs support for CJK codecs.
Hye-Shik Chang <hyeshik@gmail.com>
parents:
36996
diff
changeset
|
75 cjk: build/ |
|
e234ff8beaa2
Patch #1443155: Add the incremental codecs support for CJK codecs.
Hye-Shik Chang <hyeshik@gmail.com>
parents:
36996
diff
changeset
|
76 $(PYTHON) gencjkcodecs.py build/ |
|
e234ff8beaa2
Patch #1443155: Add the incremental codecs support for CJK codecs.
Hye-Shik Chang <hyeshik@gmail.com>
parents:
36996
diff
changeset
|
77 |
|
35802
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
78 ### Cleanup |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
79 |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
80 clean: |
|
38586
9e0b050ce46f
Patch #1359618: Speed-up charmap encoder.
Martin v. Löwis <martin@v.loewis.de>
parents:
37218
diff
changeset
|
81 $(RM) -f build/* |
|
35802
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
82 |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
83 distclean: clean |
|
8daefe849949
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
84 $(RM) -rf MAPPINGS/ |
