Fix for make distcheck
[bpt/guile.git] / lib / Makefile.am
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2009 Free Software Foundation, Inc.
4 #
5 # This file is free software, distributed under the terms of the GNU
6 # General Public License. As a special exception to the GNU General
7 # Public License, this file may be distributed as part of a program
8 # that contains a configuration script generated by Autoconf, under
9 # the same distribution terms as the rest of that program.
10 #
11 # Generated by gnulib-tool.
12 # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --lgpl --libtool --macro-prefix=gl --no-vc-files alloca-opt autobuild byteswap count-one-bits environ extensions flock fpieee full-read full-write iconv_open-utf lib-symbol-visibility libunistring putenv stdlib strcase strftime striconveh string
13
14 AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
15
16 SUBDIRS =
17 noinst_HEADERS =
18 noinst_LIBRARIES =
19 noinst_LTLIBRARIES =
20 EXTRA_DIST =
21 BUILT_SOURCES =
22 SUFFIXES =
23 MOSTLYCLEANFILES = core *.stackdump
24 MOSTLYCLEANDIRS =
25 CLEANFILES =
26 DISTCLEANFILES =
27 MAINTAINERCLEANFILES =
28
29 AM_CPPFLAGS =
30 AM_CFLAGS =
31
32 noinst_LTLIBRARIES += libgnu.la
33
34 libgnu_la_SOURCES =
35 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
36 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
37 EXTRA_libgnu_la_SOURCES =
38 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
39
40 ## begin gnulib module alloca-opt
41
42 BUILT_SOURCES += $(ALLOCA_H)
43
44 # We need the following in order to create <alloca.h> when the system
45 # doesn't have one that works with the given compiler.
46 alloca.h: alloca.in.h
47 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
48 cat $(srcdir)/alloca.in.h; \
49 } > $@-t
50 mv -f $@-t $@
51 MOSTLYCLEANFILES += alloca.h alloca.h-t
52
53 EXTRA_DIST += alloca.in.h
54
55 ## end gnulib module alloca-opt
56
57 ## begin gnulib module byteswap
58
59 BUILT_SOURCES += $(BYTESWAP_H)
60
61 # We need the following in order to create <byteswap.h> when the system
62 # doesn't have one.
63 byteswap.h: byteswap.in.h
64 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
65 cat $(srcdir)/byteswap.in.h; \
66 } > $@-t
67 mv -f $@-t $@
68 MOSTLYCLEANFILES += byteswap.h byteswap.h-t
69
70 EXTRA_DIST += byteswap.in.h
71
72 ## end gnulib module byteswap
73
74 ## begin gnulib module c-ctype
75
76 libgnu_la_SOURCES += c-ctype.h c-ctype.c
77
78 ## end gnulib module c-ctype
79
80 ## begin gnulib module c-strcase
81
82 libgnu_la_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
83
84 ## end gnulib module c-strcase
85
86 ## begin gnulib module c-strcaseeq
87
88
89 EXTRA_DIST += c-strcaseeq.h
90
91 ## end gnulib module c-strcaseeq
92
93 ## begin gnulib module configmake
94
95 # Retrieve values of the variables through 'configure' followed by
96 # 'make', not directly through 'configure', so that a user who
97 # sets some of these variables consistently on the 'make' command
98 # line gets correct results.
99 #
100 # One advantage of this approach, compared to the classical
101 # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
102 # is that it protects against the use of undefined variables.
103 # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
104 # defined by this module, and code using LIBDIR gives a
105 # compilation error.
106 #
107 # Another advantage is that 'make' output is shorter.
108 #
109 # Listed in the same order as the GNU makefile conventions.
110 # The Automake-defined pkg* macros are appended, in the order
111 # listed in the Automake 1.10a+ documentation.
112 configmake.h: Makefile
113 rm -f $@-t
114 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
115 echo '#define PREFIX "$(prefix)"'; \
116 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
117 echo '#define BINDIR "$(bindir)"'; \
118 echo '#define SBINDIR "$(sbindir)"'; \
119 echo '#define LIBEXECDIR "$(libexecdir)"'; \
120 echo '#define DATAROOTDIR "$(datarootdir)"'; \
121 echo '#define DATADIR "$(datadir)"'; \
122 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
123 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
124 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
125 echo '#define INCLUDEDIR "$(includedir)"'; \
126 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
127 echo '#define DOCDIR "$(docdir)"'; \
128 echo '#define INFODIR "$(infodir)"'; \
129 echo '#define HTMLDIR "$(htmldir)"'; \
130 echo '#define DVIDIR "$(dvidir)"'; \
131 echo '#define PDFDIR "$(pdfdir)"'; \
132 echo '#define PSDIR "$(psdir)"'; \
133 echo '#define LIBDIR "$(libdir)"'; \
134 echo '#define LISPDIR "$(lispdir)"'; \
135 echo '#define LOCALEDIR "$(localedir)"'; \
136 echo '#define MANDIR "$(mandir)"'; \
137 echo '#define MANEXT "$(manext)"'; \
138 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
139 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
140 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
141 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
142 } | sed '/""/d' > $@-t
143 if test -f $@ && cmp $@-t $@ > /dev/null; then \
144 rm -f $@-t; \
145 else \
146 rm -f $@; mv $@-t $@; \
147 fi
148
149 BUILT_SOURCES += configmake.h
150 CLEANFILES += configmake.h configmake.h-t
151
152 ## end gnulib module configmake
153
154 ## begin gnulib module count-one-bits
155
156
157 EXTRA_DIST += count-one-bits.h
158
159 ## end gnulib module count-one-bits
160
161 ## begin gnulib module flock
162
163
164 EXTRA_DIST += flock.c
165
166 EXTRA_libgnu_la_SOURCES += flock.c
167
168 ## end gnulib module flock
169
170 ## begin gnulib module full-read
171
172 libgnu_la_SOURCES += full-read.h full-read.c
173
174 ## end gnulib module full-read
175
176 ## begin gnulib module full-write
177
178 libgnu_la_SOURCES += full-write.h full-write.c
179
180 ## end gnulib module full-write
181
182 ## begin gnulib module gperf
183
184 GPERF = gperf
185
186 ## end gnulib module gperf
187
188 ## begin gnulib module havelib
189
190
191 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
192
193 ## end gnulib module havelib
194
195 ## begin gnulib module iconv_open
196
197 BUILT_SOURCES += $(ICONV_H)
198
199 # We need the following in order to create <iconv.h> when the system
200 # doesn't have one that works with the given compiler.
201 iconv.h: iconv.in.h
202 rm -f $@-t $@
203 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
204 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
205 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
206 -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
207 -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
208 -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
209 -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
210 -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
211 < $(srcdir)/iconv.in.h; \
212 } > $@-t
213 mv $@-t $@
214 MOSTLYCLEANFILES += iconv.h iconv.h-t
215
216 iconv_open-aix.h: iconv_open-aix.gperf
217 $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
218 mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
219 iconv_open-hpux.h: iconv_open-hpux.gperf
220 $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
221 mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
222 iconv_open-irix.h: iconv_open-irix.gperf
223 $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
224 mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
225 iconv_open-osf.h: iconv_open-osf.gperf
226 $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
227 mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
228 BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
229 MOSTLYCLEANFILES += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t
230 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
231 EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
232
233 EXTRA_DIST += iconv.in.h iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open.c
234
235 EXTRA_libgnu_la_SOURCES += iconv_open.c
236
237 ## end gnulib module iconv_open
238
239 ## begin gnulib module iconv_open-utf
240
241
242 EXTRA_DIST += iconv.c iconv_close.c
243
244 EXTRA_libgnu_la_SOURCES += iconv.c iconv_close.c
245
246 ## end gnulib module iconv_open-utf
247
248 ## begin gnulib module lib-symbol-visibility
249
250 # The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the
251 # compilation of all sources that make up the library. This line here does it
252 # only for the gnulib part of it. The developer is responsible for adding
253 # $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library.
254 AM_CFLAGS += $(CFLAG_VISIBILITY)
255
256 ## end gnulib module lib-symbol-visibility
257
258 ## begin gnulib module link-warning
259
260 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
261
262 EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
263
264 ## end gnulib module link-warning
265
266 ## begin gnulib module localcharset
267
268 libgnu_la_SOURCES += localcharset.h localcharset.c
269
270 # We need the following in order to install a simple file in $(libdir)
271 # which is shared with other installed packages. We use a list of referencing
272 # packages so that "make uninstall" will remove the file if and only if it
273 # is not used by another installed package.
274 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
275 # avoid installing it.
276
277 all-local: charset.alias ref-add.sed ref-del.sed
278
279 charset_alias = $(DESTDIR)$(libdir)/charset.alias
280 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
281 install-exec-local: install-exec-localcharset
282 install-exec-localcharset: all-local
283 if test $(GLIBC21) = no; then \
284 case '$(host_os)' in \
285 darwin[56]*) \
286 need_charset_alias=true ;; \
287 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
288 need_charset_alias=false ;; \
289 *) \
290 need_charset_alias=true ;; \
291 esac ; \
292 else \
293 need_charset_alias=false ; \
294 fi ; \
295 if $$need_charset_alias; then \
296 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
297 fi ; \
298 if test -f $(charset_alias); then \
299 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
300 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
301 rm -f $(charset_tmp) ; \
302 else \
303 if $$need_charset_alias; then \
304 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
305 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
306 rm -f $(charset_tmp) ; \
307 fi ; \
308 fi
309
310 uninstall-local: uninstall-localcharset
311 uninstall-localcharset: all-local
312 if test -f $(charset_alias); then \
313 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
314 if grep '^# Packages using this file: $$' $(charset_tmp) \
315 > /dev/null; then \
316 rm -f $(charset_alias); \
317 else \
318 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
319 fi; \
320 rm -f $(charset_tmp); \
321 fi
322
323 charset.alias: config.charset
324 rm -f t-$@ $@
325 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
326 mv t-$@ $@
327
328 SUFFIXES += .sed .sin
329 .sin.sed:
330 rm -f t-$@ $@
331 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
332 mv t-$@ $@
333
334 CLEANFILES += charset.alias ref-add.sed ref-del.sed
335
336 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
337
338 ## end gnulib module localcharset
339
340 ## begin gnulib module malloc-posix
341
342
343 EXTRA_DIST += malloc.c
344
345 EXTRA_libgnu_la_SOURCES += malloc.c
346
347 ## end gnulib module malloc-posix
348
349 ## begin gnulib module mbrlen
350
351
352 EXTRA_DIST += mbrlen.c
353
354 EXTRA_libgnu_la_SOURCES += mbrlen.c
355
356 ## end gnulib module mbrlen
357
358 ## begin gnulib module mbrtowc
359
360
361 EXTRA_DIST += mbrtowc.c
362
363 EXTRA_libgnu_la_SOURCES += mbrtowc.c
364
365 ## end gnulib module mbrtowc
366
367 ## begin gnulib module mbsinit
368
369
370 EXTRA_DIST += mbsinit.c
371
372 EXTRA_libgnu_la_SOURCES += mbsinit.c
373
374 ## end gnulib module mbsinit
375
376 ## begin gnulib module putenv
377
378
379 EXTRA_DIST += putenv.c
380
381 EXTRA_libgnu_la_SOURCES += putenv.c
382
383 ## end gnulib module putenv
384
385 ## begin gnulib module safe-read
386
387
388 EXTRA_DIST += safe-read.c safe-read.h
389
390 EXTRA_libgnu_la_SOURCES += safe-read.c
391
392 ## end gnulib module safe-read
393
394 ## begin gnulib module safe-write
395
396
397 EXTRA_DIST += safe-write.c safe-write.h
398
399 EXTRA_libgnu_la_SOURCES += safe-write.c
400
401 ## end gnulib module safe-write
402
403 ## begin gnulib module stdbool
404
405 BUILT_SOURCES += $(STDBOOL_H)
406
407 # We need the following in order to create <stdbool.h> when the system
408 # doesn't have one that works.
409 stdbool.h: stdbool.in.h
410 rm -f $@-t $@
411 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
412 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
413 } > $@-t
414 mv $@-t $@
415 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
416
417 EXTRA_DIST += stdbool.in.h
418
419 ## end gnulib module stdbool
420
421 ## begin gnulib module stdint
422
423 BUILT_SOURCES += $(STDINT_H)
424
425 # We need the following in order to create <stdint.h> when the system
426 # doesn't have one that works with the given compiler.
427 stdint.h: stdint.in.h
428 rm -f $@-t $@
429 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
430 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
431 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
432 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
433 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
434 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
435 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
436 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
437 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
438 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
439 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
440 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
441 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
442 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
443 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
444 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
445 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
446 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
447 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
448 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
449 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
450 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
451 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
452 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
453 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
454 < $(srcdir)/stdint.in.h; \
455 } > $@-t
456 mv $@-t $@
457 MOSTLYCLEANFILES += stdint.h stdint.h-t
458
459 EXTRA_DIST += stdint.in.h
460
461 ## end gnulib module stdint
462
463 ## begin gnulib module stdlib
464
465 BUILT_SOURCES += stdlib.h
466
467 # We need the following in order to create <stdlib.h> when the system
468 # doesn't have one that works with the given compiler.
469 stdlib.h: stdlib.in.h
470 rm -f $@-t $@
471 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
472 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
473 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
474 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
475 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
476 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
477 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
478 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
479 -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
480 -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
481 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
482 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
483 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
484 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
485 -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
486 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
487 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
488 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
489 -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
490 -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
491 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
492 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
493 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
494 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
495 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
496 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
497 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
498 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
499 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
500 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
501 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
502 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
503 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
504 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
505 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
506 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
507 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
508 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
509 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
510 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
511 -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
512 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
513 < $(srcdir)/stdlib.in.h; \
514 } > $@-t
515 mv $@-t $@
516 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
517
518 EXTRA_DIST += stdlib.in.h
519
520 ## end gnulib module stdlib
521
522 ## begin gnulib module strcase
523
524
525 EXTRA_DIST += strcasecmp.c strncasecmp.c
526
527 EXTRA_libgnu_la_SOURCES += strcasecmp.c strncasecmp.c
528
529 ## end gnulib module strcase
530
531 ## begin gnulib module streq
532
533
534 EXTRA_DIST += streq.h
535
536 ## end gnulib module streq
537
538 ## begin gnulib module strftime
539
540
541 EXTRA_DIST += strftime.c strftime.h
542
543 EXTRA_libgnu_la_SOURCES += strftime.c
544
545 ## end gnulib module strftime
546
547 ## begin gnulib module striconveh
548
549 libgnu_la_SOURCES += striconveh.h striconveh.c
550 if GL_COND_LIBTOOL
551 libgnu_la_LDFLAGS += $(LTLIBICONV)
552 endif
553
554 EXTRA_DIST += iconveh.h
555
556 ## end gnulib module striconveh
557
558 ## begin gnulib module string
559
560 BUILT_SOURCES += string.h
561
562 # We need the following in order to create <string.h> when the system
563 # doesn't have one that works with the given compiler.
564 string.h: string.in.h
565 rm -f $@-t $@
566 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
567 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
568 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
569 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
570 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
571 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
572 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
573 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
574 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
575 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
576 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
577 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
578 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
579 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
580 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
581 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
582 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
583 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
584 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
585 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
586 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
587 -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
588 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
589 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
590 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
591 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
592 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
593 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
594 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
595 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
596 -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
597 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
598 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
599 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
600 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
601 -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
602 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
603 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
604 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
605 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
606 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
607 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
608 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
609 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
610 -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
611 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
612 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
613 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
614 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
615 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
616 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
617 -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
618 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
619 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
620 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
621 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
622 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
623 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
624 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
625 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
626 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
627 < $(srcdir)/string.in.h; \
628 } > $@-t
629 mv $@-t $@
630 MOSTLYCLEANFILES += string.h string.h-t
631
632 EXTRA_DIST += string.in.h
633
634 ## end gnulib module string
635
636 ## begin gnulib module strings
637
638 BUILT_SOURCES += strings.h
639
640 # We need the following in order to create <strings.h> when the system
641 # doesn't have one that works with the given compiler.
642 strings.h: strings.in.h
643 rm -f $@-t $@
644 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
645 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
646 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
647 -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
648 -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
649 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
650 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
651 < $(srcdir)/strings.in.h; \
652 } > $@-t
653 mv $@-t $@
654 MOSTLYCLEANFILES += strings.h strings.h-t
655
656 EXTRA_DIST += strings.in.h
657
658 ## end gnulib module strings
659
660 ## begin gnulib module sys_file
661
662 BUILT_SOURCES += $(SYS_FILE_H)
663
664 # We need the following in order to create <sys/file.h> when the system
665 # has one that is incomplete.
666 sys/file.h: sys_file.in.h
667 @MKDIR_P@ sys
668 rm -f $@-t $@
669 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
670 sed -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \
671 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
672 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
673 -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \
674 -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \
675 -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \
676 < $(srcdir)/sys_file.in.h; \
677 } > $@-t
678 mv $@-t $@
679 MOSTLYCLEANFILES += sys/file.h sys/file.h-t
680 MOSTLYCLEANDIRS += sys
681
682 EXTRA_DIST += sys_file.in.h
683
684 ## end gnulib module sys_file
685
686 ## begin gnulib module time
687
688 BUILT_SOURCES += time.h
689
690 # We need the following in order to create <time.h> when the system
691 # doesn't have one that works with the given compiler.
692 time.h: time.in.h
693 rm -f $@-t $@
694 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
695 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
696 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
697 -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
698 -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
699 -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
700 -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
701 -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
702 -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
703 -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
704 < $(srcdir)/time.in.h; \
705 } > $@-t
706 mv $@-t $@
707 MOSTLYCLEANFILES += time.h time.h-t
708
709 EXTRA_DIST += time.in.h
710
711 ## end gnulib module time
712
713 ## begin gnulib module time_r
714
715
716 EXTRA_DIST += time_r.c
717
718 EXTRA_libgnu_la_SOURCES += time_r.c
719
720 ## end gnulib module time_r
721
722 ## begin gnulib module unistd
723
724 BUILT_SOURCES += unistd.h
725
726 # We need the following in order to create an empty placeholder for
727 # <unistd.h> when the system doesn't have one.
728 unistd.h: unistd.in.h
729 rm -f $@-t $@
730 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
731 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
732 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
733 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
734 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
735 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
736 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
737 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
738 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
739 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
740 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
741 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
742 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
743 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
744 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
745 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
746 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
747 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
748 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
749 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
750 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
751 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
752 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
753 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
754 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
755 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
756 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
757 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
758 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
759 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
760 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
761 -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
762 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
763 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
764 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
765 -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
766 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
767 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
768 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
769 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
770 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
771 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
772 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
773 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
774 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
775 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
776 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
777 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
778 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
779 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
780 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
781 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
782 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
783 < $(srcdir)/unistd.in.h; \
784 } > $@-t
785 mv $@-t $@
786 MOSTLYCLEANFILES += unistd.h unistd.h-t
787
788 EXTRA_DIST += unistd.in.h
789
790 ## end gnulib module unistd
791
792 ## begin gnulib module unistr/base
793
794
795 EXTRA_DIST += unistr.h
796
797 ## end gnulib module unistr/base
798
799 ## begin gnulib module unistr/u8-mbtouc
800
801 libgnu_la_SOURCES += unistr/u8-mbtouc.c unistr/u8-mbtouc-aux.c
802
803 ## end gnulib module unistr/u8-mbtouc
804
805 ## begin gnulib module unistr/u8-mbtouc-unsafe
806
807 libgnu_la_SOURCES += unistr/u8-mbtouc-unsafe.c unistr/u8-mbtouc-unsafe-aux.c
808
809 ## end gnulib module unistr/u8-mbtouc-unsafe
810
811 ## begin gnulib module unistr/u8-mbtoucr
812
813 libgnu_la_SOURCES += unistr/u8-mbtoucr.c
814
815 ## end gnulib module unistr/u8-mbtoucr
816
817 ## begin gnulib module unistr/u8-prev
818
819 libgnu_la_SOURCES += unistr/u8-prev.c
820
821 ## end gnulib module unistr/u8-prev
822
823 ## begin gnulib module unistr/u8-uctomb
824
825 libgnu_la_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c
826
827 ## end gnulib module unistr/u8-uctomb
828
829 ## begin gnulib module unitypes
830
831
832 EXTRA_DIST += unitypes.h
833
834 ## end gnulib module unitypes
835
836 ## begin gnulib module verify
837
838 libgnu_la_SOURCES += verify.h
839
840 ## end gnulib module verify
841
842 ## begin gnulib module wchar
843
844 BUILT_SOURCES += $(WCHAR_H)
845
846 # We need the following in order to create <wchar.h> when the system
847 # version does not work standalone.
848 wchar.h: wchar.in.h
849 rm -f $@-t $@
850 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
851 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
852 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
853 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
854 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
855 -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
856 -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
857 -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
858 -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
859 -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
860 -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
861 -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
862 -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
863 -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
864 -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
865 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
866 -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
867 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
868 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
869 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
870 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
871 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
872 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
873 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
874 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
875 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
876 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
877 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
878 -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
879 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
880 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
881 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
882 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
883 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
884 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
885 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
886 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
887 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
888 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
889 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
890 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
891 < $(srcdir)/wchar.in.h; \
892 } > $@-t
893 mv $@-t $@
894 MOSTLYCLEANFILES += wchar.h wchar.h-t
895
896 EXTRA_DIST += wchar.in.h
897
898 ## end gnulib module wchar
899
900 ## begin gnulib module write
901
902
903 EXTRA_DIST += write.c
904
905 EXTRA_libgnu_la_SOURCES += write.c
906
907 ## end gnulib module write
908
909
910 mostlyclean-local: mostlyclean-generic
911 @for dir in '' $(MOSTLYCLEANDIRS); do \
912 if test -n "$$dir" && test -d $$dir; then \
913 echo "rmdir $$dir"; rmdir $$dir; \
914 fi; \
915 done; \
916 :