Use Gnulib's `version-etc-fsf' for `--version' and `--help' output.
[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.
4f02b98d 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=3 --libtool --macro-prefix=gl --no-vc-files alignof alloca-opt autobuild byteswap canonicalize-lgpl environ extensions flock fpieee full-read full-write havelib iconv_open-utf inet_ntop inet_pton lib-symbol-versions lib-symbol-visibility libunistring putenv stdlib strcase strftime striconveh string verify version-etc-fsf vsnprintf warnings
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
8912421c
LC
40## begin gnulib module alignof
41
42
43EXTRA_DIST += alignof.h
44
45## end gnulib module alignof
46
103dc4d4
LC
47## begin gnulib module alloca-opt
48
49BUILT_SOURCES += $(ALLOCA_H)
50
51# We need the following in order to create <alloca.h> when the system
52# doesn't have one that works with the given compiler.
53alloca.h: alloca.in.h
8912421c 54 $(AM_V_GEN)rm -f $@-t $@ && \
103dc4d4
LC
55 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
56 cat $(srcdir)/alloca.in.h; \
8912421c 57 } > $@-t && \
103dc4d4
LC
58 mv -f $@-t $@
59MOSTLYCLEANFILES += alloca.h alloca.h-t
60
61EXTRA_DIST += alloca.in.h
62
63## end gnulib module alloca-opt
64
8912421c
LC
65## begin gnulib module arpa_inet
66
67BUILT_SOURCES += $(ARPA_INET_H)
68
69# We need the following in order to create <arpa/inet.h> when the system
70# doesn't have one.
71arpa/inet.h: arpa_inet.in.h
72 $(AM_V_at)$(MKDIR_P) arpa
73 $(AM_V_GEN)rm -f $@-t $@ && \
74 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
75 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
76 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
77 -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
78 -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
79 -e 's|@''GNULIB_INET_NTOP''@|$(GNULIB_INET_NTOP)|g' \
80 -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \
81 -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
82 -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
83 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
84 < $(srcdir)/arpa_inet.in.h; \
85 } > $@-t && \
86 mv $@-t $@
87MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
88MOSTLYCLEANDIRS += arpa
89
90EXTRA_DIST += arpa_inet.in.h
91
92## end gnulib module arpa_inet
93
24d56127
LC
94## begin gnulib module byteswap
95
96BUILT_SOURCES += $(BYTESWAP_H)
97
98# We need the following in order to create <byteswap.h> when the system
99# doesn't have one.
100byteswap.h: byteswap.in.h
8912421c 101 $(AM_V_GEN)rm -f $@-t $@ && \
24d56127
LC
102 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
103 cat $(srcdir)/byteswap.in.h; \
8912421c 104 } > $@-t && \
24d56127
LC
105 mv -f $@-t $@
106MOSTLYCLEANFILES += byteswap.h byteswap.h-t
107
108EXTRA_DIST += byteswap.in.h
109
110## end gnulib module byteswap
111
112## begin gnulib module c-ctype
113
114libgnu_la_SOURCES += c-ctype.h c-ctype.c
115
116## end gnulib module c-ctype
117
118## begin gnulib module c-strcase
119
120libgnu_la_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
121
122## end gnulib module c-strcase
123
124## begin gnulib module c-strcaseeq
125
126
127EXTRA_DIST += c-strcaseeq.h
128
129## end gnulib module c-strcaseeq
130
ffca4c22
AW
131## begin gnulib module canonicalize-lgpl
132
133
8912421c 134EXTRA_DIST += canonicalize-lgpl.c
ffca4c22
AW
135
136EXTRA_libgnu_la_SOURCES += canonicalize-lgpl.c
137
138## end gnulib module canonicalize-lgpl
139
4a462e35
NJ
140## begin gnulib module configmake
141
142# Retrieve values of the variables through 'configure' followed by
143# 'make', not directly through 'configure', so that a user who
144# sets some of these variables consistently on the 'make' command
145# line gets correct results.
146#
147# One advantage of this approach, compared to the classical
148# approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
149# is that it protects against the use of undefined variables.
150# If, say, $(libdir) is not set in the Makefile, LIBDIR is not
151# defined by this module, and code using LIBDIR gives a
152# compilation error.
153#
154# Another advantage is that 'make' output is shorter.
155#
156# Listed in the same order as the GNU makefile conventions.
157# The Automake-defined pkg* macros are appended, in the order
158# listed in the Automake 1.10a+ documentation.
159configmake.h: Makefile
8912421c 160 $(AM_V_GEN)rm -f $@-t && \
4a462e35
NJ
161 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
162 echo '#define PREFIX "$(prefix)"'; \
163 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
164 echo '#define BINDIR "$(bindir)"'; \
165 echo '#define SBINDIR "$(sbindir)"'; \
166 echo '#define LIBEXECDIR "$(libexecdir)"'; \
167 echo '#define DATAROOTDIR "$(datarootdir)"'; \
168 echo '#define DATADIR "$(datadir)"'; \
169 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
170 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
171 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
172 echo '#define INCLUDEDIR "$(includedir)"'; \
173 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
174 echo '#define DOCDIR "$(docdir)"'; \
175 echo '#define INFODIR "$(infodir)"'; \
176 echo '#define HTMLDIR "$(htmldir)"'; \
177 echo '#define DVIDIR "$(dvidir)"'; \
178 echo '#define PDFDIR "$(pdfdir)"'; \
179 echo '#define PSDIR "$(psdir)"'; \
180 echo '#define LIBDIR "$(libdir)"'; \
181 echo '#define LISPDIR "$(lispdir)"'; \
182 echo '#define LOCALEDIR "$(localedir)"'; \
183 echo '#define MANDIR "$(mandir)"'; \
184 echo '#define MANEXT "$(manext)"'; \
185 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
186 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
187 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
188 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
8912421c 189 } | sed '/""/d' > $@-t && \
f240aacb
LC
190 if test -f $@ && cmp $@-t $@ > /dev/null; then \
191 rm -f $@-t; \
192 else \
193 rm -f $@; mv $@-t $@; \
194 fi
195
4a462e35
NJ
196BUILT_SOURCES += configmake.h
197CLEANFILES += configmake.h configmake.h-t
198
199## end gnulib module configmake
200
c4b681fd
LC
201## begin gnulib module errno
202
203BUILT_SOURCES += $(ERRNO_H)
204
205# We need the following in order to create <errno.h> when the system
206# doesn't have one that is POSIX compliant.
207errno.h: errno.in.h
8912421c 208 $(AM_V_GEN)rm -f $@-t $@ && \
c4b681fd
LC
209 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
210 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
211 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
212 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
213 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
214 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
215 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
216 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
217 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
218 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
219 < $(srcdir)/errno.in.h; \
8912421c 220 } > $@-t && \
c4b681fd
LC
221 mv $@-t $@
222MOSTLYCLEANFILES += errno.h errno.h-t
223
224EXTRA_DIST += errno.in.h
225
226## end gnulib module errno
227
228## begin gnulib module float
229
230BUILT_SOURCES += $(FLOAT_H)
231
232# We need the following in order to create <float.h> when the system
233# doesn't have one that works with the given compiler.
234float.h: float.in.h
8912421c 235 $(AM_V_GEN)rm -f $@-t $@ && \
c4b681fd
LC
236 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
237 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
238 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
239 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
240 < $(srcdir)/float.in.h; \
8912421c 241 } > $@-t && \
c4b681fd
LC
242 mv $@-t $@
243MOSTLYCLEANFILES += float.h float.h-t
244
245EXTRA_DIST += float.in.h
246
247## end gnulib module float
248
f240aacb
LC
249## begin gnulib module flock
250
251
252EXTRA_DIST += flock.c
253
254EXTRA_libgnu_la_SOURCES += flock.c
255
256## end gnulib module flock
257
9b36a80c
LC
258## begin gnulib module full-read
259
260libgnu_la_SOURCES += full-read.h full-read.c
261
262## end gnulib module full-read
263
264## begin gnulib module full-write
265
266libgnu_la_SOURCES += full-write.h full-write.c
267
268## end gnulib module full-write
269
4f02b98d
LC
270## begin gnulib module gettext-h
271
272libgnu_la_SOURCES += gettext.h
273
274## end gnulib module gettext-h
275
24d56127
LC
276## begin gnulib module gperf
277
278GPERF = gperf
279
280## end gnulib module gperf
281
282## begin gnulib module havelib
283
284
285EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
286
287## end gnulib module havelib
288
289## begin gnulib module iconv_open
290
291BUILT_SOURCES += $(ICONV_H)
292
293# We need the following in order to create <iconv.h> when the system
294# doesn't have one that works with the given compiler.
295iconv.h: iconv.in.h
8912421c 296 $(AM_V_GEN)rm -f $@-t $@ && \
24d56127
LC
297 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
298 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
299 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
300 -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
301 -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
302 -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
303 -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
304 -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
305 < $(srcdir)/iconv.in.h; \
8912421c 306 } > $@-t && \
24d56127
LC
307 mv $@-t $@
308MOSTLYCLEANFILES += iconv.h iconv.h-t
309
310iconv_open-aix.h: iconv_open-aix.gperf
311 $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
312 mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
313iconv_open-hpux.h: iconv_open-hpux.gperf
314 $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
315 mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
316iconv_open-irix.h: iconv_open-irix.gperf
317 $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
318 mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
319iconv_open-osf.h: iconv_open-osf.gperf
320 $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
321 mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
8912421c
LC
322iconv_open-solaris.h: iconv_open-solaris.gperf
323 $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
324 mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
325BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
326MOSTLYCLEANFILES += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t iconv_open-solaris.h-t
327MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
328EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
24d56127 329
8912421c 330EXTRA_DIST += iconv.in.h iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open-solaris.gperf iconv_open.c
24d56127
LC
331
332EXTRA_libgnu_la_SOURCES += iconv_open.c
333
334## end gnulib module iconv_open
335
336## begin gnulib module iconv_open-utf
337
338
339EXTRA_DIST += iconv.c iconv_close.c
340
341EXTRA_libgnu_la_SOURCES += iconv.c iconv_close.c
342
343## end gnulib module iconv_open-utf
344
8912421c
LC
345## begin gnulib module inet_ntop
346
347
348EXTRA_DIST += inet_ntop.c
349
350EXTRA_libgnu_la_SOURCES += inet_ntop.c
351
352## end gnulib module inet_ntop
353
354## begin gnulib module inet_pton
355
356
357EXTRA_DIST += inet_pton.c
358
359EXTRA_libgnu_la_SOURCES += inet_pton.c
360
361## end gnulib module inet_pton
362
d9a9e182
AW
363## begin gnulib module lib-symbol-visibility
364
365# The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the
366# compilation of all sources that make up the library. This line here does it
367# only for the gnulib part of it. The developer is responsible for adding
368# $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library.
369AM_CFLAGS += $(CFLAG_VISIBILITY)
370
371## end gnulib module lib-symbol-visibility
372
103dc4d4
LC
373## begin gnulib module link-warning
374
375LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
376
377EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
378
379## end gnulib module link-warning
380
4a462e35
NJ
381## begin gnulib module localcharset
382
383libgnu_la_SOURCES += localcharset.h localcharset.c
384
385# We need the following in order to install a simple file in $(libdir)
386# which is shared with other installed packages. We use a list of referencing
387# packages so that "make uninstall" will remove the file if and only if it
388# is not used by another installed package.
389# On systems with glibc-2.1 or newer, the file is redundant, therefore we
390# avoid installing it.
391
392all-local: charset.alias ref-add.sed ref-del.sed
393
394charset_alias = $(DESTDIR)$(libdir)/charset.alias
395charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
f240aacb
LC
396install-exec-local: install-exec-localcharset
397install-exec-localcharset: all-local
398 if test $(GLIBC21) = no; then \
399 case '$(host_os)' in \
400 darwin[56]*) \
401 need_charset_alias=true ;; \
402 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
403 need_charset_alias=false ;; \
404 *) \
405 need_charset_alias=true ;; \
406 esac ; \
407 else \
408 need_charset_alias=false ; \
409 fi ; \
410 if $$need_charset_alias; then \
411 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
412 fi ; \
4a462e35
NJ
413 if test -f $(charset_alias); then \
414 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
415 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
416 rm -f $(charset_tmp) ; \
417 else \
f240aacb 418 if $$need_charset_alias; then \
4a462e35
NJ
419 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
420 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
421 rm -f $(charset_tmp) ; \
422 fi ; \
423 fi
424
f240aacb
LC
425uninstall-local: uninstall-localcharset
426uninstall-localcharset: all-local
4a462e35
NJ
427 if test -f $(charset_alias); then \
428 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
429 if grep '^# Packages using this file: $$' $(charset_tmp) \
430 > /dev/null; then \
431 rm -f $(charset_alias); \
432 else \
433 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
434 fi; \
435 rm -f $(charset_tmp); \
436 fi
437
438charset.alias: config.charset
8912421c
LC
439 $(AM_V_GEN)rm -f t-$@ $@ && \
440 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
4a462e35
NJ
441 mv t-$@ $@
442
443SUFFIXES += .sed .sin
444.sin.sed:
8912421c
LC
445 $(AM_V_GEN)rm -f t-$@ $@ && \
446 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
4a462e35
NJ
447 mv t-$@ $@
448
449CLEANFILES += charset.alias ref-add.sed ref-del.sed
450
451EXTRA_DIST += config.charset ref-add.sin ref-del.sin
452
453## end gnulib module localcharset
454
8912421c
LC
455## begin gnulib module lstat
456
457
458EXTRA_DIST += lstat.c
459
460EXTRA_libgnu_la_SOURCES += lstat.c
461
462## end gnulib module lstat
463
f240aacb
LC
464## begin gnulib module malloc-posix
465
466
467EXTRA_DIST += malloc.c
468
469EXTRA_libgnu_la_SOURCES += malloc.c
470
471## end gnulib module malloc-posix
472
ffca4c22
AW
473## begin gnulib module malloca
474
475libgnu_la_SOURCES += malloca.c
476
477EXTRA_DIST += malloca.h malloca.valgrind
478
479## end gnulib module malloca
480
4a462e35
NJ
481## begin gnulib module mbrlen
482
483
484EXTRA_DIST += mbrlen.c
485
486EXTRA_libgnu_la_SOURCES += mbrlen.c
487
488## end gnulib module mbrlen
489
490## begin gnulib module mbrtowc
491
492
493EXTRA_DIST += mbrtowc.c
494
495EXTRA_libgnu_la_SOURCES += mbrtowc.c
496
497## end gnulib module mbrtowc
498
499## begin gnulib module mbsinit
500
501
502EXTRA_DIST += mbsinit.c
503
504EXTRA_libgnu_la_SOURCES += mbsinit.c
505
506## end gnulib module mbsinit
507
c4b681fd
LC
508## begin gnulib module memchr
509
510
511EXTRA_DIST += memchr.c memchr.valgrind
512
513EXTRA_libgnu_la_SOURCES += memchr.c
514
515## end gnulib module memchr
516
8912421c
LC
517## begin gnulib module netinet_in
518
519BUILT_SOURCES += $(NETINET_IN_H)
520
521# We need the following in order to create <netinet/in.h> when the system
522# doesn't have one.
523netinet/in.h: netinet_in.in.h
524 $(AM_V_at)$(MKDIR_P) netinet
525 $(AM_V_GEN)rm -f $@-t $@ && \
526 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
527 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
528 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
529 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
530 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
531 < $(srcdir)/netinet_in.in.h; \
532 } > $@-t && \
533 mv $@-t $@
534MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
535MOSTLYCLEANDIRS += netinet
536
537EXTRA_DIST += netinet_in.in.h
538
539## end gnulib module netinet_in
540
ffca4c22
AW
541## begin gnulib module pathmax
542
543
544EXTRA_DIST += pathmax.h
545
546## end gnulib module pathmax
547
f240aacb
LC
548## begin gnulib module putenv
549
550
551EXTRA_DIST += putenv.c
552
553EXTRA_libgnu_la_SOURCES += putenv.c
554
555## end gnulib module putenv
556
ffca4c22
AW
557## begin gnulib module readlink
558
559
560EXTRA_DIST += readlink.c
561
562EXTRA_libgnu_la_SOURCES += readlink.c
563
564## end gnulib module readlink
565
9b36a80c
LC
566## begin gnulib module safe-read
567
568
569EXTRA_DIST += safe-read.c safe-read.h
570
571EXTRA_libgnu_la_SOURCES += safe-read.c
572
573## end gnulib module safe-read
574
575## begin gnulib module safe-write
576
577
578EXTRA_DIST += safe-write.c safe-write.h
579
580EXTRA_libgnu_la_SOURCES += safe-write.c
581
582## end gnulib module safe-write
583
c4b681fd
LC
584## begin gnulib module size_max
585
586libgnu_la_SOURCES += size_max.h
587
588## end gnulib module size_max
589
8912421c
LC
590## begin gnulib module stat
591
592
593EXTRA_DIST += stat.c
594
595EXTRA_libgnu_la_SOURCES += stat.c
596
597## end gnulib module stat
598
4f02b98d
LC
599## begin gnulib module stdarg
600
601BUILT_SOURCES += $(STDARG_H)
602
603# We need the following in order to create <stdarg.h> when the system
604# doesn't have one that works with the given compiler.
605stdarg.h: stdarg.in.h
606 $(AM_V_GEN)rm -f $@-t $@ && \
607 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
608 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
609 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
610 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
611 < $(srcdir)/stdarg.in.h; \
612 } > $@-t && \
613 mv $@-t $@
614MOSTLYCLEANFILES += stdarg.h stdarg.h-t
615
616EXTRA_DIST += stdarg.in.h
617
618## end gnulib module stdarg
619
e65fc94b
LC
620## begin gnulib module stdbool
621
622BUILT_SOURCES += $(STDBOOL_H)
623
624# We need the following in order to create <stdbool.h> when the system
625# doesn't have one that works.
626stdbool.h: stdbool.in.h
8912421c 627 $(AM_V_GEN)rm -f $@-t $@ && \
e65fc94b
LC
628 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
629 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
8912421c 630 } > $@-t && \
e65fc94b
LC
631 mv $@-t $@
632MOSTLYCLEANFILES += stdbool.h stdbool.h-t
633
634EXTRA_DIST += stdbool.in.h
635
636## end gnulib module stdbool
637
8912421c
LC
638## begin gnulib module stddef
639
640BUILT_SOURCES += $(STDDEF_H)
641
642# We need the following in order to create <stddef.h> when the system
643# doesn't have one that works with the given compiler.
644stddef.h: stddef.in.h
645 $(AM_V_GEN)rm -f $@-t $@ && \
646 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
647 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
648 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
649 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
650 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
651 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
652 < $(srcdir)/stddef.in.h; \
653 } > $@-t && \
654 mv $@-t $@
655MOSTLYCLEANFILES += stddef.h stddef.h-t
656
657EXTRA_DIST += stddef.in.h
658
659## end gnulib module stddef
660
f240aacb
LC
661## begin gnulib module stdint
662
663BUILT_SOURCES += $(STDINT_H)
664
665# We need the following in order to create <stdint.h> when the system
666# doesn't have one that works with the given compiler.
667stdint.h: stdint.in.h
8912421c 668 $(AM_V_GEN)rm -f $@-t $@ && \
f240aacb
LC
669 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
670 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
671 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
672 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
673 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
674 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
675 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
676 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
677 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
678 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
679 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
680 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
681 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
682 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
683 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
684 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
685 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
686 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
687 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
688 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
689 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
690 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
691 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
692 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
693 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
694 < $(srcdir)/stdint.in.h; \
8912421c 695 } > $@-t && \
f240aacb
LC
696 mv $@-t $@
697MOSTLYCLEANFILES += stdint.h stdint.h-t
698
699EXTRA_DIST += stdint.in.h
700
701## end gnulib module stdint
702
c4b681fd
LC
703## begin gnulib module stdio
704
705BUILT_SOURCES += stdio.h
706
707# We need the following in order to create <stdio.h> when the system
708# doesn't have one that works with the given compiler.
709stdio.h: stdio.in.h
8912421c 710 $(AM_V_GEN)rm -f $@-t $@ && \
c4b681fd
LC
711 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
712 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
713 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
714 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
c4b681fd 715 -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
8912421c
LC
716 -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
717 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
c4b681fd 718 -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
8912421c
LC
719 -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
720 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
721 -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
722 -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
723 -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
c4b681fd
LC
724 -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
725 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
726 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
727 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
728 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
c4b681fd
LC
729 -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
730 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
731 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
8912421c
LC
732 -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
733 -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
c4b681fd 734 -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
8912421c
LC
735 -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
736 -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
737 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
738 -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
739 -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
740 -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
741 -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
742 -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
743 -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
744 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
745 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
c4b681fd 746 -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
8912421c
LC
747 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
748 -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
749 -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
750 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
751 -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
752 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
753 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
754 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
755 -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
756 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
757 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
758 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
c4b681fd 759 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
c4b681fd 760 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
c4b681fd 761 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
8912421c 762 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
c4b681fd 763 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
8912421c
LC
764 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
765 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
766 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
767 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
c4b681fd 768 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
8912421c
LC
769 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
770 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
c4b681fd 771 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
c4b681fd 772 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
8912421c 773 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
c4b681fd 774 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
8912421c 775 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
c4b681fd 776 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
8912421c 777 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
c4b681fd 778 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
8912421c
LC
779 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
780 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
781 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
782 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
783 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
784 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
785 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
786 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
787 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
788 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
789 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
790 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
791 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
792 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
c4b681fd
LC
793 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
794 < $(srcdir)/stdio.in.h; \
8912421c 795 } > $@-t && \
c4b681fd
LC
796 mv $@-t $@
797MOSTLYCLEANFILES += stdio.h stdio.h-t
798
799EXTRA_DIST += stdio-write.c stdio.in.h
800
801EXTRA_libgnu_la_SOURCES += stdio-write.c
802
803## end gnulib module stdio
804
f240aacb
LC
805## begin gnulib module stdlib
806
807BUILT_SOURCES += stdlib.h
808
809# We need the following in order to create <stdlib.h> when the system
810# doesn't have one that works with the given compiler.
811stdlib.h: stdlib.in.h
8912421c 812 $(AM_V_GEN)rm -f $@-t $@ && \
f240aacb
LC
813 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
814 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
815 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
816 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
f240aacb 817 -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
8912421c
LC
818 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
819 -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
f240aacb
LC
820 -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
821 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
8912421c 822 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
f240aacb 823 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
8912421c 824 -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
f29ded4b 825 -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \
f240aacb 826 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
f29ded4b 827 -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \
f240aacb
LC
828 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
829 -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
8912421c
LC
830 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
831 -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
f240aacb
LC
832 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
833 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
834 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
835 -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
836 -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
837 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
838 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
839 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
8912421c
LC
840 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
841 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
f240aacb
LC
842 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
843 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
844 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
8912421c 845 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
f29ded4b
LC
846 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
847 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
8912421c 848 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
f240aacb 849 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
8912421c
LC
850 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
851 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
f240aacb
LC
852 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
853 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
854 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
855 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
856 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
857 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
858 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
859 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
8912421c 860 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
f240aacb
LC
861 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
862 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
8912421c 863 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
4f02b98d 864 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
f240aacb 865 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
4f02b98d 866 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
f240aacb
LC
867 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
868 < $(srcdir)/stdlib.in.h; \
8912421c 869 } > $@-t && \
f240aacb
LC
870 mv $@-t $@
871MOSTLYCLEANFILES += stdlib.h stdlib.h-t
872
873EXTRA_DIST += stdlib.in.h
874
875## end gnulib module stdlib
876
103dc4d4
LC
877## begin gnulib module strcase
878
879
880EXTRA_DIST += strcasecmp.c strncasecmp.c
881
882EXTRA_libgnu_la_SOURCES += strcasecmp.c strncasecmp.c
883
884## end gnulib module strcase
885
4a462e35
NJ
886## begin gnulib module streq
887
888
889EXTRA_DIST += streq.h
890
891## end gnulib module streq
892
e65fc94b
LC
893## begin gnulib module strftime
894
895
896EXTRA_DIST += strftime.c strftime.h
897
898EXTRA_libgnu_la_SOURCES += strftime.c
899
900## end gnulib module strftime
901
24d56127
LC
902## begin gnulib module striconveh
903
904libgnu_la_SOURCES += striconveh.h striconveh.c
905if GL_COND_LIBTOOL
906libgnu_la_LDFLAGS += $(LTLIBICONV)
907endif
908
909EXTRA_DIST += iconveh.h
910
911## end gnulib module striconveh
912
913## begin gnulib module string
914
915BUILT_SOURCES += string.h
916
917# We need the following in order to create <string.h> when the system
918# doesn't have one that works with the given compiler.
919string.h: string.in.h
8912421c 920 $(AM_V_GEN)rm -f $@-t $@ && \
24d56127
LC
921 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
922 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
923 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
924 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
925 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
926 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
927 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
928 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
929 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
930 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
931 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
932 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
933 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
934 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
935 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
936 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
937 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
938 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
ffca4c22 939 -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
24d56127
LC
940 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
941 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
942 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
943 -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
944 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
945 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
946 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
947 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
948 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
949 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
950 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
951 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
952 -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
953 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
954 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
955 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
956 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
957 -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
958 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
959 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
960 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
961 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
962 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
963 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
964 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
965 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
24d56127
LC
966 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
967 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
968 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
969 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
970 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
971 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
972 -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
973 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
974 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
ffca4c22 975 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
24d56127
LC
976 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
977 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
978 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
979 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
980 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
8912421c 981 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
24d56127 982 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
8912421c
LC
983 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
984 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
24d56127
LC
985 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
986 < $(srcdir)/string.in.h; \
8912421c 987 } > $@-t && \
24d56127
LC
988 mv $@-t $@
989MOSTLYCLEANFILES += string.h string.h-t
990
991EXTRA_DIST += string.in.h
992
993## end gnulib module string
994
103dc4d4
LC
995## begin gnulib module strings
996
997BUILT_SOURCES += strings.h
998
999# We need the following in order to create <strings.h> when the system
1000# doesn't have one that works with the given compiler.
1001strings.h: strings.in.h
8912421c 1002 $(AM_V_GEN)rm -f $@-t $@ && \
103dc4d4 1003 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
e65fc94b
LC
1004 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1005 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
103dc4d4
LC
1006 -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
1007 -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
1008 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
1009 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1010 < $(srcdir)/strings.in.h; \
8912421c 1011 } > $@-t && \
103dc4d4
LC
1012 mv $@-t $@
1013MOSTLYCLEANFILES += strings.h strings.h-t
1014
1015EXTRA_DIST += strings.in.h
1016
1017## end gnulib module strings
1018
f240aacb
LC
1019## begin gnulib module sys_file
1020
1021BUILT_SOURCES += $(SYS_FILE_H)
1022
1023# We need the following in order to create <sys/file.h> when the system
1024# has one that is incomplete.
1025sys/file.h: sys_file.in.h
8912421c
LC
1026 $(AM_V_at)$(MKDIR_P) sys
1027 $(AM_V_GEN)rm -f $@-t $@ && \
f240aacb
LC
1028 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1029 sed -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \
1030 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1031 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1032 -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \
1033 -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \
1034 -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \
1035 < $(srcdir)/sys_file.in.h; \
8912421c 1036 } > $@-t && \
f240aacb
LC
1037 mv $@-t $@
1038MOSTLYCLEANFILES += sys/file.h sys/file.h-t
1039MOSTLYCLEANDIRS += sys
1040
1041EXTRA_DIST += sys_file.in.h
1042
1043## end gnulib module sys_file
1044
8912421c
LC
1045## begin gnulib module sys_socket
1046
1047BUILT_SOURCES += $(SYS_SOCKET_H)
1048
1049# We need the following in order to create <sys/socket.h> when the system
1050# doesn't have one that works with the given compiler.
1051sys/socket.h: sys_socket.in.h
1052 $(AM_V_at)$(MKDIR_P) sys
1053 $(AM_V_GEN)rm -f $@-t $@ && \
1054 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1055 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1056 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1057 -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
1058 -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
1059 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1060 -e 's|@''GNULIB_SOCKET''@|$(GNULIB_SOCKET)|g' \
1061 -e 's|@''GNULIB_CONNECT''@|$(GNULIB_CONNECT)|g' \
1062 -e 's|@''GNULIB_ACCEPT''@|$(GNULIB_ACCEPT)|g' \
1063 -e 's|@''GNULIB_BIND''@|$(GNULIB_BIND)|g' \
1064 -e 's|@''GNULIB_GETPEERNAME''@|$(GNULIB_GETPEERNAME)|g' \
1065 -e 's|@''GNULIB_GETSOCKNAME''@|$(GNULIB_GETSOCKNAME)|g' \
1066 -e 's|@''GNULIB_GETSOCKOPT''@|$(GNULIB_GETSOCKOPT)|g' \
1067 -e 's|@''GNULIB_LISTEN''@|$(GNULIB_LISTEN)|g' \
1068 -e 's|@''GNULIB_RECV''@|$(GNULIB_RECV)|g' \
1069 -e 's|@''GNULIB_SEND''@|$(GNULIB_SEND)|g' \
1070 -e 's|@''GNULIB_RECVFROM''@|$(GNULIB_RECVFROM)|g' \
1071 -e 's|@''GNULIB_SENDTO''@|$(GNULIB_SENDTO)|g' \
1072 -e 's|@''GNULIB_SETSOCKOPT''@|$(GNULIB_SETSOCKOPT)|g' \
1073 -e 's|@''GNULIB_SHUTDOWN''@|$(GNULIB_SHUTDOWN)|g' \
1074 -e 's|@''GNULIB_ACCEPT4''@|$(GNULIB_ACCEPT4)|g' \
1075 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1076 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
1077 -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
1078 -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
1079 -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
1080 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1081 < $(srcdir)/sys_socket.in.h; \
1082 } > $@-t && \
1083 mv -f $@-t $@
1084MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
1085MOSTLYCLEANDIRS += sys
1086
1087EXTRA_DIST += sys_socket.in.h
1088
1089## end gnulib module sys_socket
1090
1091## begin gnulib module sys_stat
1092
1093BUILT_SOURCES += sys/stat.h
1094
1095# We need the following in order to create <sys/stat.h> when the system
1096# has one that is incomplete.
1097sys/stat.h: sys_stat.in.h
1098 $(AM_V_at)$(MKDIR_P) sys
1099 $(AM_V_GEN)rm -f $@-t $@ && \
1100 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1101 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1102 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1103 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1104 -e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \
1105 -e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \
1106 -e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \
1107 -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
1108 -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
1109 -e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \
f29ded4b 1110 -e 's|@''GNULIB_MKFIFO''@|$(GNULIB_MKFIFO)|g' \
8912421c 1111 -e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \
f29ded4b 1112 -e 's|@''GNULIB_MKNOD''@|$(GNULIB_MKNOD)|g' \
8912421c
LC
1113 -e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \
1114 -e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \
1115 -e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \
1116 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1117 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1118 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1119 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1120 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1121 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
f29ded4b 1122 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
8912421c 1123 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
f29ded4b 1124 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
8912421c
LC
1125 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1126 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1127 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1128 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1129 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1130 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1131 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
f29ded4b
LC
1132 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1133 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
8912421c
LC
1134 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1135 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1136 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1137 < $(srcdir)/sys_stat.in.h; \
1138 } > $@-t && \
1139 mv $@-t $@
1140MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1141MOSTLYCLEANDIRS += sys
1142
1143EXTRA_DIST += sys_stat.in.h
1144
1145## end gnulib module sys_stat
1146
e65fc94b
LC
1147## begin gnulib module time
1148
1149BUILT_SOURCES += time.h
1150
1151# We need the following in order to create <time.h> when the system
1152# doesn't have one that works with the given compiler.
1153time.h: time.in.h
8912421c 1154 $(AM_V_GEN)rm -f $@-t $@ && \
e65fc94b
LC
1155 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1156 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1157 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1158 -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1159 -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
25361e4b 1160 -e 's|@REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
e65fc94b
LC
1161 -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1162 -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
1163 -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1164 -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1165 -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1166 < $(srcdir)/time.in.h; \
8912421c 1167 } > $@-t && \
e65fc94b
LC
1168 mv $@-t $@
1169MOSTLYCLEANFILES += time.h time.h-t
1170
1171EXTRA_DIST += time.in.h
1172
1173## end gnulib module time
1174
1175## begin gnulib module time_r
1176
1177
1178EXTRA_DIST += time_r.c
1179
1180EXTRA_libgnu_la_SOURCES += time_r.c
1181
1182## end gnulib module time_r
1183
9b36a80c
LC
1184## begin gnulib module unistd
1185
1186BUILT_SOURCES += unistd.h
1187
1188# We need the following in order to create an empty placeholder for
1189# <unistd.h> when the system doesn't have one.
1190unistd.h: unistd.in.h
8912421c 1191 $(AM_V_GEN)rm -f $@-t $@ && \
9b36a80c
LC
1192 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1193 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1194 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1195 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1196 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1197 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
1198 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1199 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
8912421c 1200 -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
9b36a80c
LC
1201 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
1202 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
8912421c 1203 -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
9b36a80c 1204 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
8912421c 1205 -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
9b36a80c
LC
1206 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
1207 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
1208 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
1209 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
1210 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
f29ded4b 1211 -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
9b36a80c
LC
1212 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
1213 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
1214 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
1215 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
1216 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
f240aacb 1217 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
8912421c 1218 -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
9b36a80c 1219 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
8912421c 1220 -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
9b36a80c 1221 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
8912421c
LC
1222 -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
1223 -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
9b36a80c 1224 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
8912421c
LC
1225 -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
1226 -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
1227 -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
9b36a80c 1228 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
8912421c
LC
1229 -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
1230 -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
9b36a80c 1231 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
f29ded4b 1232 -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
9b36a80c 1233 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
8912421c 1234 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
9b36a80c 1235 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
8912421c
LC
1236 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1237 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
9b36a80c
LC
1238 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1239 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1240 -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
1241 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
f29ded4b 1242 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
9b36a80c
LC
1243 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1244 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1245 -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
f29ded4b 1246 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
f240aacb 1247 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
8912421c
LC
1248 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1249 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
9b36a80c 1250 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
8912421c 1251 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
9b36a80c 1252 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
8912421c
LC
1253 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1254 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1255 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
9b36a80c
LC
1256 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1257 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1258 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1259 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1260 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1261 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
8912421c 1262 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
25361e4b 1263 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
9b36a80c 1264 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
8912421c 1265 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
9b36a80c 1266 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
f29ded4b 1267 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
9b36a80c
LC
1268 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1269 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
8912421c
LC
1270 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1271 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
9b36a80c 1272 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
8912421c
LC
1273 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1274 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1275 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1276 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1277 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
9b36a80c
LC
1278 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1279 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
8912421c 1280 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
9b36a80c
LC
1281 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1282 < $(srcdir)/unistd.in.h; \
8912421c 1283 } > $@-t && \
9b36a80c
LC
1284 mv $@-t $@
1285MOSTLYCLEANFILES += unistd.h unistd.h-t
1286
1287EXTRA_DIST += unistd.in.h
1288
1289## end gnulib module unistd
1290
24d56127
LC
1291## begin gnulib module unistr/base
1292
1293
1294EXTRA_DIST += unistr.h
1295
1296## end gnulib module unistr/base
1297
1298## begin gnulib module unistr/u8-mbtouc
1299
1300libgnu_la_SOURCES += unistr/u8-mbtouc.c unistr/u8-mbtouc-aux.c
1301
1302## end gnulib module unistr/u8-mbtouc
1303
1304## begin gnulib module unistr/u8-mbtouc-unsafe
1305
1306libgnu_la_SOURCES += unistr/u8-mbtouc-unsafe.c unistr/u8-mbtouc-unsafe-aux.c
1307
1308## end gnulib module unistr/u8-mbtouc-unsafe
1309
1310## begin gnulib module unistr/u8-mbtoucr
1311
1312libgnu_la_SOURCES += unistr/u8-mbtoucr.c
1313
1314## end gnulib module unistr/u8-mbtoucr
1315
1316## begin gnulib module unistr/u8-prev
1317
1318libgnu_la_SOURCES += unistr/u8-prev.c
1319
1320## end gnulib module unistr/u8-prev
1321
1322## begin gnulib module unistr/u8-uctomb
1323
1324libgnu_la_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c
1325
1326## end gnulib module unistr/u8-uctomb
1327
1328## begin gnulib module unitypes
1329
1330
1331EXTRA_DIST += unitypes.h
1332
1333## end gnulib module unitypes
1334
c4b681fd
LC
1335## begin gnulib module vasnprintf
1336
1337
1338EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
1339
1340EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
1341
1342## end gnulib module vasnprintf
1343
d7014610
LC
1344## begin gnulib module verify
1345
1346libgnu_la_SOURCES += verify.h
1347
1348## end gnulib module verify
1349
4f02b98d
LC
1350## begin gnulib module version-etc
1351
1352libgnu_la_SOURCES += version-etc.h version-etc.c
1353
1354## end gnulib module version-etc
1355
1356## begin gnulib module version-etc-fsf
1357
1358libgnu_la_SOURCES += version-etc-fsf.c
1359
1360## end gnulib module version-etc-fsf
1361
c4b681fd
LC
1362## begin gnulib module vsnprintf
1363
1364
1365EXTRA_DIST += vsnprintf.c
1366
1367EXTRA_libgnu_la_SOURCES += vsnprintf.c
1368
1369## end gnulib module vsnprintf
1370
e65fc94b
LC
1371## begin gnulib module wchar
1372
1373BUILT_SOURCES += $(WCHAR_H)
1374
1375# We need the following in order to create <wchar.h> when the system
1376# version does not work standalone.
1377wchar.h: wchar.in.h
8912421c 1378 $(AM_V_GEN)rm -f $@-t $@ && \
e65fc94b
LC
1379 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1380 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1381 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1382 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
4a462e35
NJ
1383 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1384 -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
1385 -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
1386 -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
1387 -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
1388 -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
1389 -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
1390 -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
1391 -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
1392 -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
1393 -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
e65fc94b 1394 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
4a462e35
NJ
1395 -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1396 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1397 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1398 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1399 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1400 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1401 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1402 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1403 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1404 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1405 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
e65fc94b 1406 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
4a462e35
NJ
1407 -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1408 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1409 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1410 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1411 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1412 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1413 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1414 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1415 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1416 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
f240aacb 1417 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
e65fc94b
LC
1418 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1419 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1420 < $(srcdir)/wchar.in.h; \
8912421c 1421 } > $@-t && \
e65fc94b
LC
1422 mv $@-t $@
1423MOSTLYCLEANFILES += wchar.h wchar.h-t
1424
1425EXTRA_DIST += wchar.in.h
1426
1427## end gnulib module wchar
1428
9b36a80c
LC
1429## begin gnulib module write
1430
1431
1432EXTRA_DIST += write.c
103dc4d4 1433
9b36a80c 1434EXTRA_libgnu_la_SOURCES += write.c
103dc4d4 1435
9b36a80c 1436## end gnulib module write
103dc4d4 1437
c4b681fd
LC
1438## begin gnulib module xsize
1439
1440libgnu_la_SOURCES += xsize.h
1441
1442## end gnulib module xsize
1443
103dc4d4
LC
1444
1445mostlyclean-local: mostlyclean-generic
1446 @for dir in '' $(MOSTLYCLEANDIRS); do \
1447 if test -n "$$dir" && test -d $$dir; then \
1448 echo "rmdir $$dir"; rmdir $$dir; \
1449 fi; \
1450 done; \
1451 :