Re-add an indirection in bytevectors.
[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.
fbb857a4 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 canonicalize-lgpl environ extensions flock fpieee full-read full-write havelib iconv_open-utf lib-symbol-versions lib-symbol-visibility libunistring putenv stdlib strcase strftime striconveh string verify vsnprintf
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
ffca4c22
AW
93## begin gnulib module canonicalize-lgpl
94
95
96EXTRA_DIST += canonicalize-lgpl.c canonicalize.h
97
98EXTRA_libgnu_la_SOURCES += canonicalize-lgpl.c
99
100## end gnulib module canonicalize-lgpl
101
4a462e35
NJ
102## begin gnulib module configmake
103
104# Retrieve values of the variables through 'configure' followed by
105# 'make', not directly through 'configure', so that a user who
106# sets some of these variables consistently on the 'make' command
107# line gets correct results.
108#
109# One advantage of this approach, compared to the classical
110# approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
111# is that it protects against the use of undefined variables.
112# If, say, $(libdir) is not set in the Makefile, LIBDIR is not
113# defined by this module, and code using LIBDIR gives a
114# compilation error.
115#
116# Another advantage is that 'make' output is shorter.
117#
118# Listed in the same order as the GNU makefile conventions.
119# The Automake-defined pkg* macros are appended, in the order
120# listed in the Automake 1.10a+ documentation.
121configmake.h: Makefile
f240aacb 122 rm -f $@-t
4a462e35
NJ
123 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
124 echo '#define PREFIX "$(prefix)"'; \
125 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
126 echo '#define BINDIR "$(bindir)"'; \
127 echo '#define SBINDIR "$(sbindir)"'; \
128 echo '#define LIBEXECDIR "$(libexecdir)"'; \
129 echo '#define DATAROOTDIR "$(datarootdir)"'; \
130 echo '#define DATADIR "$(datadir)"'; \
131 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
132 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
133 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
134 echo '#define INCLUDEDIR "$(includedir)"'; \
135 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
136 echo '#define DOCDIR "$(docdir)"'; \
137 echo '#define INFODIR "$(infodir)"'; \
138 echo '#define HTMLDIR "$(htmldir)"'; \
139 echo '#define DVIDIR "$(dvidir)"'; \
140 echo '#define PDFDIR "$(pdfdir)"'; \
141 echo '#define PSDIR "$(psdir)"'; \
142 echo '#define LIBDIR "$(libdir)"'; \
143 echo '#define LISPDIR "$(lispdir)"'; \
144 echo '#define LOCALEDIR "$(localedir)"'; \
145 echo '#define MANDIR "$(mandir)"'; \
146 echo '#define MANEXT "$(manext)"'; \
147 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
148 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
149 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
150 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
151 } | sed '/""/d' > $@-t
f240aacb
LC
152 if test -f $@ && cmp $@-t $@ > /dev/null; then \
153 rm -f $@-t; \
154 else \
155 rm -f $@; mv $@-t $@; \
156 fi
157
4a462e35
NJ
158BUILT_SOURCES += configmake.h
159CLEANFILES += configmake.h configmake.h-t
160
161## end gnulib module configmake
162
c4b681fd
LC
163## begin gnulib module errno
164
165BUILT_SOURCES += $(ERRNO_H)
166
167# We need the following in order to create <errno.h> when the system
168# doesn't have one that is POSIX compliant.
169errno.h: errno.in.h
170 rm -f $@-t $@
171 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
172 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
173 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
174 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
175 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
176 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
177 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
178 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
179 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
180 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
181 < $(srcdir)/errno.in.h; \
182 } > $@-t
183 mv $@-t $@
184MOSTLYCLEANFILES += errno.h errno.h-t
185
186EXTRA_DIST += errno.in.h
187
188## end gnulib module errno
189
190## begin gnulib module float
191
192BUILT_SOURCES += $(FLOAT_H)
193
194# We need the following in order to create <float.h> when the system
195# doesn't have one that works with the given compiler.
196float.h: float.in.h
197 rm -f $@-t $@
198 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
199 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
200 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
201 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
202 < $(srcdir)/float.in.h; \
203 } > $@-t
204 mv $@-t $@
205MOSTLYCLEANFILES += float.h float.h-t
206
207EXTRA_DIST += float.in.h
208
209## end gnulib module float
210
f240aacb
LC
211## begin gnulib module flock
212
213
214EXTRA_DIST += flock.c
215
216EXTRA_libgnu_la_SOURCES += flock.c
217
218## end gnulib module flock
219
9b36a80c
LC
220## begin gnulib module full-read
221
222libgnu_la_SOURCES += full-read.h full-read.c
223
224## end gnulib module full-read
225
226## begin gnulib module full-write
227
228libgnu_la_SOURCES += full-write.h full-write.c
229
230## end gnulib module full-write
231
c4b681fd
LC
232## begin gnulib module getpagesize
233
234
235EXTRA_DIST += getpagesize.c
236
237EXTRA_libgnu_la_SOURCES += getpagesize.c
238
239## end gnulib module getpagesize
240
24d56127
LC
241## begin gnulib module gperf
242
243GPERF = gperf
244
245## end gnulib module gperf
246
247## begin gnulib module havelib
248
249
250EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
251
252## end gnulib module havelib
253
254## begin gnulib module iconv_open
255
256BUILT_SOURCES += $(ICONV_H)
257
258# We need the following in order to create <iconv.h> when the system
259# doesn't have one that works with the given compiler.
260iconv.h: iconv.in.h
261 rm -f $@-t $@
262 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
263 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
264 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
265 -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
266 -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
267 -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
268 -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
269 -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
270 < $(srcdir)/iconv.in.h; \
271 } > $@-t
272 mv $@-t $@
273MOSTLYCLEANFILES += iconv.h iconv.h-t
274
275iconv_open-aix.h: iconv_open-aix.gperf
276 $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
277 mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
278iconv_open-hpux.h: iconv_open-hpux.gperf
279 $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
280 mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
281iconv_open-irix.h: iconv_open-irix.gperf
282 $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
283 mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
284iconv_open-osf.h: iconv_open-osf.gperf
285 $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
286 mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
287BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
288MOSTLYCLEANFILES += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t
289MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
290EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
291
292EXTRA_DIST += iconv.in.h iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open.c
293
294EXTRA_libgnu_la_SOURCES += iconv_open.c
295
296## end gnulib module iconv_open
297
298## begin gnulib module iconv_open-utf
299
300
301EXTRA_DIST += iconv.c iconv_close.c
302
303EXTRA_libgnu_la_SOURCES += iconv.c iconv_close.c
304
305## end gnulib module iconv_open-utf
306
d9a9e182
AW
307## begin gnulib module lib-symbol-visibility
308
309# The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the
310# compilation of all sources that make up the library. This line here does it
311# only for the gnulib part of it. The developer is responsible for adding
312# $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library.
313AM_CFLAGS += $(CFLAG_VISIBILITY)
314
315## end gnulib module lib-symbol-visibility
316
103dc4d4
LC
317## begin gnulib module link-warning
318
319LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
320
321EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
322
323## end gnulib module link-warning
324
4a462e35
NJ
325## begin gnulib module localcharset
326
327libgnu_la_SOURCES += localcharset.h localcharset.c
328
329# We need the following in order to install a simple file in $(libdir)
330# which is shared with other installed packages. We use a list of referencing
331# packages so that "make uninstall" will remove the file if and only if it
332# is not used by another installed package.
333# On systems with glibc-2.1 or newer, the file is redundant, therefore we
334# avoid installing it.
335
336all-local: charset.alias ref-add.sed ref-del.sed
337
338charset_alias = $(DESTDIR)$(libdir)/charset.alias
339charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
f240aacb
LC
340install-exec-local: install-exec-localcharset
341install-exec-localcharset: all-local
342 if test $(GLIBC21) = no; then \
343 case '$(host_os)' in \
344 darwin[56]*) \
345 need_charset_alias=true ;; \
346 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
347 need_charset_alias=false ;; \
348 *) \
349 need_charset_alias=true ;; \
350 esac ; \
351 else \
352 need_charset_alias=false ; \
353 fi ; \
354 if $$need_charset_alias; then \
355 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
356 fi ; \
4a462e35
NJ
357 if test -f $(charset_alias); then \
358 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
359 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
360 rm -f $(charset_tmp) ; \
361 else \
f240aacb 362 if $$need_charset_alias; then \
4a462e35
NJ
363 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
364 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
365 rm -f $(charset_tmp) ; \
366 fi ; \
367 fi
368
f240aacb
LC
369uninstall-local: uninstall-localcharset
370uninstall-localcharset: all-local
4a462e35
NJ
371 if test -f $(charset_alias); then \
372 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
373 if grep '^# Packages using this file: $$' $(charset_tmp) \
374 > /dev/null; then \
375 rm -f $(charset_alias); \
376 else \
377 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
378 fi; \
379 rm -f $(charset_tmp); \
380 fi
381
382charset.alias: config.charset
383 rm -f t-$@ $@
384 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
385 mv t-$@ $@
386
387SUFFIXES += .sed .sin
388.sin.sed:
389 rm -f t-$@ $@
390 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
391 mv t-$@ $@
392
393CLEANFILES += charset.alias ref-add.sed ref-del.sed
394
395EXTRA_DIST += config.charset ref-add.sin ref-del.sin
396
397## end gnulib module localcharset
398
f240aacb
LC
399## begin gnulib module malloc-posix
400
401
402EXTRA_DIST += malloc.c
403
404EXTRA_libgnu_la_SOURCES += malloc.c
405
406## end gnulib module malloc-posix
407
ffca4c22
AW
408## begin gnulib module malloca
409
410libgnu_la_SOURCES += malloca.c
411
412EXTRA_DIST += malloca.h malloca.valgrind
413
414## end gnulib module malloca
415
4a462e35
NJ
416## begin gnulib module mbrlen
417
418
419EXTRA_DIST += mbrlen.c
420
421EXTRA_libgnu_la_SOURCES += mbrlen.c
422
423## end gnulib module mbrlen
424
425## begin gnulib module mbrtowc
426
427
428EXTRA_DIST += mbrtowc.c
429
430EXTRA_libgnu_la_SOURCES += mbrtowc.c
431
432## end gnulib module mbrtowc
433
434## begin gnulib module mbsinit
435
436
437EXTRA_DIST += mbsinit.c
438
439EXTRA_libgnu_la_SOURCES += mbsinit.c
440
441## end gnulib module mbsinit
442
c4b681fd
LC
443## begin gnulib module memchr
444
445
446EXTRA_DIST += memchr.c memchr.valgrind
447
448EXTRA_libgnu_la_SOURCES += memchr.c
449
450## end gnulib module memchr
451
ffca4c22
AW
452## begin gnulib module pathmax
453
454
455EXTRA_DIST += pathmax.h
456
457## end gnulib module pathmax
458
f240aacb
LC
459## begin gnulib module putenv
460
461
462EXTRA_DIST += putenv.c
463
464EXTRA_libgnu_la_SOURCES += putenv.c
465
466## end gnulib module putenv
467
ffca4c22
AW
468## begin gnulib module readlink
469
470
471EXTRA_DIST += readlink.c
472
473EXTRA_libgnu_la_SOURCES += readlink.c
474
475## end gnulib module readlink
476
9b36a80c
LC
477## begin gnulib module safe-read
478
479
480EXTRA_DIST += safe-read.c safe-read.h
481
482EXTRA_libgnu_la_SOURCES += safe-read.c
483
484## end gnulib module safe-read
485
486## begin gnulib module safe-write
487
488
489EXTRA_DIST += safe-write.c safe-write.h
490
491EXTRA_libgnu_la_SOURCES += safe-write.c
492
493## end gnulib module safe-write
494
c4b681fd
LC
495## begin gnulib module size_max
496
497libgnu_la_SOURCES += size_max.h
498
499## end gnulib module size_max
500
e65fc94b
LC
501## begin gnulib module stdbool
502
503BUILT_SOURCES += $(STDBOOL_H)
504
505# We need the following in order to create <stdbool.h> when the system
506# doesn't have one that works.
507stdbool.h: stdbool.in.h
508 rm -f $@-t $@
509 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
510 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
511 } > $@-t
512 mv $@-t $@
513MOSTLYCLEANFILES += stdbool.h stdbool.h-t
514
515EXTRA_DIST += stdbool.in.h
516
517## end gnulib module stdbool
518
f240aacb
LC
519## begin gnulib module stdint
520
521BUILT_SOURCES += $(STDINT_H)
522
523# We need the following in order to create <stdint.h> when the system
524# doesn't have one that works with the given compiler.
525stdint.h: stdint.in.h
526 rm -f $@-t $@
527 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
528 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
529 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
530 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
531 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
532 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
533 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
534 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
535 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
536 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
537 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
538 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
539 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
540 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
541 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
542 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
543 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
544 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
545 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
546 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
547 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
548 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
549 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
550 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
551 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
552 < $(srcdir)/stdint.in.h; \
553 } > $@-t
554 mv $@-t $@
555MOSTLYCLEANFILES += stdint.h stdint.h-t
556
557EXTRA_DIST += stdint.in.h
558
559## end gnulib module stdint
560
c4b681fd
LC
561## begin gnulib module stdio
562
563BUILT_SOURCES += stdio.h
564
565# We need the following in order to create <stdio.h> when the system
566# doesn't have one that works with the given compiler.
567stdio.h: stdio.in.h
568 rm -f $@-t $@
569 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
570 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
571 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
572 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
573 -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
574 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
575 -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
576 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
577 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
578 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
579 -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
580 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
581 -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
582 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
583 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
584 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
585 -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
586 -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
587 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
588 -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
589 -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
590 -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
591 -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
592 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
593 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
594 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
595 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
596 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
597 -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
598 -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
599 -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
600 -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
601 -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
602 -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
603 -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
604 -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
605 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
606 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
607 -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
608 -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
609 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
610 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
611 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
612 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
613 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
614 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
615 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
616 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
617 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
618 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
619 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
620 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
621 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
622 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
623 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
624 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
625 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
626 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
627 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
628 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
629 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
630 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
631 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
632 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
633 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
634 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
635 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
636 -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
637 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
638 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
639 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
640 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
641 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
642 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
643 < $(srcdir)/stdio.in.h; \
644 } > $@-t
645 mv $@-t $@
646MOSTLYCLEANFILES += stdio.h stdio.h-t
647
648EXTRA_DIST += stdio-write.c stdio.in.h
649
650EXTRA_libgnu_la_SOURCES += stdio-write.c
651
652## end gnulib module stdio
653
f240aacb
LC
654## begin gnulib module stdlib
655
656BUILT_SOURCES += stdlib.h
657
658# We need the following in order to create <stdlib.h> when the system
659# doesn't have one that works with the given compiler.
660stdlib.h: stdlib.in.h
661 rm -f $@-t $@
662 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
663 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
664 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
665 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
666 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
667 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
668 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
669 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
670 -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
671 -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
672 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
673 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
674 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
675 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
676 -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
677 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
678 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
679 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
680 -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
681 -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
682 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
683 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
684 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
685 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
686 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
687 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
688 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
689 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
690 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
691 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
692 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
693 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
694 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
695 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
696 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
697 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
698 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
699 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
700 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
701 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
702 -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
703 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
704 < $(srcdir)/stdlib.in.h; \
705 } > $@-t
706 mv $@-t $@
707MOSTLYCLEANFILES += stdlib.h stdlib.h-t
708
709EXTRA_DIST += stdlib.in.h
710
711## end gnulib module stdlib
712
103dc4d4
LC
713## begin gnulib module strcase
714
715
716EXTRA_DIST += strcasecmp.c strncasecmp.c
717
718EXTRA_libgnu_la_SOURCES += strcasecmp.c strncasecmp.c
719
720## end gnulib module strcase
721
4a462e35
NJ
722## begin gnulib module streq
723
724
725EXTRA_DIST += streq.h
726
727## end gnulib module streq
728
e65fc94b
LC
729## begin gnulib module strftime
730
731
732EXTRA_DIST += strftime.c strftime.h
733
734EXTRA_libgnu_la_SOURCES += strftime.c
735
736## end gnulib module strftime
737
24d56127
LC
738## begin gnulib module striconveh
739
740libgnu_la_SOURCES += striconveh.h striconveh.c
741if GL_COND_LIBTOOL
742libgnu_la_LDFLAGS += $(LTLIBICONV)
743endif
744
745EXTRA_DIST += iconveh.h
746
747## end gnulib module striconveh
748
749## begin gnulib module string
750
751BUILT_SOURCES += string.h
752
753# We need the following in order to create <string.h> when the system
754# doesn't have one that works with the given compiler.
755string.h: string.in.h
756 rm -f $@-t $@
757 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
758 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
759 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
760 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
761 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
762 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
763 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
764 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
765 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
766 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
767 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
768 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
769 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
770 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
771 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
772 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
773 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
774 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
ffca4c22 775 -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
24d56127
LC
776 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
777 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
778 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
779 -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
780 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
781 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
782 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
783 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
784 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
785 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
786 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
787 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
788 -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
789 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
790 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
791 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
792 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
793 -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
794 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
795 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
796 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
797 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
798 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
799 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
800 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
801 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
802 -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
803 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
804 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
805 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
806 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
807 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
808 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
809 -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
810 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
811 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
ffca4c22 812 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
24d56127
LC
813 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
814 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
815 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
816 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
817 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
818 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
819 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
820 < $(srcdir)/string.in.h; \
821 } > $@-t
822 mv $@-t $@
823MOSTLYCLEANFILES += string.h string.h-t
824
825EXTRA_DIST += string.in.h
826
827## end gnulib module string
828
103dc4d4
LC
829## begin gnulib module strings
830
831BUILT_SOURCES += strings.h
832
833# We need the following in order to create <strings.h> when the system
834# doesn't have one that works with the given compiler.
835strings.h: strings.in.h
836 rm -f $@-t $@
837 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
e65fc94b
LC
838 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
839 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
103dc4d4
LC
840 -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
841 -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
842 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
843 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
844 < $(srcdir)/strings.in.h; \
845 } > $@-t
846 mv $@-t $@
847MOSTLYCLEANFILES += strings.h strings.h-t
848
849EXTRA_DIST += strings.in.h
850
851## end gnulib module strings
852
f240aacb
LC
853## begin gnulib module sys_file
854
855BUILT_SOURCES += $(SYS_FILE_H)
856
857# We need the following in order to create <sys/file.h> when the system
858# has one that is incomplete.
859sys/file.h: sys_file.in.h
860 @MKDIR_P@ sys
861 rm -f $@-t $@
862 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
863 sed -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \
864 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
865 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
866 -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \
867 -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \
868 -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \
869 < $(srcdir)/sys_file.in.h; \
870 } > $@-t
871 mv $@-t $@
872MOSTLYCLEANFILES += sys/file.h sys/file.h-t
873MOSTLYCLEANDIRS += sys
874
875EXTRA_DIST += sys_file.in.h
876
877## end gnulib module sys_file
878
e65fc94b
LC
879## begin gnulib module time
880
881BUILT_SOURCES += time.h
882
883# We need the following in order to create <time.h> when the system
884# doesn't have one that works with the given compiler.
885time.h: time.in.h
886 rm -f $@-t $@
887 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
888 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
889 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
890 -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
891 -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
25361e4b 892 -e 's|@REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
e65fc94b
LC
893 -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
894 -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
895 -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
896 -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
897 -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
898 < $(srcdir)/time.in.h; \
899 } > $@-t
900 mv $@-t $@
901MOSTLYCLEANFILES += time.h time.h-t
902
903EXTRA_DIST += time.in.h
904
905## end gnulib module time
906
907## begin gnulib module time_r
908
909
910EXTRA_DIST += time_r.c
911
912EXTRA_libgnu_la_SOURCES += time_r.c
913
914## end gnulib module time_r
915
9b36a80c
LC
916## begin gnulib module unistd
917
918BUILT_SOURCES += unistd.h
919
920# We need the following in order to create an empty placeholder for
921# <unistd.h> when the system doesn't have one.
922unistd.h: unistd.in.h
923 rm -f $@-t $@
924 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
925 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
926 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
927 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
928 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
929 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
930 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
931 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
932 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
933 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
934 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
935 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
936 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
937 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
938 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
939 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
940 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
941 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
942 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
943 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
944 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
f240aacb 945 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
9b36a80c
LC
946 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
947 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
948 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
949 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
950 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
951 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
952 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
953 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
954 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
955 -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
956 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
957 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
958 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
959 -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
f240aacb 960 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
9b36a80c
LC
961 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
962 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
963 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
964 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
965 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
966 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
967 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
968 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
25361e4b 969 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
9b36a80c
LC
970 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
971 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
972 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
973 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
974 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
975 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
976 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
977 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
978 < $(srcdir)/unistd.in.h; \
979 } > $@-t
980 mv $@-t $@
981MOSTLYCLEANFILES += unistd.h unistd.h-t
982
983EXTRA_DIST += unistd.in.h
984
985## end gnulib module unistd
986
24d56127
LC
987## begin gnulib module unistr/base
988
989
990EXTRA_DIST += unistr.h
991
992## end gnulib module unistr/base
993
994## begin gnulib module unistr/u8-mbtouc
995
996libgnu_la_SOURCES += unistr/u8-mbtouc.c unistr/u8-mbtouc-aux.c
997
998## end gnulib module unistr/u8-mbtouc
999
1000## begin gnulib module unistr/u8-mbtouc-unsafe
1001
1002libgnu_la_SOURCES += unistr/u8-mbtouc-unsafe.c unistr/u8-mbtouc-unsafe-aux.c
1003
1004## end gnulib module unistr/u8-mbtouc-unsafe
1005
1006## begin gnulib module unistr/u8-mbtoucr
1007
1008libgnu_la_SOURCES += unistr/u8-mbtoucr.c
1009
1010## end gnulib module unistr/u8-mbtoucr
1011
1012## begin gnulib module unistr/u8-prev
1013
1014libgnu_la_SOURCES += unistr/u8-prev.c
1015
1016## end gnulib module unistr/u8-prev
1017
1018## begin gnulib module unistr/u8-uctomb
1019
1020libgnu_la_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c
1021
1022## end gnulib module unistr/u8-uctomb
1023
1024## begin gnulib module unitypes
1025
1026
1027EXTRA_DIST += unitypes.h
1028
1029## end gnulib module unitypes
1030
c4b681fd
LC
1031## begin gnulib module vasnprintf
1032
1033
1034EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
1035
1036EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
1037
1038## end gnulib module vasnprintf
1039
d7014610
LC
1040## begin gnulib module verify
1041
1042libgnu_la_SOURCES += verify.h
1043
1044## end gnulib module verify
1045
c4b681fd
LC
1046## begin gnulib module vsnprintf
1047
1048
1049EXTRA_DIST += vsnprintf.c
1050
1051EXTRA_libgnu_la_SOURCES += vsnprintf.c
1052
1053## end gnulib module vsnprintf
1054
e65fc94b
LC
1055## begin gnulib module wchar
1056
1057BUILT_SOURCES += $(WCHAR_H)
1058
1059# We need the following in order to create <wchar.h> when the system
1060# version does not work standalone.
1061wchar.h: wchar.in.h
1062 rm -f $@-t $@
1063 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1064 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1065 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1066 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
4a462e35
NJ
1067 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1068 -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
1069 -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
1070 -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
1071 -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
1072 -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
1073 -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
1074 -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
1075 -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
1076 -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
1077 -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
e65fc94b 1078 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
4a462e35
NJ
1079 -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1080 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1081 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1082 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1083 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1084 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1085 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1086 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1087 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1088 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1089 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
e65fc94b 1090 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
4a462e35
NJ
1091 -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1092 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1093 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1094 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1095 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1096 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1097 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1098 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1099 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1100 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
f240aacb 1101 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
e65fc94b
LC
1102 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1103 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1104 < $(srcdir)/wchar.in.h; \
1105 } > $@-t
1106 mv $@-t $@
1107MOSTLYCLEANFILES += wchar.h wchar.h-t
1108
1109EXTRA_DIST += wchar.in.h
1110
1111## end gnulib module wchar
1112
9b36a80c
LC
1113## begin gnulib module write
1114
1115
1116EXTRA_DIST += write.c
103dc4d4 1117
9b36a80c 1118EXTRA_libgnu_la_SOURCES += write.c
103dc4d4 1119
9b36a80c 1120## end gnulib module write
103dc4d4 1121
c4b681fd
LC
1122## begin gnulib module xsize
1123
1124libgnu_la_SOURCES += xsize.h
1125
1126## end gnulib module xsize
1127
103dc4d4
LC
1128
1129mostlyclean-local: mostlyclean-generic
1130 @for dir in '' $(MOSTLYCLEANDIRS); do \
1131 if test -n "$$dir" && test -d $$dir; then \
1132 echo "rmdir $$dir"; rmdir $$dir; \
1133 fi; \
1134 done; \
1135 :