2 Character set conversion.
6 lib/iconv_open-aix.gperf
7 lib/iconv_open-hpux.gperf
8 lib/iconv_open-irix.gperf
9 lib/iconv_open-osf.gperf
10 lib/iconv_open-solaris.gperf
11 lib/iconv_open-zos.gperf
20 c-ctype [test $REPLACE_ICONV_OPEN = 1]
21 c-strcase [test $REPLACE_ICONV_OPEN = 1]
22 stdint [test $REPLACE_ICONV_UTF = 1]
23 unistr/u8-mbtoucr [test $REPLACE_ICONV_UTF = 1]
24 unistr/u8-uctomb [test $REPLACE_ICONV_UTF = 1]
28 if test $REPLACE_ICONV_OPEN = 1; then
29 AC_LIBOBJ([iconv_open])
31 if test $REPLACE_ICONV = 1; then
33 AC_LIBOBJ([iconv_close])
37 $(srcdir)/iconv_open-aix.h: $(srcdir)/iconv_open-aix.gperf
38 $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t && \
39 mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
40 $(srcdir)/iconv_open-hpux.h: $(srcdir)/iconv_open-hpux.gperf
41 $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t && \
42 mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
43 $(srcdir)/iconv_open-irix.h: $(srcdir)/iconv_open-irix.gperf
44 $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t && \
45 mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
46 $(srcdir)/iconv_open-osf.h: $(srcdir)/iconv_open-osf.gperf
47 $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t && \
48 mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
49 $(srcdir)/iconv_open-solaris.h: $(srcdir)/iconv_open-solaris.gperf
50 $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t && \
51 mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
52 $(srcdir)/iconv_open-zos.h: $(srcdir)/iconv_open-zos.gperf
53 $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-zos.gperf > $(srcdir)/iconv_open-zos.h-t && \
54 mv $(srcdir)/iconv_open-zos.h-t $(srcdir)/iconv_open-zos.h
55 BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h iconv_open-zos.h
56 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 iconv_open-zos.h-t
57 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h iconv_open-zos.h
58 EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h iconv_open-zos.h
64 $(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise