annotate modules/iconv_open @ 14100:85f15823ff38

iconv_open: reduce not-trivial repetition of file-list * modules/iconv_open (iconv_headers): New make macro to hold list of iconv header files. (BUILT_SOURCES, MAINTAINERCLEANFILES, EXTRA_DIST): Use it instead of multiple hard-coded copies.
author Gary V. Vaughan <gary@gnu.org>
date Mon, 11 Oct 2010 15:42:44 +0700
parents 787bfaea0891
children f49fe7e6d028
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 Character set conversion.
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 lib/iconv_open.c
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 lib/iconv_open-aix.gperf
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 lib/iconv_open-hpux.gperf
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 lib/iconv_open-irix.gperf
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 lib/iconv_open-osf.gperf
11910
32fc3a6c4499 Work around iconv_open problem on Solaris.
Bruno Haible <bruno@clisp.org>
parents: 11868
diff changeset
10 lib/iconv_open-solaris.gperf
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 m4/iconv_open.m4
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 Depends-on:
9470
4b48f7a470c2 New module 'gperf'.
Bruno Haible <bruno@clisp.org>
parents: 9341
diff changeset
14 gperf
12915
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents: 12422
diff changeset
15 iconv-h
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 iconv
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 c-ctype
9341
212d6f041290 New module 'iconv_open-utf': Enhance iconv_open to support UTF-{16,32}{BE,LE}.
Bruno Haible <bruno@clisp.org>
parents: 9252
diff changeset
18 c-strcase
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 configure.ac:
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 gl_FUNC_ICONV_OPEN
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 Makefile.am:
14100
85f15823ff38 iconv_open: reduce not-trivial repetition of file-list
Gary V. Vaughan <gary@gnu.org>
parents: 12915
diff changeset
24 iconv_headers = iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
85f15823ff38 iconv_open: reduce not-trivial repetition of file-list
Gary V. Vaughan <gary@gnu.org>
parents: 12915
diff changeset
25
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 iconv_open-aix.h: iconv_open-aix.gperf
11543
847f612e069f Create gperf-generated files in the source dir, not in the build dir.
Bruno Haible <bruno@clisp.org>
parents: 10375
diff changeset
27 $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
847f612e069f Create gperf-generated files in the source dir, not in the build dir.
Bruno Haible <bruno@clisp.org>
parents: 10375
diff changeset
28 mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29 iconv_open-hpux.h: iconv_open-hpux.gperf
11543
847f612e069f Create gperf-generated files in the source dir, not in the build dir.
Bruno Haible <bruno@clisp.org>
parents: 10375
diff changeset
30 $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
847f612e069f Create gperf-generated files in the source dir, not in the build dir.
Bruno Haible <bruno@clisp.org>
parents: 10375
diff changeset
31 mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
32 iconv_open-irix.h: iconv_open-irix.gperf
11543
847f612e069f Create gperf-generated files in the source dir, not in the build dir.
Bruno Haible <bruno@clisp.org>
parents: 10375
diff changeset
33 $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
847f612e069f Create gperf-generated files in the source dir, not in the build dir.
Bruno Haible <bruno@clisp.org>
parents: 10375
diff changeset
34 mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
35 iconv_open-osf.h: iconv_open-osf.gperf
11543
847f612e069f Create gperf-generated files in the source dir, not in the build dir.
Bruno Haible <bruno@clisp.org>
parents: 10375
diff changeset
36 $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
847f612e069f Create gperf-generated files in the source dir, not in the build dir.
Bruno Haible <bruno@clisp.org>
parents: 10375
diff changeset
37 mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
11910
32fc3a6c4499 Work around iconv_open problem on Solaris.
Bruno Haible <bruno@clisp.org>
parents: 11868
diff changeset
38 iconv_open-solaris.h: iconv_open-solaris.gperf
32fc3a6c4499 Work around iconv_open problem on Solaris.
Bruno Haible <bruno@clisp.org>
parents: 11868
diff changeset
39 $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
32fc3a6c4499 Work around iconv_open problem on Solaris.
Bruno Haible <bruno@clisp.org>
parents: 11868
diff changeset
40 mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
14100
85f15823ff38 iconv_open: reduce not-trivial repetition of file-list
Gary V. Vaughan <gary@gnu.org>
parents: 12915
diff changeset
41 BUILT_SOURCES += $(iconv_headers)
11910
32fc3a6c4499 Work around iconv_open problem on Solaris.
Bruno Haible <bruno@clisp.org>
parents: 11868
diff changeset
42 MOSTLYCLEANFILES += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t iconv_open-solaris.h-t
14100
85f15823ff38 iconv_open: reduce not-trivial repetition of file-list
Gary V. Vaughan <gary@gnu.org>
parents: 12915
diff changeset
43 MAINTAINERCLEANFILES += $(iconv_headers)
85f15823ff38 iconv_open: reduce not-trivial repetition of file-list
Gary V. Vaughan <gary@gnu.org>
parents: 12915
diff changeset
44 EXTRA_DIST += $(iconv_headers)
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
45
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
46 Include:
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
47 <iconv.h>
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
48
10130
7581db129a32 Mention the link requirements.
Bruno Haible <bruno@clisp.org>
parents: 9470
diff changeset
49 Link:
7581db129a32 Mention the link requirements.
Bruno Haible <bruno@clisp.org>
parents: 9470
diff changeset
50 $(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise
7581db129a32 Mention the link requirements.
Bruno Haible <bruno@clisp.org>
parents: 9470
diff changeset
51
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
52 License:
9131
8812f453e378 Use the synonymous term LGPLv2+.
Bruno Haible <bruno@clisp.org>
parents: 8998
diff changeset
53 LGPLv2+
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
54
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
55 Maintainer:
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
56 Bruno Haible