Imported Upstream version 1.22.3
[platform/upstream/groff.git] / src / libs / gnulib / lib / Makefile.am
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2014 Free Software Foundation, Inc.
4 #
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this file.  If not, see <http://www.gnu.org/licenses/>.
17 #
18 # As a special exception to the GNU General Public License,
19 # this file may be distributed as part of a program that
20 # contains a configuration script generated by Autoconf, under
21 # the same distribution terms as the rest of that program.
22 #
23 # Generated by gnulib-tool.
24 # Reproduce by: gnulib-tool --import --dir=src/libs/gnulib --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --no-libtool --macro-prefix=gl wcwidth
25
26 AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
27
28 SUBDIRS =
29 noinst_HEADERS =
30 noinst_LIBRARIES =
31 noinst_LTLIBRARIES =
32 EXTRA_DIST =
33 BUILT_SOURCES =
34 SUFFIXES =
35 MOSTLYCLEANFILES = core *.stackdump
36 MOSTLYCLEANDIRS =
37 CLEANFILES =
38 DISTCLEANFILES =
39 MAINTAINERCLEANFILES =
40
41 AM_CPPFLAGS =
42 AM_CFLAGS =
43
44 noinst_LIBRARIES += libgnu.a
45
46 libgnu_a_SOURCES =
47 libgnu_a_LIBADD = $(gl_LIBOBJS)
48 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
49 EXTRA_libgnu_a_SOURCES =
50
51 ## begin gnulib module configmake
52
53 # Listed in the same order as the GNU makefile conventions, and
54 # provided by autoconf 2.59c+.
55 # The Automake-defined pkg* macros are appended, in the order
56 # listed in the Automake 1.10a+ documentation.
57 configmake.h: Makefile
58         $(AM_V_GEN)rm -f $@-t && \
59         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
60           echo '#define PREFIX "$(prefix)"'; \
61           echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
62           echo '#define BINDIR "$(bindir)"'; \
63           echo '#define SBINDIR "$(sbindir)"'; \
64           echo '#define LIBEXECDIR "$(libexecdir)"'; \
65           echo '#define DATAROOTDIR "$(datarootdir)"'; \
66           echo '#define DATADIR "$(datadir)"'; \
67           echo '#define SYSCONFDIR "$(sysconfdir)"'; \
68           echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
69           echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
70           echo '#define INCLUDEDIR "$(includedir)"'; \
71           echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
72           echo '#define DOCDIR "$(docdir)"'; \
73           echo '#define INFODIR "$(infodir)"'; \
74           echo '#define HTMLDIR "$(htmldir)"'; \
75           echo '#define DVIDIR "$(dvidir)"'; \
76           echo '#define PDFDIR "$(pdfdir)"'; \
77           echo '#define PSDIR "$(psdir)"'; \
78           echo '#define LIBDIR "$(libdir)"'; \
79           echo '#define LISPDIR "$(lispdir)"'; \
80           echo '#define LOCALEDIR "$(localedir)"'; \
81           echo '#define MANDIR "$(mandir)"'; \
82           echo '#define MANEXT "$(manext)"'; \
83           echo '#define PKGDATADIR "$(pkgdatadir)"'; \
84           echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
85           echo '#define PKGLIBDIR "$(pkglibdir)"'; \
86           echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
87         } | sed '/""/d' > $@-t && \
88         mv -f $@-t $@
89
90 BUILT_SOURCES += configmake.h
91 CLEANFILES += configmake.h configmake.h-t
92
93 ## end   gnulib module configmake
94
95 ## begin gnulib module localcharset
96
97 libgnu_a_SOURCES += localcharset.h localcharset.c
98
99 # We need the following in order to install a simple file in $(libdir)
100 # which is shared with other installed packages. We use a list of referencing
101 # packages so that "make uninstall" will remove the file if and only if it
102 # is not used by another installed package.
103 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
104 # avoid installing it.
105
106 all-local: charset.alias ref-add.sed ref-del.sed
107
108 charset_alias = $(DESTDIR)$(libdir)/charset.alias
109 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
110 install-exec-local: install-exec-localcharset
111 install-exec-localcharset: all-local
112         if test $(GLIBC21) = no; then \
113           case '$(host_os)' in \
114             darwin[56]*) \
115               need_charset_alias=true ;; \
116             darwin* | cygwin* | mingw* | pw32* | cegcc*) \
117               need_charset_alias=false ;; \
118             *) \
119               need_charset_alias=true ;; \
120           esac ; \
121         else \
122           need_charset_alias=false ; \
123         fi ; \
124         if $$need_charset_alias; then \
125           $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
126         fi ; \
127         if test -f $(charset_alias); then \
128           sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
129           $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
130           rm -f $(charset_tmp) ; \
131         else \
132           if $$need_charset_alias; then \
133             sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
134             $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
135             rm -f $(charset_tmp) ; \
136           fi ; \
137         fi
138
139 uninstall-local: uninstall-localcharset
140 uninstall-localcharset: all-local
141         if test -f $(charset_alias); then \
142           sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
143           if grep '^# Packages using this file: $$' $(charset_tmp) \
144               > /dev/null; then \
145             rm -f $(charset_alias); \
146           else \
147             $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
148           fi; \
149           rm -f $(charset_tmp); \
150         fi
151
152 charset.alias: config.charset
153         $(AM_V_GEN)rm -f t-$@ $@ && \
154         $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
155         mv t-$@ $@
156
157 SUFFIXES += .sed .sin
158 .sin.sed:
159         $(AM_V_GEN)rm -f t-$@ $@ && \
160         sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
161         mv t-$@ $@
162
163 CLEANFILES += charset.alias ref-add.sed ref-del.sed
164
165 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
166
167 ## end   gnulib module localcharset
168
169 ## begin gnulib module snippet/arg-nonnull
170
171 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
172 # statements but through direct file reference. Therefore this snippet must be
173 # present in all Makefile.am that need it. This is ensured by the applicability
174 # 'all' defined above.
175
176 BUILT_SOURCES += arg-nonnull.h
177 # The arg-nonnull.h that gets inserted into generated .h files is the same as
178 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
179 # off.
180 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
181         $(AM_V_GEN)rm -f $@-t $@ && \
182         sed -n -e '/GL_ARG_NONNULL/,$$p' \
183           < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
184           > $@-t && \
185         mv $@-t $@
186 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
187
188 ARG_NONNULL_H=arg-nonnull.h
189
190 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
191
192 ## end   gnulib module snippet/arg-nonnull
193
194 ## begin gnulib module snippet/c++defs
195
196 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
197 # statements but through direct file reference. Therefore this snippet must be
198 # present in all Makefile.am that need it. This is ensured by the applicability
199 # 'all' defined above.
200
201 BUILT_SOURCES += c++defs.h
202 # The c++defs.h that gets inserted into generated .h files is the same as
203 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
204 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
205         $(AM_V_GEN)rm -f $@-t $@ && \
206         sed -n -e '/_GL_CXXDEFS/,$$p' \
207           < $(top_srcdir)/build-aux/snippet/c++defs.h \
208           > $@-t && \
209         mv $@-t $@
210 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
211
212 CXXDEFS_H=c++defs.h
213
214 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
215
216 ## end   gnulib module snippet/c++defs
217
218 ## begin gnulib module snippet/warn-on-use
219
220 BUILT_SOURCES += warn-on-use.h
221 # The warn-on-use.h that gets inserted into generated .h files is the same as
222 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
223 # off.
224 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
225         $(AM_V_GEN)rm -f $@-t $@ && \
226         sed -n -e '/^.ifndef/,$$p' \
227           < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
228           > $@-t && \
229         mv $@-t $@
230 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
231
232 WARN_ON_USE_H=warn-on-use.h
233
234 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
235
236 ## end   gnulib module snippet/warn-on-use
237
238 ## begin gnulib module stddef
239
240 BUILT_SOURCES += $(STDDEF_H)
241
242 # We need the following in order to create <stddef.h> when the system
243 # doesn't have one that works with the given compiler.
244 if GL_GENERATE_STDDEF_H
245 stddef.h: stddef.in.h $(top_builddir)/config.status
246         $(AM_V_GEN)rm -f $@-t $@ && \
247         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
248           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
249               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
250               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
251               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
252               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
253               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
254               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
255               < $(srcdir)/stddef.in.h; \
256         } > $@-t && \
257         mv $@-t $@
258 else
259 stddef.h: $(top_builddir)/config.status
260         rm -f $@
261 endif
262 MOSTLYCLEANFILES += stddef.h stddef.h-t
263
264 EXTRA_DIST += stddef.in.h
265
266 ## end   gnulib module stddef
267
268 ## begin gnulib module stdint
269
270 BUILT_SOURCES += $(STDINT_H)
271
272 # We need the following in order to create <stdint.h> when the system
273 # doesn't have one that works with the given compiler.
274 if GL_GENERATE_STDINT_H
275 stdint.h: stdint.in.h $(top_builddir)/config.status
276         $(AM_V_GEN)rm -f $@-t $@ && \
277         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
278           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
279               -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
280               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
281               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
282               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
283               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
284               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
285               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
286               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
287               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
288               -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
289               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
290               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
291               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
292               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
293               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
294               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
295               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
296               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
297               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
298               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
299               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
300               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
301               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
302               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
303               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
304               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
305               < $(srcdir)/stdint.in.h; \
306         } > $@-t && \
307         mv $@-t $@
308 else
309 stdint.h: $(top_builddir)/config.status
310         rm -f $@
311 endif
312 MOSTLYCLEANFILES += stdint.h stdint.h-t
313
314 EXTRA_DIST += stdint.in.h
315
316 ## end   gnulib module stdint
317
318 ## begin gnulib module streq
319
320
321 EXTRA_DIST += streq.h
322
323 ## end   gnulib module streq
324
325 ## begin gnulib module unitypes
326
327 BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
328
329 unitypes.h: unitypes.in.h
330         $(AM_V_GEN)rm -f $@-t $@ && \
331         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
332           cat $(srcdir)/unitypes.in.h; \
333         } > $@-t && \
334         mv -f $@-t $@
335 MOSTLYCLEANFILES += unitypes.h unitypes.h-t
336
337 EXTRA_DIST += unitypes.in.h
338
339 ## end   gnulib module unitypes
340
341 ## begin gnulib module uniwidth/base
342
343 BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H)
344
345 uniwidth.h: uniwidth.in.h
346         $(AM_V_GEN)rm -f $@-t $@ && \
347         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
348           cat $(srcdir)/uniwidth.in.h; \
349         } > $@-t && \
350         mv -f $@-t $@
351 MOSTLYCLEANFILES += uniwidth.h uniwidth.h-t
352
353 EXTRA_DIST += localcharset.h uniwidth.in.h
354
355 ## end   gnulib module uniwidth/base
356
357 ## begin gnulib module uniwidth/width
358
359 if LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH
360 libgnu_a_SOURCES += uniwidth/width.c
361 endif
362
363 EXTRA_DIST += uniwidth/cjk.h
364
365 ## end   gnulib module uniwidth/width
366
367 ## begin gnulib module wchar
368
369 BUILT_SOURCES += wchar.h
370
371 # We need the following in order to create <wchar.h> when the system
372 # version does not work standalone.
373 wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
374         $(AM_V_GEN)rm -f $@-t $@ && \
375         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
376           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
377               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
378               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
379               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
380               -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
381               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
382               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
383               -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
384               -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
385               -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
386               -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
387               -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
388               -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
389               -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
390               -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
391               -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
392               -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
393               -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
394               -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
395               -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
396               -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
397               -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
398               -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
399               -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
400               -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
401               -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
402               -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
403               -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
404               -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
405               -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
406               -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
407               -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
408               -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
409               -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
410               -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
411               -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
412               -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
413               -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
414               -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
415               -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
416               -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
417               -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
418               -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
419               -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
420               -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
421               -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
422               < $(srcdir)/wchar.in.h | \
423           sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
424               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
425               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
426               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
427               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
428               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
429               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
430               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
431               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
432               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
433               -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
434               -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
435               -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
436               -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
437               -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
438               -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
439               -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
440               -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
441               -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
442               -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
443               -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
444               -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
445               -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
446               -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
447               -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
448               -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
449               -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
450               -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
451               -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
452               -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
453               -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
454               -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
455               -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
456               -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
457               -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
458               -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
459               -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
460               -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
461               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
462               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
463           | \
464           sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
465               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
466               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
467               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
468               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
469               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
470               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
471               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
472               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
473               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
474               -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
475               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
476               -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
477               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
478               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
479               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
480         } > $@-t && \
481         mv $@-t $@
482 MOSTLYCLEANFILES += wchar.h wchar.h-t
483
484 EXTRA_DIST += wchar.in.h
485
486 ## end   gnulib module wchar
487
488 ## begin gnulib module wctype-h
489
490 BUILT_SOURCES += wctype.h
491 libgnu_a_SOURCES += wctype-h.c
492
493 # We need the following in order to create <wctype.h> when the system
494 # doesn't have one that works with the given compiler.
495 wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
496         $(AM_V_GEN)rm -f $@-t $@ && \
497         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
498           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
499               -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
500               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
501               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
502               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
503               -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
504               -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
505               -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
506               -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
507               -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
508               -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
509               -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
510               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
511               -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
512               -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
513               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
514               -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
515               -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
516               -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
517               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
518               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
519               < $(srcdir)/wctype.in.h; \
520         } > $@-t && \
521         mv $@-t $@
522 MOSTLYCLEANFILES += wctype.h wctype.h-t
523
524 EXTRA_DIST += wctype.in.h
525
526 ## end   gnulib module wctype-h
527
528 ## begin gnulib module wcwidth
529
530
531 EXTRA_DIST += wcwidth.c
532
533 EXTRA_libgnu_a_SOURCES += wcwidth.c
534
535 ## end   gnulib module wcwidth
536
537
538 mostlyclean-local: mostlyclean-generic
539         @for dir in '' $(MOSTLYCLEANDIRS); do \
540           if test -n "$$dir" && test -d $$dir; then \
541             echo "rmdir $$dir"; rmdir $$dir; \
542           fi; \
543         done; \
544         :