Use GNU libunistring and Gnulib modules needed by R6RS bytevectors and ports.
[bpt/guile.git] / lib / Makefile.am
CommitLineData
103dc4d4
LC
1## DO NOT EDIT! GENERATED AUTOMATICALLY!
2## Process this file with automake to produce Makefile.in.
4a462e35 3# Copyright (C) 2002-2009 Free Software Foundation, Inc.
103dc4d4
LC
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.
24d56127 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
103dc4d4 13
24d56127 14AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
103dc4d4 15
aa7a939c 16SUBDIRS =
103dc4d4
LC
17noinst_HEADERS =
18noinst_LIBRARIES =
19noinst_LTLIBRARIES =
20EXTRA_DIST =
21BUILT_SOURCES =
22SUFFIXES =
23MOSTLYCLEANFILES = core *.stackdump
24MOSTLYCLEANDIRS =
25CLEANFILES =
26DISTCLEANFILES =
27MAINTAINERCLEANFILES =
28
29AM_CPPFLAGS =
f240aacb 30AM_CFLAGS =
103dc4d4
LC
31
32noinst_LTLIBRARIES += libgnu.la
33
34libgnu_la_SOURCES =
35libgnu_la_LIBADD = $(gl_LTLIBOBJS)
36libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
37EXTRA_libgnu_la_SOURCES =
38libgnu_la_LDFLAGS = $(AM_LDFLAGS)
39
103dc4d4
LC
40## begin gnulib module alloca-opt
41
42BUILT_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.
46alloca.h: alloca.in.h
47 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
48 cat $(srcdir)/alloca.in.h; \
49 } > $@-t
50 mv -f $@-t $@
51MOSTLYCLEANFILES += alloca.h alloca.h-t
52
53EXTRA_DIST += alloca.in.h
54
55## end gnulib module alloca-opt
56
24d56127
LC
57## begin gnulib module byteswap
58
59BUILT_SOURCES += $(BYTESWAP_H)
60
61# We need the following in order to create <byteswap.h> when the system
62# doesn't have one.
63byteswap.h: byteswap.in.h
64 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
65 cat $(srcdir)/byteswap.in.h; \
66 } > $@-t
67 mv -f $@-t $@
68MOSTLYCLEANFILES += byteswap.h byteswap.h-t
69
70EXTRA_DIST += byteswap.in.h
71
72## end gnulib module byteswap
73
74## begin gnulib module c-ctype
75
76libgnu_la_SOURCES += c-ctype.h c-ctype.c
77
78## end gnulib module c-ctype
79
80## begin gnulib module c-strcase
81
82libgnu_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
89EXTRA_DIST += c-strcaseeq.h
90
91## end gnulib module c-strcaseeq
92
4a462e35
NJ
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.
112configmake.h: Makefile
f240aacb 113 rm -f $@-t
4a462e35
NJ
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
f240aacb
LC
143 if test -f $@ && cmp $@-t $@ > /dev/null; then \
144 rm -f $@-t; \
145 else \
146 rm -f $@; mv $@-t $@; \
147 fi
148
4a462e35
NJ
149BUILT_SOURCES += configmake.h
150CLEANFILES += configmake.h configmake.h-t
151
152## end gnulib module configmake
153
d7014610
LC
154## begin gnulib module count-one-bits
155
156
157EXTRA_DIST += count-one-bits.h
158
159## end gnulib module count-one-bits
160
f240aacb
LC
161## begin gnulib module flock
162
163
164EXTRA_DIST += flock.c
165
166EXTRA_libgnu_la_SOURCES += flock.c
167
168## end gnulib module flock
169
9b36a80c
LC
170## begin gnulib module full-read
171
172libgnu_la_SOURCES += full-read.h full-read.c
173
174## end gnulib module full-read
175
176## begin gnulib module full-write
177
178libgnu_la_SOURCES += full-write.h full-write.c
179
180## end gnulib module full-write
181
24d56127
LC
182## begin gnulib module gperf
183
184GPERF = gperf
185
186## end gnulib module gperf
187
188## begin gnulib module havelib
189
190
191EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
192
193## end gnulib module havelib
194
195## begin gnulib module iconv_open
196
197BUILT_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.
201iconv.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 $@
214MOSTLYCLEANFILES += iconv.h iconv.h-t
215
216iconv_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
219iconv_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
222iconv_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
225iconv_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
228BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
229MOSTLYCLEANFILES += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t
230MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
231EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
232
233EXTRA_DIST += iconv.in.h iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open.c
234
235EXTRA_libgnu_la_SOURCES += iconv_open.c
236
237## end gnulib module iconv_open
238
239## begin gnulib module iconv_open-utf
240
241
242EXTRA_DIST += iconv.c iconv_close.c
243
244EXTRA_libgnu_la_SOURCES += iconv.c iconv_close.c
245
246## end gnulib module iconv_open-utf
247
d9a9e182
AW
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.
254AM_CFLAGS += $(CFLAG_VISIBILITY)
255
256## end gnulib module lib-symbol-visibility
257
103dc4d4
LC
258## begin gnulib module link-warning
259
260LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
261
262EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
263
264## end gnulib module link-warning
265
4a462e35
NJ
266## begin gnulib module localcharset
267
268libgnu_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
277all-local: charset.alias ref-add.sed ref-del.sed
278
279charset_alias = $(DESTDIR)$(libdir)/charset.alias
280charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
f240aacb
LC
281install-exec-local: install-exec-localcharset
282install-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 ; \
4a462e35
NJ
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 \
f240aacb 303 if $$need_charset_alias; then \
4a462e35
NJ
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
f240aacb
LC
310uninstall-local: uninstall-localcharset
311uninstall-localcharset: all-local
4a462e35
NJ
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
323charset.alias: config.charset
324 rm -f t-$@ $@
325 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
326 mv t-$@ $@
327
328SUFFIXES += .sed .sin
329.sin.sed:
330 rm -f t-$@ $@
331 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
332 mv t-$@ $@
333
334CLEANFILES += charset.alias ref-add.sed ref-del.sed
335
336EXTRA_DIST += config.charset ref-add.sin ref-del.sin
337
338## end gnulib module localcharset
339
f240aacb
LC
340## begin gnulib module malloc-posix
341
342
343EXTRA_DIST += malloc.c
344
345EXTRA_libgnu_la_SOURCES += malloc.c
346
347## end gnulib module malloc-posix
348
4a462e35
NJ
349## begin gnulib module mbrlen
350
351
352EXTRA_DIST += mbrlen.c
353
354EXTRA_libgnu_la_SOURCES += mbrlen.c
355
356## end gnulib module mbrlen
357
358## begin gnulib module mbrtowc
359
360
361EXTRA_DIST += mbrtowc.c
362
363EXTRA_libgnu_la_SOURCES += mbrtowc.c
364
365## end gnulib module mbrtowc
366
367## begin gnulib module mbsinit
368
369
370EXTRA_DIST += mbsinit.c
371
372EXTRA_libgnu_la_SOURCES += mbsinit.c
373
374## end gnulib module mbsinit
375
f240aacb
LC
376## begin gnulib module putenv
377
378
379EXTRA_DIST += putenv.c
380
381EXTRA_libgnu_la_SOURCES += putenv.c
382
383## end gnulib module putenv
384
9b36a80c
LC
385## begin gnulib module safe-read
386
387
388EXTRA_DIST += safe-read.c safe-read.h
389
390EXTRA_libgnu_la_SOURCES += safe-read.c
391
392## end gnulib module safe-read
393
394## begin gnulib module safe-write
395
396
397EXTRA_DIST += safe-write.c safe-write.h
398
399EXTRA_libgnu_la_SOURCES += safe-write.c
400
401## end gnulib module safe-write
402
e65fc94b
LC
403## begin gnulib module stdbool
404
405BUILT_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.
409stdbool.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 $@
415MOSTLYCLEANFILES += stdbool.h stdbool.h-t
416
417EXTRA_DIST += stdbool.in.h
418
419## end gnulib module stdbool
420
f240aacb
LC
421## begin gnulib module stdint
422
423BUILT_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.
427stdint.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 $@
457MOSTLYCLEANFILES += stdint.h stdint.h-t
458
459EXTRA_DIST += stdint.in.h
460
461## end gnulib module stdint
462
463## begin gnulib module stdlib
464
465BUILT_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.
469stdlib.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 $@
516MOSTLYCLEANFILES += stdlib.h stdlib.h-t
517
518EXTRA_DIST += stdlib.in.h
519
520## end gnulib module stdlib
521
103dc4d4
LC
522## begin gnulib module strcase
523
524
525EXTRA_DIST += strcasecmp.c strncasecmp.c
526
527EXTRA_libgnu_la_SOURCES += strcasecmp.c strncasecmp.c
528
529## end gnulib module strcase
530
4a462e35
NJ
531## begin gnulib module streq
532
533
534EXTRA_DIST += streq.h
535
536## end gnulib module streq
537
e65fc94b
LC
538## begin gnulib module strftime
539
540
541EXTRA_DIST += strftime.c strftime.h
542
543EXTRA_libgnu_la_SOURCES += strftime.c
544
545## end gnulib module strftime
546
24d56127
LC
547## begin gnulib module striconveh
548
549libgnu_la_SOURCES += striconveh.h striconveh.c
550if GL_COND_LIBTOOL
551libgnu_la_LDFLAGS += $(LTLIBICONV)
552endif
553
554EXTRA_DIST += iconveh.h
555
556## end gnulib module striconveh
557
558## begin gnulib module string
559
560BUILT_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.
564string.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 $@
630MOSTLYCLEANFILES += string.h string.h-t
631
632EXTRA_DIST += string.in.h
633
634## end gnulib module string
635
103dc4d4
LC
636## begin gnulib module strings
637
638BUILT_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.
642strings.h: strings.in.h
643 rm -f $@-t $@
644 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
e65fc94b
LC
645 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
646 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
103dc4d4
LC
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 $@
654MOSTLYCLEANFILES += strings.h strings.h-t
655
656EXTRA_DIST += strings.in.h
657
658## end gnulib module strings
659
f240aacb
LC
660## begin gnulib module sys_file
661
662BUILT_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.
666sys/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 $@
679MOSTLYCLEANFILES += sys/file.h sys/file.h-t
680MOSTLYCLEANDIRS += sys
681
682EXTRA_DIST += sys_file.in.h
683
684## end gnulib module sys_file
685
e65fc94b
LC
686## begin gnulib module time
687
688BUILT_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.
692time.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 $@
707MOSTLYCLEANFILES += time.h time.h-t
708
709EXTRA_DIST += time.in.h
710
711## end gnulib module time
712
713## begin gnulib module time_r
714
715
716EXTRA_DIST += time_r.c
717
718EXTRA_libgnu_la_SOURCES += time_r.c
719
720## end gnulib module time_r
721
9b36a80c
LC
722## begin gnulib module unistd
723
724BUILT_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.
728unistd.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' \
f240aacb 751 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
9b36a80c
LC
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' \
f240aacb 766 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
9b36a80c
LC
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 $@
786MOSTLYCLEANFILES += unistd.h unistd.h-t
787
788EXTRA_DIST += unistd.in.h
789
790## end gnulib module unistd
791
24d56127
LC
792## begin gnulib module unistr/base
793
794
795EXTRA_DIST += unistr.h
796
797## end gnulib module unistr/base
798
799## begin gnulib module unistr/u8-mbtouc
800
801libgnu_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
807libgnu_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
813libgnu_la_SOURCES += unistr/u8-mbtoucr.c
814
815## end gnulib module unistr/u8-mbtoucr
816
817## begin gnulib module unistr/u8-prev
818
819libgnu_la_SOURCES += unistr/u8-prev.c
820
821## end gnulib module unistr/u8-prev
822
823## begin gnulib module unistr/u8-uctomb
824
825libgnu_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
832EXTRA_DIST += unitypes.h
833
834## end gnulib module unitypes
835
d7014610
LC
836## begin gnulib module verify
837
838libgnu_la_SOURCES += verify.h
839
840## end gnulib module verify
841
e65fc94b
LC
842## begin gnulib module wchar
843
844BUILT_SOURCES += $(WCHAR_H)
845
846# We need the following in order to create <wchar.h> when the system
847# version does not work standalone.
848wchar.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' \
4a462e35
NJ
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' \
e65fc94b 865 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
4a462e35
NJ
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' \
e65fc94b 877 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
4a462e35
NJ
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' \
f240aacb 888 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
e65fc94b
LC
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 $@
894MOSTLYCLEANFILES += wchar.h wchar.h-t
895
896EXTRA_DIST += wchar.in.h
897
898## end gnulib module wchar
899
9b36a80c
LC
900## begin gnulib module write
901
902
903EXTRA_DIST += write.c
103dc4d4 904
9b36a80c 905EXTRA_libgnu_la_SOURCES += write.c
103dc4d4 906
9b36a80c 907## end gnulib module write
103dc4d4
LC
908
909
910mostlyclean-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 :