Mercurial > cpython-lru_cache-weakref
annotate Tools/unicode/Makefile @ 78069:a8aa77458e12 3.2
Add c_size_t and c_ssize_t to the ctypes summary table.
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Thu, 12 Jul 2012 20:31:50 +0200 |
| parents | a19c20c5e5c7 |
| 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 |
|
37879
f731859e9b3b
Merge p3yk branch with the trunk up to revision 45595. This breaks a fair
Thomas Wouters <thomas@python.org>
parents:
37875
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/ |
|
37875
a4c70f3968be
Merge part of the trunk changes into the p3yk branch. This merges from 43030
Thomas Wouters <thomas@python.org>
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/ |
|
37875
a4c70f3968be
Merge part of the trunk changes into the p3yk branch. This merges from 43030
Thomas Wouters <thomas@python.org>
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 |
|
37879
f731859e9b3b
Merge p3yk branch with the trunk up to revision 45595. This breaks a fair
Thomas Wouters <thomas@python.org>
parents:
37875
diff
changeset
|
75 cjk: build/ |
|
f731859e9b3b
Merge p3yk branch with the trunk up to revision 45595. This breaks a fair
Thomas Wouters <thomas@python.org>
parents:
37875
diff
changeset
|
76 $(PYTHON) gencjkcodecs.py build/ |
|
f731859e9b3b
Merge p3yk branch with the trunk up to revision 45595. This breaks a fair
Thomas Wouters <thomas@python.org>
parents:
37875
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: |
|
38673
a19c20c5e5c7
Merge the rest of the trunk.
Thomas Wouters <thomas@python.org>
parents:
37879
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/ |
