aboutsummaryrefslogtreecommitdiff
path: root/iconvdata
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata')
-rw-r--r--iconvdata/Makefile6
-rw-r--r--iconvdata/gconv.map7
2 files changed, 11 insertions, 2 deletions
diff --git a/iconvdata/Makefile b/iconvdata/Makefile
index 0978a10..9584d4d 100644
--- a/iconvdata/Makefile
+++ b/iconvdata/Makefile
@@ -110,7 +110,7 @@ LDFLAGS-libCNS.so = $(LDFLAGS-soname-fname)
LDFLAGS-libISOIR165.so = $(LDFLAGS-soname-fname)
LDFLAGS-libJISX0213.so = $(LDFLAGS-soname-fname)
-distribute := gconv-modules extra-module.mk gap.awk gaptab.awk \
+distribute := gconv-modules extra-module.mk gap.awk gaptab.awk gconv.map \
gen-8bit.sh gen-8bit-gap.sh gen-8bit-gap-1.sh \
TESTS $(filter-out testdata/CVS%, $(wildcard testdata/*)) \
TESTS2 run-iconv-test.sh tst-tables.sh tst-table.sh \
@@ -249,8 +249,10 @@ $(objpfx)iconv-rules: Makefile
echo 8bit $(gen-8bit-modules); \
echo 8bit-gap $(gen-8bit-gap-modules); } | \
$(AWK) 'NR == 1 { \
- for (i = 1; i <= NF; i++) \
+ for (i = 1; i <= NF; i++) { \
printf "%s-routines := %s\n", $$i, tolower($$i); \
+ printf "%s-map := gconv.map\n", $$i; \
+ } \
}; \
NR > 1 { \
for (i = 2; i <= NF; i++) { \
diff --git a/iconvdata/gconv.map b/iconvdata/gconv.map
new file mode 100644
index 0000000..4274073
--- /dev/null
+++ b/iconvdata/gconv.map
@@ -0,0 +1,7 @@
+{
+global:
+ gconv;
+ gconv_init;
+local:
+ *;
+};