tests: fix license on several tests
[gnulib.git] / modules / iconv_open
1 Description:
2 Character set conversion.
3
4 Files:
5 lib/iconv.in.h
6 lib/iconv_open.c
7 lib/iconv_open-aix.gperf
8 lib/iconv_open-hpux.gperf
9 lib/iconv_open-irix.gperf
10 lib/iconv_open-osf.gperf
11 lib/iconv_open-solaris.gperf
12 m4/iconv_h.m4
13 m4/iconv_open.m4
14
15 Depends-on:
16 gperf
17 include_next
18 arg-nonnull
19 iconv
20 c-ctype
21 c-strcase
22
23 configure.ac:
24 gl_ICONV_H
25 gl_FUNC_ICONV_OPEN
26
27 Makefile.am:
28 BUILT_SOURCES += $(ICONV_H)
29
30 # We need the following in order to create <iconv.h> when the system
31 # doesn't have one that works with the given compiler.
32 iconv.h: iconv.in.h $(ARG_NONNULL_H)
33         $(AM_V_GEN)rm -f $@-t $@ && \
34         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
35           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
36               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
37               -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
38               -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
39               -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
40               -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
41               -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
42               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
43               < $(srcdir)/iconv.in.h; \
44         } > $@-t && \
45         mv $@-t $@
46 MOSTLYCLEANFILES += iconv.h iconv.h-t
47
48 iconv_open-aix.h: iconv_open-aix.gperf
49         $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
50         mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
51 iconv_open-hpux.h: iconv_open-hpux.gperf
52         $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
53         mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
54 iconv_open-irix.h: iconv_open-irix.gperf
55         $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
56         mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
57 iconv_open-osf.h: iconv_open-osf.gperf
58         $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
59         mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
60 iconv_open-solaris.h: iconv_open-solaris.gperf
61         $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
62         mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
63 BUILT_SOURCES        += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
64 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
65 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
66 EXTRA_DIST           += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
67
68 Include:
69 <iconv.h>
70
71 Link:
72 $(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise
73
74 License:
75 LGPLv2+
76
77 Maintainer:
78 Bruno Haible