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.
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.
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.
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/>.
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.
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
26 AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
35 MOSTLYCLEANFILES = core *.stackdump
39 MAINTAINERCLEANFILES =
44 noinst_LIBRARIES += libgnu.a
47 libgnu_a_LIBADD = $(gl_LIBOBJS)
48 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
49 EXTRA_libgnu_a_SOURCES =
51 ## begin gnulib module configmake
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 && \
90 BUILT_SOURCES += configmake.h
91 CLEANFILES += configmake.h configmake.h-t
93 ## end gnulib module configmake
95 ## begin gnulib module localcharset
97 libgnu_a_SOURCES += localcharset.h localcharset.c
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.
106 all-local: charset.alias ref-add.sed ref-del.sed
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 \
115 need_charset_alias=true ;; \
116 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
117 need_charset_alias=false ;; \
119 need_charset_alias=true ;; \
122 need_charset_alias=false ; \
124 if $$need_charset_alias; then \
125 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
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) ; \
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) ; \
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) \
145 rm -f $(charset_alias); \
147 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
149 rm -f $(charset_tmp); \
152 charset.alias: config.charset
153 $(AM_V_GEN)rm -f t-$@ $@ && \
154 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
157 SUFFIXES += .sed .sin
159 $(AM_V_GEN)rm -f t-$@ $@ && \
160 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
163 CLEANFILES += charset.alias ref-add.sed ref-del.sed
165 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
167 ## end gnulib module localcharset
169 ## begin gnulib module snippet/arg-nonnull
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.
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
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 \
186 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
188 ARG_NONNULL_H=arg-nonnull.h
190 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
192 ## end gnulib module snippet/arg-nonnull
194 ## begin gnulib module snippet/c++defs
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.
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 \
210 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
214 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
216 ## end gnulib module snippet/c++defs
218 ## begin gnulib module snippet/warn-on-use
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
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 \
230 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
232 WARN_ON_USE_H=warn-on-use.h
234 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
236 ## end gnulib module snippet/warn-on-use
238 ## begin gnulib module stddef
240 BUILT_SOURCES += $(STDDEF_H)
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; \
259 stddef.h: $(top_builddir)/config.status
262 MOSTLYCLEANFILES += stddef.h stddef.h-t
264 EXTRA_DIST += stddef.in.h
266 ## end gnulib module stddef
268 ## begin gnulib module stdint
270 BUILT_SOURCES += $(STDINT_H)
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; \
309 stdint.h: $(top_builddir)/config.status
312 MOSTLYCLEANFILES += stdint.h stdint.h-t
314 EXTRA_DIST += stdint.in.h
316 ## end gnulib module stdint
318 ## begin gnulib module streq
321 EXTRA_DIST += streq.h
323 ## end gnulib module streq
325 ## begin gnulib module unitypes
327 BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
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; \
335 MOSTLYCLEANFILES += unitypes.h unitypes.h-t
337 EXTRA_DIST += unitypes.in.h
339 ## end gnulib module unitypes
341 ## begin gnulib module uniwidth/base
343 BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H)
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; \
351 MOSTLYCLEANFILES += uniwidth.h uniwidth.h-t
353 EXTRA_DIST += localcharset.h uniwidth.in.h
355 ## end gnulib module uniwidth/base
357 ## begin gnulib module uniwidth/width
359 if LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH
360 libgnu_a_SOURCES += uniwidth/width.c
363 EXTRA_DIST += uniwidth/cjk.h
365 ## end gnulib module uniwidth/width
367 ## begin gnulib module wchar
369 BUILT_SOURCES += wchar.h
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' \
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)'; \
482 MOSTLYCLEANFILES += wchar.h wchar.h-t
484 EXTRA_DIST += wchar.in.h
486 ## end gnulib module wchar
488 ## begin gnulib module wctype-h
490 BUILT_SOURCES += wctype.h
491 libgnu_a_SOURCES += wctype-h.c
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; \
522 MOSTLYCLEANFILES += wctype.h wctype.h-t
524 EXTRA_DIST += wctype.in.h
526 ## end gnulib module wctype-h
528 ## begin gnulib module wcwidth
531 EXTRA_DIST += wcwidth.c
533 EXTRA_libgnu_a_SOURCES += wcwidth.c
535 ## end gnulib module wcwidth
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; \