Mercurial > hg > octave-nkf > gnulib-hg
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 |
rev | line source |
---|---|
8603 | 1 Description: |
2 Character set conversion. | |
3 | |
4 Files: | |
5 lib/iconv_open.c | |
6 lib/iconv_open-aix.gperf | |
7 lib/iconv_open-hpux.gperf | |
8 lib/iconv_open-irix.gperf | |
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 | 11 m4/iconv_open.m4 |
12 | |
13 Depends-on: | |
9470 | 14 gperf |
12915 | 15 iconv-h |
8603 | 16 iconv |
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 | 19 |
20 configure.ac: | |
21 gl_FUNC_ICONV_OPEN | |
22 | |
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 | 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 | 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 | 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 | 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 | 45 |
46 Include: | |
47 <iconv.h> | |
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 | 52 License: |
9131
8812f453e378
Use the synonymous term LGPLv2+.
Bruno Haible <bruno@clisp.org>
parents:
8998
diff
changeset
|
53 LGPLv2+ |
8603 | 54 |
55 Maintainer: | |
56 Bruno Haible |