2 Character set conversion.
7 lib/iconv_open-aix.gperf
8 lib/iconv_open-hpux.gperf
9 lib/iconv_open-irix.gperf
10 lib/iconv_open-osf.gperf
26 BUILT_SOURCES += $(ICONV_H)
28 # We need the following in order to create <iconv.h> when the system
29 # doesn't have one that works with the given compiler.
32 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
33 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
34 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
35 -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
36 -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
37 -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
38 -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
39 -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
40 < $(srcdir)/iconv.in.h; \
43 MOSTLYCLEANFILES += iconv.h iconv.h-t
45 iconv_open-aix.h: iconv_open-aix.gperf
46 $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $@-t
48 iconv_open-hpux.h: iconv_open-hpux.gperf
49 $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $@-t
51 iconv_open-irix.h: iconv_open-irix.gperf
52 $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $@-t
54 iconv_open-osf.h: iconv_open-osf.gperf
55 $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $@-t
57 BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
58 MOSTLYCLEANFILES += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t
59 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
60 EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
66 $(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise