fix-letrec tweaks
[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.
49114fd4 3# Copyright (C) 2002-2011 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.
3baebe11 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 accept alignof alloca-opt announce-gen autobuild bind byteswap canonicalize-lgpl close connect duplocale environ extensions flock fpieee full-read full-write func gendocs getaddrinfo getpeername getsockname getsockopt git-version-gen gitlog-to-changelog gnu-web-doc-update gnupload havelib iconv_open-utf inet_ntop inet_pton isinf isnan lib-symbol-versions lib-symbol-visibility libunistring listen locale log1p maintainer-makefile malloc-gnu malloca nproc putenv recv recvfrom round send sendto setsockopt shutdown socket stat-time stdlib strcase strftime striconveh string sys_stat trunc 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)
0f00f2c3 39libgnu_la_LDFLAGS += -no-undefined
b81eb646 40libgnu_la_LDFLAGS += $(FLOOR_LIBM)
0f00f2c3
LC
41libgnu_la_LDFLAGS += $(GETADDRINFO_LIB)
42libgnu_la_LDFLAGS += $(HOSTENT_LIB)
43libgnu_la_LDFLAGS += $(INET_NTOP_LIB)
44libgnu_la_LDFLAGS += $(INET_PTON_LIB)
45libgnu_la_LDFLAGS += $(ISNAND_LIBM)
46libgnu_la_LDFLAGS += $(ISNANF_LIBM)
47libgnu_la_LDFLAGS += $(ISNANL_LIBM)
48libgnu_la_LDFLAGS += $(LIBSOCKET)
b81eb646 49libgnu_la_LDFLAGS += $(LOG1P_LIBM)
0f00f2c3
LC
50libgnu_la_LDFLAGS += $(LTLIBICONV)
51libgnu_la_LDFLAGS += $(LTLIBINTL)
52libgnu_la_LDFLAGS += $(LTLIBUNISTRING)
b81eb646 53libgnu_la_LDFLAGS += $(ROUND_LIBM)
0f00f2c3 54libgnu_la_LDFLAGS += $(SERVENT_LIB)
49114fd4
LC
55libgnu_la_LDFLAGS += $(TRUNC_LIBM)
56
57## begin gnulib module accept
58
59
60EXTRA_DIST += accept.c w32sock.h
61
62EXTRA_libgnu_la_SOURCES += accept.c
63
64## end gnulib module accept
103dc4d4 65
8912421c
LC
66## begin gnulib module alignof
67
68
69EXTRA_DIST += alignof.h
70
71## end gnulib module alignof
72
103dc4d4
LC
73## begin gnulib module alloca-opt
74
75BUILT_SOURCES += $(ALLOCA_H)
76
77# We need the following in order to create <alloca.h> when the system
78# doesn't have one that works with the given compiler.
79alloca.h: alloca.in.h
8912421c 80 $(AM_V_GEN)rm -f $@-t $@ && \
103dc4d4
LC
81 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
82 cat $(srcdir)/alloca.in.h; \
8912421c 83 } > $@-t && \
103dc4d4
LC
84 mv -f $@-t $@
85MOSTLYCLEANFILES += alloca.h alloca.h-t
86
87EXTRA_DIST += alloca.in.h
88
89## end gnulib module alloca-opt
90
c84bdaf6
LC
91## begin gnulib module announce-gen
92
93
94EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen
95
96## end gnulib module announce-gen
97
1cd4fffc
LC
98## begin gnulib module arg-nonnull
99
61cd9dc9
LC
100# The BUILT_SOURCES created by this Makefile snippet are not used via #include
101# statements but through direct file reference. Therefore this snippet must be
102# present in all Makefile.am that need it. This is ensured by the applicability
103# 'all' defined above.
104
1cd4fffc
LC
105BUILT_SOURCES += arg-nonnull.h
106# The arg-nonnull.h that gets inserted into generated .h files is the same as
107# build-aux/arg-nonnull.h, except that it has the copyright header cut off.
108arg-nonnull.h: $(top_srcdir)/build-aux/arg-nonnull.h
109 $(AM_V_GEN)rm -f $@-t $@ && \
110 sed -n -e '/GL_ARG_NONNULL/,$$p' \
111 < $(top_srcdir)/build-aux/arg-nonnull.h \
112 > $@-t && \
113 mv $@-t $@
114MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
115
116ARG_NONNULL_H=arg-nonnull.h
117
118EXTRA_DIST += $(top_srcdir)/build-aux/arg-nonnull.h
119
120## end gnulib module arg-nonnull
121
8912421c
LC
122## begin gnulib module arpa_inet
123
61cd9dc9 124BUILT_SOURCES += arpa/inet.h
8912421c
LC
125
126# We need the following in order to create <arpa/inet.h> when the system
127# doesn't have one.
49114fd4 128arpa/inet.h: arpa_inet.in.h $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
8912421c
LC
129 $(AM_V_at)$(MKDIR_P) arpa
130 $(AM_V_GEN)rm -f $@-t $@ && \
131 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
132 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
133 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3
LC
134 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
135 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
8912421c
LC
136 -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
137 -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
138 -e 's|@''GNULIB_INET_NTOP''@|$(GNULIB_INET_NTOP)|g' \
139 -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \
140 -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
141 -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
49114fd4 142 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 143 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 144 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
8912421c
LC
145 < $(srcdir)/arpa_inet.in.h; \
146 } > $@-t && \
147 mv $@-t $@
148MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
149MOSTLYCLEANDIRS += arpa
150
151EXTRA_DIST += arpa_inet.in.h
152
153## end gnulib module arpa_inet
154
49114fd4
LC
155## begin gnulib module bind
156
157
158EXTRA_DIST += bind.c w32sock.h
159
160EXTRA_libgnu_la_SOURCES += bind.c
161
162## end gnulib module bind
163
24d56127
LC
164## begin gnulib module byteswap
165
166BUILT_SOURCES += $(BYTESWAP_H)
167
168# We need the following in order to create <byteswap.h> when the system
169# doesn't have one.
170byteswap.h: byteswap.in.h
8912421c 171 $(AM_V_GEN)rm -f $@-t $@ && \
24d56127
LC
172 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
173 cat $(srcdir)/byteswap.in.h; \
8912421c 174 } > $@-t && \
24d56127
LC
175 mv -f $@-t $@
176MOSTLYCLEANFILES += byteswap.h byteswap.h-t
177
178EXTRA_DIST += byteswap.in.h
179
180## end gnulib module byteswap
181
f4c79b3c
LC
182## begin gnulib module c++defs
183
184# The BUILT_SOURCES created by this Makefile snippet are not used via #include
185# statements but through direct file reference. Therefore this snippet must be
186# present in all Makefile.am that need it. This is ensured by the applicability
187# 'all' defined above.
188
189BUILT_SOURCES += c++defs.h
190# The c++defs.h that gets inserted into generated .h files is the same as
191# build-aux/c++defs.h, except that it has the copyright header cut off.
192c++defs.h: $(top_srcdir)/build-aux/c++defs.h
193 $(AM_V_GEN)rm -f $@-t $@ && \
194 sed -n -e '/_GL_CXXDEFS/,$$p' \
195 < $(top_srcdir)/build-aux/c++defs.h \
196 > $@-t && \
197 mv $@-t $@
198MOSTLYCLEANFILES += c++defs.h c++defs.h-t
199
200CXXDEFS_H=c++defs.h
201
202EXTRA_DIST += $(top_srcdir)/build-aux/c++defs.h
203
204## end gnulib module c++defs
205
24d56127
LC
206## begin gnulib module c-ctype
207
208libgnu_la_SOURCES += c-ctype.h c-ctype.c
209
210## end gnulib module c-ctype
211
212## begin gnulib module c-strcase
213
214libgnu_la_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
215
216## end gnulib module c-strcase
217
218## begin gnulib module c-strcaseeq
219
220
221EXTRA_DIST += c-strcaseeq.h
222
223## end gnulib module c-strcaseeq
224
ffca4c22
AW
225## begin gnulib module canonicalize-lgpl
226
227
8912421c 228EXTRA_DIST += canonicalize-lgpl.c
ffca4c22
AW
229
230EXTRA_libgnu_la_SOURCES += canonicalize-lgpl.c
231
232## end gnulib module canonicalize-lgpl
233
49114fd4
LC
234## begin gnulib module close
235
236
237EXTRA_DIST += close.c
238
239EXTRA_libgnu_la_SOURCES += close.c
240
241## end gnulib module close
242
0f00f2c3
LC
243## begin gnulib module close-hook
244
245libgnu_la_SOURCES += close-hook.c
246
247EXTRA_DIST += close-hook.h
248
249## end gnulib module close-hook
250
49114fd4 251## begin gnulib module connect
4a462e35 252
49114fd4
LC
253
254EXTRA_DIST += connect.c w32sock.h
255
256EXTRA_libgnu_la_SOURCES += connect.c
257
258## end gnulib module connect
4a462e35 259
c3b16a5d
LC
260## begin gnulib module duplocale
261
262
263EXTRA_DIST += duplocale.c
264
265EXTRA_libgnu_la_SOURCES += duplocale.c
266
267## end gnulib module duplocale
268
c4b681fd
LC
269## begin gnulib module errno
270
271BUILT_SOURCES += $(ERRNO_H)
272
273# We need the following in order to create <errno.h> when the system
274# doesn't have one that is POSIX compliant.
275errno.h: errno.in.h
8912421c 276 $(AM_V_GEN)rm -f $@-t $@ && \
c4b681fd
LC
277 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
278 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
279 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 280 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
c4b681fd
LC
281 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
282 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
283 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
284 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
285 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
286 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
287 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
288 < $(srcdir)/errno.in.h; \
8912421c 289 } > $@-t && \
c4b681fd
LC
290 mv $@-t $@
291MOSTLYCLEANFILES += errno.h errno.h-t
292
293EXTRA_DIST += errno.in.h
294
295## end gnulib module errno
296
49114fd4
LC
297## begin gnulib module fclose
298
299
300EXTRA_DIST += fclose.c
301
302EXTRA_libgnu_la_SOURCES += fclose.c
303
304## end gnulib module fclose
305
c4b681fd
LC
306## begin gnulib module float
307
308BUILT_SOURCES += $(FLOAT_H)
309
310# We need the following in order to create <float.h> when the system
311# doesn't have one that works with the given compiler.
312float.h: float.in.h
8912421c 313 $(AM_V_GEN)rm -f $@-t $@ && \
c4b681fd
LC
314 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
315 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
316 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 317 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
c4b681fd
LC
318 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
319 < $(srcdir)/float.in.h; \
8912421c 320 } > $@-t && \
c4b681fd
LC
321 mv $@-t $@
322MOSTLYCLEANFILES += float.h float.h-t
323
324EXTRA_DIST += float.in.h
325
326## end gnulib module float
327
f240aacb
LC
328## begin gnulib module flock
329
330
331EXTRA_DIST += flock.c
332
333EXTRA_libgnu_la_SOURCES += flock.c
334
335## end gnulib module flock
336
b81eb646
LC
337## begin gnulib module floor
338
339
340EXTRA_DIST += floor.c
341
342EXTRA_libgnu_la_SOURCES += floor.c
343
344## end gnulib module floor
345
9b36a80c
LC
346## begin gnulib module full-read
347
348libgnu_la_SOURCES += full-read.h full-read.c
349
350## end gnulib module full-read
351
352## begin gnulib module full-write
353
354libgnu_la_SOURCES += full-write.h full-write.c
355
356## end gnulib module full-write
357
c84bdaf6
LC
358## begin gnulib module gendocs
359
360
361EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
362
363## end gnulib module gendocs
364
61cd9dc9
LC
365## begin gnulib module getaddrinfo
366
367
368EXTRA_DIST += gai_strerror.c getaddrinfo.c
369
370EXTRA_libgnu_la_SOURCES += gai_strerror.c getaddrinfo.c
371
372## end gnulib module getaddrinfo
373
49114fd4
LC
374## begin gnulib module getpeername
375
376
377EXTRA_DIST += getpeername.c w32sock.h
378
379EXTRA_libgnu_la_SOURCES += getpeername.c
380
381## end gnulib module getpeername
382
383## begin gnulib module getsockname
384
385
386EXTRA_DIST += getsockname.c w32sock.h
387
388EXTRA_libgnu_la_SOURCES += getsockname.c
389
390## end gnulib module getsockname
391
392## begin gnulib module getsockopt
393
394
395EXTRA_DIST += getsockopt.c w32sock.h
396
397EXTRA_libgnu_la_SOURCES += getsockopt.c
398
399## end gnulib module getsockopt
400
4f02b98d
LC
401## begin gnulib module gettext-h
402
403libgnu_la_SOURCES += gettext.h
404
405## end gnulib module gettext-h
406
5ad8e59f
LC
407## begin gnulib module git-version-gen
408
409
410EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen
411
412## end gnulib module git-version-gen
413
c84bdaf6
LC
414## begin gnulib module gitlog-to-changelog
415
416
417EXTRA_DIST += $(top_srcdir)/build-aux/gitlog-to-changelog
418
419## end gnulib module gitlog-to-changelog
420
421## begin gnulib module gnu-web-doc-update
422
423
424EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update
425
426## end gnulib module gnu-web-doc-update
427
428## begin gnulib module gnumakefile
429
430distclean-local: clean-GNUmakefile
431clean-GNUmakefile:
432 test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
433
434EXTRA_DIST += $(top_srcdir)/GNUmakefile
435
436## end gnulib module gnumakefile
437
438## begin gnulib module gnupload
439
440
441EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
442
443## end gnulib module gnupload
444
24d56127
LC
445## begin gnulib module gperf
446
447GPERF = gperf
448
449## end gnulib module gperf
450
451## begin gnulib module havelib
452
453
454EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
455
456## end gnulib module havelib
457
f4c79b3c 458## begin gnulib module iconv-h
24d56127
LC
459
460BUILT_SOURCES += $(ICONV_H)
461
462# We need the following in order to create <iconv.h> when the system
463# doesn't have one that works with the given compiler.
f4c79b3c 464iconv.h: iconv.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 465 $(AM_V_GEN)rm -f $@-t $@ && \
24d56127
LC
466 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
467 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
468 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 469 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
24d56127 470 -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
0f00f2c3 471 -e 's|@''GNULIB_ICONV''@|$(GNULIB_ICONV)|g' \
24d56127
LC
472 -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
473 -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
474 -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
475 -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
f4c79b3c 476 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 477 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
f4c79b3c 478 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
24d56127 479 < $(srcdir)/iconv.in.h; \
8912421c 480 } > $@-t && \
24d56127
LC
481 mv $@-t $@
482MOSTLYCLEANFILES += iconv.h iconv.h-t
483
f4c79b3c
LC
484EXTRA_DIST += iconv.in.h
485
486## end gnulib module iconv-h
487
488## begin gnulib module iconv_open
489
24d56127
LC
490iconv_open-aix.h: iconv_open-aix.gperf
491 $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
492 mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
493iconv_open-hpux.h: iconv_open-hpux.gperf
494 $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
495 mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
496iconv_open-irix.h: iconv_open-irix.gperf
497 $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
498 mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
499iconv_open-osf.h: iconv_open-osf.gperf
500 $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
501 mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
8912421c
LC
502iconv_open-solaris.h: iconv_open-solaris.gperf
503 $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
504 mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
505BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
506MOSTLYCLEANFILES += 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
507MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
508EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
24d56127 509
f4c79b3c 510EXTRA_DIST += 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
511
512EXTRA_libgnu_la_SOURCES += iconv_open.c
513
514## end gnulib module iconv_open
515
516## begin gnulib module iconv_open-utf
517
518
519EXTRA_DIST += iconv.c iconv_close.c
520
521EXTRA_libgnu_la_SOURCES += iconv.c iconv_close.c
522
523## end gnulib module iconv_open-utf
524
8912421c
LC
525## begin gnulib module inet_ntop
526
527
528EXTRA_DIST += inet_ntop.c
529
530EXTRA_libgnu_la_SOURCES += inet_ntop.c
531
532## end gnulib module inet_ntop
533
534## begin gnulib module inet_pton
535
536
537EXTRA_DIST += inet_pton.c
538
539EXTRA_libgnu_la_SOURCES += inet_pton.c
540
541## end gnulib module inet_pton
542
2e65b52f
LC
543## begin gnulib module isinf
544
545
546EXTRA_DIST += isinf.c
547
548EXTRA_libgnu_la_SOURCES += isinf.c
549
550## end gnulib module isinf
551
552## begin gnulib module isnand
553
554
555EXTRA_DIST += float+.h isnan.c isnand.c
556
557EXTRA_libgnu_la_SOURCES += isnan.c isnand.c
558
559## end gnulib module isnand
560
561## begin gnulib module isnanf
562
563
564EXTRA_DIST += float+.h isnan.c isnanf.c
565
566EXTRA_libgnu_la_SOURCES += isnan.c isnanf.c
567
568## end gnulib module isnanf
569
570## begin gnulib module isnanl
571
572
573EXTRA_DIST += float+.h isnan.c isnanl.c
574
575EXTRA_libgnu_la_SOURCES += isnan.c isnanl.c
576
577## end gnulib module isnanl
578
d9a9e182
AW
579## begin gnulib module lib-symbol-visibility
580
581# The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the
582# compilation of all sources that make up the library. This line here does it
583# only for the gnulib part of it. The developer is responsible for adding
584# $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library.
585AM_CFLAGS += $(CFLAG_VISIBILITY)
586
587## end gnulib module lib-symbol-visibility
588
a927b6c1
LC
589## begin gnulib module libunistring
590
591
592EXTRA_DIST += libunistring.valgrind
593
594## end gnulib module libunistring
595
49114fd4 596## begin gnulib module listen
4a462e35 597
4a462e35 598
49114fd4 599EXTRA_DIST += listen.c w32sock.h
4a462e35 600
49114fd4 601EXTRA_libgnu_la_SOURCES += listen.c
4a462e35 602
49114fd4 603## end gnulib module listen
4a462e35 604
414e4441
LC
605## begin gnulib module locale
606
61cd9dc9 607BUILT_SOURCES += locale.h
414e4441
LC
608
609# We need the following in order to create <locale.h> when the system
610# doesn't have one that provides all definitions.
f4c79b3c 611locale.h: locale.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
414e4441
LC
612 $(AM_V_GEN)rm -f $@-t $@ && \
613 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
614 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
615 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 616 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
414e4441 617 -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
49114fd4 618 -e 's|@''GNULIB_SETLOCALE''@|$(GNULIB_SETLOCALE)|g' \
414e4441 619 -e 's|@''GNULIB_DUPLOCALE''@|$(GNULIB_DUPLOCALE)|g' \
f4c79b3c 620 -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
414e4441 621 -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
49114fd4 622 -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
414e4441 623 -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
f4c79b3c 624 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 625 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 626 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
414e4441
LC
627 < $(srcdir)/locale.in.h; \
628 } > $@-t && \
629 mv $@-t $@
630MOSTLYCLEANFILES += locale.h locale.h-t
631
632EXTRA_DIST += locale.in.h
633
634## end gnulib module locale
635
8912421c
LC
636## begin gnulib module lstat
637
638
639EXTRA_DIST += lstat.c
640
641EXTRA_libgnu_la_SOURCES += lstat.c
642
643## end gnulib module lstat
644
c84bdaf6
LC
645## begin gnulib module maintainer-makefile
646
647EXTRA_DIST += $(top_srcdir)/maint.mk
648
649## end gnulib module maintainer-makefile
650
49114fd4
LC
651## begin gnulib module malloc-gnu
652
653
654EXTRA_DIST += malloc.c
655
656EXTRA_libgnu_la_SOURCES += malloc.c
657
658## end gnulib module malloc-gnu
659
f240aacb
LC
660## begin gnulib module malloc-posix
661
662
663EXTRA_DIST += malloc.c
664
665EXTRA_libgnu_la_SOURCES += malloc.c
666
667## end gnulib module malloc-posix
668
ffca4c22
AW
669## begin gnulib module malloca
670
671libgnu_la_SOURCES += malloca.c
672
673EXTRA_DIST += malloca.h malloca.valgrind
674
675## end gnulib module malloca
676
2e65b52f
LC
677## begin gnulib module math
678
679BUILT_SOURCES += math.h
680
681# We need the following in order to create <math.h> when the system
682# doesn't have one that works with the given compiler.
683math.h: math.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
684 $(AM_V_GEN)rm -f $@-t $@ && \
685 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
686 sed -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
687 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 688 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2e65b52f
LC
689 -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \
690 -e 's|@''GNULIB_ACOSL''@|$(GNULIB_ACOSL)|g' \
691 -e 's|@''GNULIB_ASINL''@|$(GNULIB_ASINL)|g' \
692 -e 's|@''GNULIB_ATANL''@|$(GNULIB_ATANL)|g' \
49114fd4 693 -e 's|@''GNULIB_CEIL''@|$(GNULIB_CEIL)|g' \
2e65b52f
LC
694 -e 's|@''GNULIB_CEILF''@|$(GNULIB_CEILF)|g' \
695 -e 's|@''GNULIB_CEILL''@|$(GNULIB_CEILL)|g' \
696 -e 's|@''GNULIB_COSL''@|$(GNULIB_COSL)|g' \
697 -e 's|@''GNULIB_EXPL''@|$(GNULIB_EXPL)|g' \
49114fd4 698 -e 's|@''GNULIB_FLOOR''@|$(GNULIB_FLOOR)|g' \
2e65b52f
LC
699 -e 's|@''GNULIB_FLOORF''@|$(GNULIB_FLOORF)|g' \
700 -e 's|@''GNULIB_FLOORL''@|$(GNULIB_FLOORL)|g' \
701 -e 's|@''GNULIB_FREXP''@|$(GNULIB_FREXP)|g' \
702 -e 's|@''GNULIB_FREXPL''@|$(GNULIB_FREXPL)|g' \
703 -e 's|@''GNULIB_ISFINITE''@|$(GNULIB_ISFINITE)|g' \
704 -e 's|@''GNULIB_ISINF''@|$(GNULIB_ISINF)|g' \
705 -e 's|@''GNULIB_ISNAN''@|$(GNULIB_ISNAN)|g' \
706 -e 's|@''GNULIB_ISNANF''@|$(GNULIB_ISNANF)|g' \
707 -e 's|@''GNULIB_ISNAND''@|$(GNULIB_ISNAND)|g' \
708 -e 's|@''GNULIB_ISNANL''@|$(GNULIB_ISNANL)|g' \
709 -e 's|@''GNULIB_LDEXPL''@|$(GNULIB_LDEXPL)|g' \
710 -e 's|@''GNULIB_LOGB''@|$(GNULIB_LOGB)|g' \
711 -e 's|@''GNULIB_LOGL''@|$(GNULIB_LOGL)|g' \
712 -e 's|@''GNULIB_ROUND''@|$(GNULIB_ROUND)|g' \
713 -e 's|@''GNULIB_ROUNDF''@|$(GNULIB_ROUNDF)|g' \
714 -e 's|@''GNULIB_ROUNDL''@|$(GNULIB_ROUNDL)|g' \
715 -e 's|@''GNULIB_SIGNBIT''@|$(GNULIB_SIGNBIT)|g' \
716 -e 's|@''GNULIB_SINL''@|$(GNULIB_SINL)|g' \
717 -e 's|@''GNULIB_SQRTL''@|$(GNULIB_SQRTL)|g' \
718 -e 's|@''GNULIB_TANL''@|$(GNULIB_TANL)|g' \
719 -e 's|@''GNULIB_TRUNC''@|$(GNULIB_TRUNC)|g' \
720 -e 's|@''GNULIB_TRUNCF''@|$(GNULIB_TRUNCF)|g' \
721 -e 's|@''GNULIB_TRUNCL''@|$(GNULIB_TRUNCL)|g' \
49114fd4
LC
722 < $(srcdir)/math.in.h | \
723 sed -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \
2e65b52f
LC
724 -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \
725 -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \
726 -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \
727 -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \
728 -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
729 -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
730 -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
731 -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \
732 -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \
733 -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \
734 -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \
735 -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
736 -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
737 -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
738 -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \
739 -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \
740 -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
741 -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
742 -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \
743 -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \
744 -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
745 -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
746 -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \
747 -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
748 -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \
749 -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \
750 -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \
751 -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
752 -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
753 -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
754 -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
755 -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
756 -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
49114fd4
LC
757 | \
758 sed -e 's|@''REPLACE_CEIL''@|$(REPLACE_CEIL)|g' \
2e65b52f
LC
759 -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
760 -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
49114fd4 761 -e 's|@''REPLACE_FLOOR''@|$(REPLACE_FLOOR)|g' \
2e65b52f
LC
762 -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
763 -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
764 -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
765 -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
766 -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
767 -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
768 -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
769 -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
770 -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
771 -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
772 -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
773 -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
774 -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
775 -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
776 -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
49114fd4
LC
777 -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \
778 -e 's|@''REPLACE_TRUNCF''@|$(REPLACE_TRUNCF)|g' \
2e65b52f
LC
779 -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
780 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
781 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
49114fd4 782 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2e65b52f
LC
783 } > $@-t && \
784 mv $@-t $@
785MOSTLYCLEANFILES += math.h math.h-t
786
787EXTRA_DIST += math.in.h
788
789## end gnulib module math
790
c4b681fd
LC
791## begin gnulib module memchr
792
793
794EXTRA_DIST += memchr.c memchr.valgrind
795
796EXTRA_libgnu_la_SOURCES += memchr.c
797
798## end gnulib module memchr
799
61cd9dc9
LC
800## begin gnulib module netdb
801
a927b6c1 802BUILT_SOURCES += netdb.h
61cd9dc9
LC
803
804# We need the following in order to create <netdb.h> when the system
805# doesn't have one that works with the given compiler.
a927b6c1 806netdb.h: netdb.in.h $(ARG_NONNULL_H) $(WARN_ON_USE_H)
61cd9dc9
LC
807 $(AM_V_GEN)rm -f $@-t $@ && \
808 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
809 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
810 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 811 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
61cd9dc9
LC
812 -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
813 -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
814 -e 's|@''GNULIB_GETADDRINFO''@|$(GNULIB_GETADDRINFO)|g' \
815 -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
816 -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
817 -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
818 -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
819 -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
820 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
a927b6c1 821 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
61cd9dc9
LC
822 < $(srcdir)/netdb.in.h; \
823 } > $@-t && \
824 mv $@-t $@
825MOSTLYCLEANFILES += netdb.h netdb.h-t
826
827EXTRA_DIST += netdb.in.h
828
829## end gnulib module netdb
830
8912421c
LC
831## begin gnulib module netinet_in
832
833BUILT_SOURCES += $(NETINET_IN_H)
834
835# We need the following in order to create <netinet/in.h> when the system
836# doesn't have one.
837netinet/in.h: netinet_in.in.h
838 $(AM_V_at)$(MKDIR_P) netinet
839 $(AM_V_GEN)rm -f $@-t $@ && \
840 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
841 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
842 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 843 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
8912421c
LC
844 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
845 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
846 < $(srcdir)/netinet_in.in.h; \
847 } > $@-t && \
848 mv $@-t $@
849MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
850MOSTLYCLEANDIRS += netinet
851
852EXTRA_DIST += netinet_in.in.h
853
854## end gnulib module netinet_in
855
0f00f2c3
LC
856## begin gnulib module nproc
857
858libgnu_la_SOURCES += nproc.c
859
860EXTRA_DIST += nproc.h
861
862## end gnulib module nproc
863
ffca4c22
AW
864## begin gnulib module pathmax
865
866
867EXTRA_DIST += pathmax.h
868
869## end gnulib module pathmax
870
f240aacb
LC
871## begin gnulib module putenv
872
873
874EXTRA_DIST += putenv.c
875
876EXTRA_libgnu_la_SOURCES += putenv.c
877
878## end gnulib module putenv
879
ffca4c22
AW
880## begin gnulib module readlink
881
882
883EXTRA_DIST += readlink.c
884
885EXTRA_libgnu_la_SOURCES += readlink.c
886
887## end gnulib module readlink
888
49114fd4
LC
889## begin gnulib module recv
890
891
892EXTRA_DIST += recv.c w32sock.h
893
894EXTRA_libgnu_la_SOURCES += recv.c
895
896## end gnulib module recv
897
898## begin gnulib module recvfrom
899
900
901EXTRA_DIST += recvfrom.c w32sock.h
902
903EXTRA_libgnu_la_SOURCES += recvfrom.c
904
905## end gnulib module recvfrom
906
b81eb646
LC
907## begin gnulib module round
908
909
910EXTRA_DIST += round.c
911
912EXTRA_libgnu_la_SOURCES += round.c
913
914## end gnulib module round
915
9b36a80c
LC
916## begin gnulib module safe-read
917
918
919EXTRA_DIST += safe-read.c safe-read.h
920
921EXTRA_libgnu_la_SOURCES += safe-read.c
922
923## end gnulib module safe-read
924
925## begin gnulib module safe-write
926
927
928EXTRA_DIST += safe-write.c safe-write.h
929
930EXTRA_libgnu_la_SOURCES += safe-write.c
931
932## end gnulib module safe-write
933
49114fd4
LC
934## begin gnulib module send
935
936
937EXTRA_DIST += send.c w32sock.h
938
939EXTRA_libgnu_la_SOURCES += send.c
940
941## end gnulib module send
942
943## begin gnulib module sendto
944
945
946EXTRA_DIST += sendto.c w32sock.h
947
948EXTRA_libgnu_la_SOURCES += sendto.c
949
950## end gnulib module sendto
951
952## begin gnulib module setsockopt
953
954
955EXTRA_DIST += setsockopt.c w32sock.h
956
957EXTRA_libgnu_la_SOURCES += setsockopt.c
958
959## end gnulib module setsockopt
960
961## begin gnulib module shutdown
962
963
964EXTRA_DIST += shutdown.c w32sock.h
965
966EXTRA_libgnu_la_SOURCES += shutdown.c
967
968## end gnulib module shutdown
969
c4b681fd
LC
970## begin gnulib module size_max
971
972libgnu_la_SOURCES += size_max.h
973
974## end gnulib module size_max
975
61cd9dc9
LC
976## begin gnulib module snprintf
977
978
979EXTRA_DIST += snprintf.c
980
981EXTRA_libgnu_la_SOURCES += snprintf.c
982
983## end gnulib module snprintf
984
49114fd4
LC
985## begin gnulib module socket
986
987
988EXTRA_DIST += socket.c w32sock.h
989
990EXTRA_libgnu_la_SOURCES += socket.c
991
992## end gnulib module socket
993
0f00f2c3
LC
994## begin gnulib module sockets
995
996libgnu_la_SOURCES += sockets.h sockets.c
997
998EXTRA_DIST += w32sock.h
999
1000## end gnulib module sockets
1001
8912421c
LC
1002## begin gnulib module stat
1003
1004
1005EXTRA_DIST += stat.c
1006
1007EXTRA_libgnu_la_SOURCES += stat.c
1008
1009## end gnulib module stat
1010
9157d901
LC
1011## begin gnulib module stat-time
1012
1013
1014EXTRA_DIST += stat-time.h
1015
1016## end gnulib module stat-time
1017
4f02b98d
LC
1018## begin gnulib module stdarg
1019
1020BUILT_SOURCES += $(STDARG_H)
1021
1022# We need the following in order to create <stdarg.h> when the system
1023# doesn't have one that works with the given compiler.
1024stdarg.h: stdarg.in.h
1025 $(AM_V_GEN)rm -f $@-t $@ && \
1026 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1027 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1028 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1029 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
4f02b98d
LC
1030 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
1031 < $(srcdir)/stdarg.in.h; \
1032 } > $@-t && \
1033 mv $@-t $@
1034MOSTLYCLEANFILES += stdarg.h stdarg.h-t
1035
1036EXTRA_DIST += stdarg.in.h
1037
1038## end gnulib module stdarg
1039
e65fc94b
LC
1040## begin gnulib module stdbool
1041
1042BUILT_SOURCES += $(STDBOOL_H)
1043
1044# We need the following in order to create <stdbool.h> when the system
1045# doesn't have one that works.
1046stdbool.h: stdbool.in.h
8912421c 1047 $(AM_V_GEN)rm -f $@-t $@ && \
e65fc94b
LC
1048 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1049 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
8912421c 1050 } > $@-t && \
e65fc94b
LC
1051 mv $@-t $@
1052MOSTLYCLEANFILES += stdbool.h stdbool.h-t
1053
1054EXTRA_DIST += stdbool.in.h
1055
1056## end gnulib module stdbool
1057
8912421c
LC
1058## begin gnulib module stddef
1059
1060BUILT_SOURCES += $(STDDEF_H)
1061
1062# We need the following in order to create <stddef.h> when the system
1063# doesn't have one that works with the given compiler.
1064stddef.h: stddef.in.h
1065 $(AM_V_GEN)rm -f $@-t $@ && \
1066 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1067 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1068 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1069 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
8912421c
LC
1070 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
1071 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
1072 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
1073 < $(srcdir)/stddef.in.h; \
1074 } > $@-t && \
1075 mv $@-t $@
1076MOSTLYCLEANFILES += stddef.h stddef.h-t
1077
1078EXTRA_DIST += stddef.in.h
1079
1080## end gnulib module stddef
1081
f240aacb
LC
1082## begin gnulib module stdint
1083
1084BUILT_SOURCES += $(STDINT_H)
1085
1086# We need the following in order to create <stdint.h> when the system
1087# doesn't have one that works with the given compiler.
1088stdint.h: stdint.in.h
8912421c 1089 $(AM_V_GEN)rm -f $@-t $@ && \
f240aacb
LC
1090 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1091 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
1092 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1093 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1094 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f240aacb
LC
1095 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
1096 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1097 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1098 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1099 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
1100 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
1101 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
1102 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
1103 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1104 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1105 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1106 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1107 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1108 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1109 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1110 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1111 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1112 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1113 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1114 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1115 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1116 < $(srcdir)/stdint.in.h; \
8912421c 1117 } > $@-t && \
f240aacb
LC
1118 mv $@-t $@
1119MOSTLYCLEANFILES += stdint.h stdint.h-t
1120
1121EXTRA_DIST += stdint.in.h
1122
1123## end gnulib module stdint
1124
c4b681fd
LC
1125## begin gnulib module stdio
1126
1127BUILT_SOURCES += stdio.h
1128
1129# We need the following in order to create <stdio.h> when the system
1130# doesn't have one that works with the given compiler.
f4c79b3c 1131stdio.h: stdio.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 1132 $(AM_V_GEN)rm -f $@-t $@ && \
c4b681fd
LC
1133 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1134 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1135 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1136 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
c4b681fd 1137 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
c4b681fd 1138 -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
8912421c
LC
1139 -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
1140 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
c4b681fd 1141 -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
8912421c
LC
1142 -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
1143 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
1144 -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
1145 -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
1146 -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
c4b681fd
LC
1147 -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
1148 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
1149 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
1150 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
1151 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
c4b681fd
LC
1152 -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
1153 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
1154 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
8912421c
LC
1155 -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
1156 -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
c4b681fd 1157 -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
8912421c
LC
1158 -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
1159 -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
1160 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
1161 -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
1162 -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
1163 -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
1164 -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
1165 -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
1166 -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
1167 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
1168 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
c4b681fd 1169 -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
a927b6c1 1170 -e 's|@''GNULIB_TMPFILE''@|$(GNULIB_TMPFILE)|g' \
8912421c
LC
1171 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
1172 -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
1173 -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
1174 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
1175 -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
1176 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
1177 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
1178 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
61cd9dc9
LC
1179 < $(srcdir)/stdio.in.h | \
1180 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
ab4d62ad
LC
1181 -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
1182 -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
8912421c
LC
1183 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1184 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1185 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
c4b681fd 1186 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
c4b681fd 1187 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
c4b681fd 1188 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
a927b6c1
LC
1189 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
1190 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
8912421c 1191 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
c4b681fd 1192 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
8912421c
LC
1193 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
1194 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
1195 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
1196 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
c4b681fd 1197 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
8912421c
LC
1198 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1199 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
c4b681fd 1200 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
c4b681fd 1201 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
8912421c 1202 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
c4b681fd 1203 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
8912421c 1204 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
61cd9dc9 1205 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
c4b681fd 1206 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
8912421c 1207 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
c4b681fd 1208 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
8912421c
LC
1209 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
1210 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1211 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1212 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1213 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1214 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1215 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
1216 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
a927b6c1 1217 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
8912421c
LC
1218 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1219 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1220 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1221 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1222 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1223 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
a927b6c1 1224 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
f4c79b3c 1225 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1226 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 1227 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
8912421c 1228 } > $@-t && \
c4b681fd
LC
1229 mv $@-t $@
1230MOSTLYCLEANFILES += stdio.h stdio.h-t
1231
1232EXTRA_DIST += stdio-write.c stdio.in.h
1233
1234EXTRA_libgnu_la_SOURCES += stdio-write.c
1235
1236## end gnulib module stdio
1237
f240aacb
LC
1238## begin gnulib module stdlib
1239
1240BUILT_SOURCES += stdlib.h
1241
1242# We need the following in order to create <stdlib.h> when the system
1243# doesn't have one that works with the given compiler.
f4c79b3c 1244stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 1245 $(AM_V_GEN)rm -f $@-t $@ && \
f240aacb
LC
1246 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1247 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1248 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1249 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f240aacb 1250 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
9157d901 1251 -e 's|@''GNULIB__EXIT''@|$(GNULIB__EXIT)|g' \
f240aacb 1252 -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
8912421c
LC
1253 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
1254 -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
f240aacb
LC
1255 -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
1256 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
a927b6c1 1257 -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \
8912421c 1258 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
f240aacb 1259 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
8912421c 1260 -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
f29ded4b 1261 -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \
f240aacb 1262 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
f29ded4b 1263 -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \
a927b6c1 1264 -e 's|@''GNULIB_PTSNAME''@|$(GNULIB_PTSNAME)|g' \
f240aacb
LC
1265 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
1266 -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
8912421c
LC
1267 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
1268 -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
f240aacb
LC
1269 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
1270 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
1271 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
1272 -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
1273 -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
0f00f2c3 1274 -e 's|@''GNULIB_SYSTEM_POSIX''@|$(GNULIB_SYSTEM_POSIX)|g' \
a927b6c1 1275 -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \
f240aacb 1276 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
49114fd4
LC
1277 < $(srcdir)/stdlib.in.h | \
1278 sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
f240aacb 1279 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
8912421c
LC
1280 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1281 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
f240aacb 1282 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
a927b6c1 1283 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
f240aacb 1284 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
8912421c 1285 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
f29ded4b 1286 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
a927b6c1 1287 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
f29ded4b 1288 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
a927b6c1 1289 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
8912421c 1290 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
f240aacb 1291 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
8912421c 1292 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
f240aacb 1293 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
ab4d62ad 1294 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
f240aacb
LC
1295 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1296 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1297 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1298 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1299 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
a927b6c1 1300 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
ab4d62ad 1301 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
9157d901 1302 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
8912421c 1303 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
9157d901 1304 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
f240aacb
LC
1305 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1306 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
9157d901 1307 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
8912421c 1308 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
4f02b98d 1309 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
f240aacb 1310 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
4f02b98d 1311 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
f4c79b3c 1312 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1313 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
49114fd4 1314 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
8912421c 1315 } > $@-t && \
f240aacb
LC
1316 mv $@-t $@
1317MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1318
1319EXTRA_DIST += stdlib.in.h
1320
1321## end gnulib module stdlib
1322
103dc4d4
LC
1323## begin gnulib module strcase
1324
1325
1326EXTRA_DIST += strcasecmp.c strncasecmp.c
1327
1328EXTRA_libgnu_la_SOURCES += strcasecmp.c strncasecmp.c
1329
1330## end gnulib module strcase
1331
e65fc94b
LC
1332## begin gnulib module strftime
1333
1334
1335EXTRA_DIST += strftime.c strftime.h
1336
1337EXTRA_libgnu_la_SOURCES += strftime.c
1338
1339## end gnulib module strftime
1340
24d56127
LC
1341## begin gnulib module striconveh
1342
1343libgnu_la_SOURCES += striconveh.h striconveh.c
1344if GL_COND_LIBTOOL
1345libgnu_la_LDFLAGS += $(LTLIBICONV)
1346endif
1347
1348EXTRA_DIST += iconveh.h
1349
1350## end gnulib module striconveh
1351
1352## begin gnulib module string
1353
1354BUILT_SOURCES += string.h
1355
1356# We need the following in order to create <string.h> when the system
1357# doesn't have one that works with the given compiler.
f4c79b3c 1358string.h: string.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 1359 $(AM_V_GEN)rm -f $@-t $@ && \
24d56127
LC
1360 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1361 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1362 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1363 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
24d56127
LC
1364 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1365 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
1366 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
1367 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
1368 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
1369 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
1370 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
1371 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
1372 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
1373 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
1374 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
1375 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
1376 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
1377 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
1378 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
ffca4c22 1379 -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
24d56127
LC
1380 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
1381 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
1382 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
1383 -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
1384 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
1385 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
1386 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
1387 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
a927b6c1 1388 -e 's|@''GNULIB_STRNCAT''@|$(GNULIB_STRNCAT)|g' \
24d56127
LC
1389 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
1390 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
1391 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
1392 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
1393 -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
1394 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
1395 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
1396 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
0f00f2c3 1397 -e 's|@''GNULIB_STRERROR_R''@|$(GNULIB_STRERROR_R)|g' \
24d56127
LC
1398 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
1399 -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
61cd9dc9
LC
1400 < $(srcdir)/string.in.h | \
1401 sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
a927b6c1 1402 -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
24d56127
LC
1403 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1404 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1405 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1406 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1407 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1408 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1409 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1410 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
24d56127
LC
1411 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1412 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1413 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1414 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1415 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1416 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
0f00f2c3 1417 -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
24d56127
LC
1418 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1419 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
a927b6c1 1420 -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
ffca4c22 1421 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
24d56127
LC
1422 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1423 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1424 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1425 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1426 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
0f00f2c3 1427 -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
a927b6c1 1428 -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
8912421c 1429 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
a927b6c1 1430 -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
24d56127 1431 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
8912421c
LC
1432 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1433 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
f4c79b3c 1434 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1435 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 1436 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
24d56127 1437 < $(srcdir)/string.in.h; \
8912421c 1438 } > $@-t && \
24d56127
LC
1439 mv $@-t $@
1440MOSTLYCLEANFILES += string.h string.h-t
1441
1442EXTRA_DIST += string.in.h
1443
1444## end gnulib module string
1445
103dc4d4
LC
1446## begin gnulib module strings
1447
1448BUILT_SOURCES += strings.h
1449
1450# We need the following in order to create <strings.h> when the system
1451# doesn't have one that works with the given compiler.
61cd9dc9 1452strings.h: strings.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
8912421c 1453 $(AM_V_GEN)rm -f $@-t $@ && \
103dc4d4 1454 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
e65fc94b
LC
1455 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1456 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1457 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
103dc4d4
LC
1458 -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
1459 -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
1460 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
1cd4fffc 1461 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 1462 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
103dc4d4 1463 < $(srcdir)/strings.in.h; \
8912421c 1464 } > $@-t && \
103dc4d4
LC
1465 mv $@-t $@
1466MOSTLYCLEANFILES += strings.h strings.h-t
1467
1468EXTRA_DIST += strings.in.h
1469
1470## end gnulib module strings
1471
f240aacb
LC
1472## begin gnulib module sys_file
1473
61cd9dc9 1474BUILT_SOURCES += sys/file.h
f240aacb
LC
1475
1476# We need the following in order to create <sys/file.h> when the system
1477# has one that is incomplete.
61cd9dc9 1478sys/file.h: sys_file.in.h $(WARN_ON_USE_H)
8912421c
LC
1479 $(AM_V_at)$(MKDIR_P) sys
1480 $(AM_V_GEN)rm -f $@-t $@ && \
f240aacb
LC
1481 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1482 sed -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \
1483 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1484 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1485 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f240aacb
LC
1486 -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \
1487 -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \
1488 -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \
61cd9dc9 1489 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
f240aacb 1490 < $(srcdir)/sys_file.in.h; \
8912421c 1491 } > $@-t && \
f240aacb
LC
1492 mv $@-t $@
1493MOSTLYCLEANFILES += sys/file.h sys/file.h-t
1494MOSTLYCLEANDIRS += sys
1495
1496EXTRA_DIST += sys_file.in.h
1497
1498## end gnulib module sys_file
1499
8912421c
LC
1500## begin gnulib module sys_socket
1501
61cd9dc9 1502BUILT_SOURCES += sys/socket.h
8912421c
LC
1503
1504# We need the following in order to create <sys/socket.h> when the system
1505# doesn't have one that works with the given compiler.
f4c79b3c 1506sys/socket.h: sys_socket.in.h $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
8912421c
LC
1507 $(AM_V_at)$(MKDIR_P) sys
1508 $(AM_V_GEN)rm -f $@-t $@ && \
1509 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1510 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1511 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1512 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
8912421c
LC
1513 -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
1514 -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
1515 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1516 -e 's|@''GNULIB_SOCKET''@|$(GNULIB_SOCKET)|g' \
1517 -e 's|@''GNULIB_CONNECT''@|$(GNULIB_CONNECT)|g' \
1518 -e 's|@''GNULIB_ACCEPT''@|$(GNULIB_ACCEPT)|g' \
1519 -e 's|@''GNULIB_BIND''@|$(GNULIB_BIND)|g' \
1520 -e 's|@''GNULIB_GETPEERNAME''@|$(GNULIB_GETPEERNAME)|g' \
1521 -e 's|@''GNULIB_GETSOCKNAME''@|$(GNULIB_GETSOCKNAME)|g' \
1522 -e 's|@''GNULIB_GETSOCKOPT''@|$(GNULIB_GETSOCKOPT)|g' \
1523 -e 's|@''GNULIB_LISTEN''@|$(GNULIB_LISTEN)|g' \
1524 -e 's|@''GNULIB_RECV''@|$(GNULIB_RECV)|g' \
1525 -e 's|@''GNULIB_SEND''@|$(GNULIB_SEND)|g' \
1526 -e 's|@''GNULIB_RECVFROM''@|$(GNULIB_RECVFROM)|g' \
1527 -e 's|@''GNULIB_SENDTO''@|$(GNULIB_SENDTO)|g' \
1528 -e 's|@''GNULIB_SETSOCKOPT''@|$(GNULIB_SETSOCKOPT)|g' \
1529 -e 's|@''GNULIB_SHUTDOWN''@|$(GNULIB_SHUTDOWN)|g' \
1530 -e 's|@''GNULIB_ACCEPT4''@|$(GNULIB_ACCEPT4)|g' \
1531 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1532 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
1533 -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
0f00f2c3 1534 -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|$(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY)|g' \
8912421c
LC
1535 -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
1536 -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
f4c79b3c 1537 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1538 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 1539 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
8912421c
LC
1540 < $(srcdir)/sys_socket.in.h; \
1541 } > $@-t && \
1542 mv -f $@-t $@
1543MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
1544MOSTLYCLEANDIRS += sys
1545
1546EXTRA_DIST += sys_socket.in.h
1547
1548## end gnulib module sys_socket
1549
1550## begin gnulib module sys_stat
1551
1552BUILT_SOURCES += sys/stat.h
1553
1554# We need the following in order to create <sys/stat.h> when the system
1555# has one that is incomplete.
f4c79b3c 1556sys/stat.h: sys_stat.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c
LC
1557 $(AM_V_at)$(MKDIR_P) sys
1558 $(AM_V_GEN)rm -f $@-t $@ && \
1559 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1560 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1561 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1562 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
8912421c
LC
1563 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1564 -e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \
1565 -e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \
1566 -e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \
1567 -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
1568 -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
1569 -e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \
f29ded4b 1570 -e 's|@''GNULIB_MKFIFO''@|$(GNULIB_MKFIFO)|g' \
8912421c 1571 -e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \
f29ded4b 1572 -e 's|@''GNULIB_MKNOD''@|$(GNULIB_MKNOD)|g' \
8912421c
LC
1573 -e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \
1574 -e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \
1575 -e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \
1576 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1577 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1578 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1579 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1580 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1581 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
f29ded4b 1582 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
8912421c 1583 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
f29ded4b 1584 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
8912421c
LC
1585 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1586 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1587 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1588 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1589 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1590 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1591 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
f29ded4b
LC
1592 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1593 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
8912421c
LC
1594 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1595 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
f4c79b3c 1596 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1597 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 1598 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
8912421c
LC
1599 < $(srcdir)/sys_stat.in.h; \
1600 } > $@-t && \
1601 mv $@-t $@
1602MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1603MOSTLYCLEANDIRS += sys
1604
1605EXTRA_DIST += sys_stat.in.h
1606
1607## end gnulib module sys_stat
1608
49114fd4
LC
1609## begin gnulib module sys_time
1610
1611BUILT_SOURCES += sys/time.h
1612
1613# We need the following in order to create <sys/time.h> when the system
1614# doesn't have one that works with the given compiler.
1615sys/time.h: sys_time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1616 $(AM_V_at)$(MKDIR_P) sys
1617 $(AM_V_GEN)rm -f $@-t $@ && \
1618 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1619 sed -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
1620 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1621 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1622 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1623 -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
1624 -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
1625 -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
1626 -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
1627 -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
1628 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1629 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1630 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1631 < $(srcdir)/sys_time.in.h; \
1632 } > $@-t && \
1633 mv $@-t $@
1634MOSTLYCLEANFILES += sys/time.h sys/time.h-t
1635
1636EXTRA_DIST += sys_time.in.h
1637
1638## end gnulib module sys_time
1639
e65fc94b
LC
1640## begin gnulib module time
1641
1642BUILT_SOURCES += time.h
1643
1644# We need the following in order to create <time.h> when the system
1645# doesn't have one that works with the given compiler.
f4c79b3c 1646time.h: time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 1647 $(AM_V_GEN)rm -f $@-t $@ && \
e65fc94b
LC
1648 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1649 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1650 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1651 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f4c79b3c
LC
1652 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1653 -e 's|@''GNULIB_MKTIME''@|$(GNULIB_MKTIME)|g' \
1654 -e 's|@''GNULIB_NANOSLEEP''@|$(GNULIB_NANOSLEEP)|g' \
1655 -e 's|@''GNULIB_STRPTIME''@|$(GNULIB_STRPTIME)|g' \
1656 -e 's|@''GNULIB_TIMEGM''@|$(GNULIB_TIMEGM)|g' \
1657 -e 's|@''GNULIB_TIME_R''@|$(GNULIB_TIME_R)|g' \
49114fd4 1658 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
a927b6c1
LC
1659 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1660 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1661 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
f4c79b3c
LC
1662 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1663 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1664 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
f4c79b3c 1665 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
6f32e5c7 1666 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
f4c79b3c
LC
1667 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1668 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1669 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1670 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
f4c79b3c 1671 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
e65fc94b 1672 < $(srcdir)/time.in.h; \
8912421c 1673 } > $@-t && \
e65fc94b
LC
1674 mv $@-t $@
1675MOSTLYCLEANFILES += time.h time.h-t
1676
1677EXTRA_DIST += time.in.h
1678
1679## end gnulib module time
1680
1681## begin gnulib module time_r
1682
1683
1684EXTRA_DIST += time_r.c
1685
1686EXTRA_libgnu_la_SOURCES += time_r.c
1687
1688## end gnulib module time_r
1689
49114fd4
LC
1690## begin gnulib module trunc
1691
1692
1693EXTRA_DIST += trunc.c
1694
1695EXTRA_libgnu_la_SOURCES += trunc.c
1696
1697## end gnulib module trunc
1698
9b36a80c
LC
1699## begin gnulib module unistd
1700
1701BUILT_SOURCES += unistd.h
1702
1703# We need the following in order to create an empty placeholder for
1704# <unistd.h> when the system doesn't have one.
f4c79b3c 1705unistd.h: unistd.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 1706 $(AM_V_GEN)rm -f $@-t $@ && \
9b36a80c
LC
1707 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1708 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1709 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1710 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1711 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
9b36a80c
LC
1712 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1713 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
1714 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1715 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
8912421c 1716 -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
9b36a80c
LC
1717 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
1718 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
8912421c 1719 -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
9b36a80c 1720 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
8912421c 1721 -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
9b36a80c
LC
1722 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
1723 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
1724 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
1725 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
1726 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
f29ded4b 1727 -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
9b36a80c 1728 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
61cd9dc9 1729 -e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \
9b36a80c
LC
1730 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
1731 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
1732 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
1733 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
f240aacb 1734 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
8912421c 1735 -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
9b36a80c 1736 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
ab4d62ad 1737 -e 's|@''GNULIB_PIPE''@|$(GNULIB_PIPE)|g' \
8912421c 1738 -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
1cd4fffc 1739 -e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \
a927b6c1 1740 -e 's|@''GNULIB_PWRITE''@|$(GNULIB_PWRITE)|g' \
9b36a80c 1741 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
8912421c
LC
1742 -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
1743 -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
9b36a80c 1744 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
8912421c
LC
1745 -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
1746 -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
a927b6c1 1747 -e 's|@''GNULIB_TTYNAME_R''@|$(GNULIB_TTYNAME_R)|g' \
8912421c 1748 -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
9b36a80c 1749 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
8912421c
LC
1750 -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
1751 -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
414e4441 1752 -e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \
9b36a80c 1753 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
61cd9dc9
LC
1754 < $(srcdir)/unistd.in.h | \
1755 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
9b36a80c 1756 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
8912421c 1757 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
9b36a80c 1758 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
8912421c 1759 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
a927b6c1 1760 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
8912421c 1761 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
9b36a80c
LC
1762 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1763 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
9b36a80c 1764 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
f29ded4b 1765 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
9b36a80c 1766 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
61cd9dc9 1767 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
9b36a80c 1768 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
f29ded4b 1769 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
f240aacb 1770 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
8912421c 1771 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
ab4d62ad 1772 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
8912421c 1773 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1cd4fffc 1774 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
a927b6c1 1775 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
9b36a80c 1776 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
8912421c 1777 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
9b36a80c 1778 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
8912421c
LC
1779 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1780 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1781 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
414e4441 1782 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
9b36a80c 1783 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
ab4d62ad 1784 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
0f00f2c3 1785 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
9b36a80c 1786 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
a927b6c1
LC
1787 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1788 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
ab4d62ad 1789 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
9b36a80c
LC
1790 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1791 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
49114fd4
LC
1792 | \
1793 sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
9b36a80c 1794 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
8912421c 1795 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
25361e4b 1796 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
8912421c 1797 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
9b36a80c 1798 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
0f00f2c3 1799 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
49114fd4 1800 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
f29ded4b 1801 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
9b36a80c
LC
1802 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1803 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
8912421c
LC
1804 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1805 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
9b36a80c 1806 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1cd4fffc 1807 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
a927b6c1 1808 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
8912421c
LC
1809 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1810 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
414e4441 1811 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
8912421c 1812 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
a927b6c1 1813 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
8912421c
LC
1814 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1815 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
414e4441 1816 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
9b36a80c
LC
1817 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1818 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
8912421c 1819 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
f4c79b3c 1820 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1821 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 1822 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
8912421c 1823 } > $@-t && \
9b36a80c
LC
1824 mv $@-t $@
1825MOSTLYCLEANFILES += unistd.h unistd.h-t
1826
1827EXTRA_DIST += unistd.in.h
1828
1829## end gnulib module unistd
1830
24d56127
LC
1831## begin gnulib module unistr/base
1832
a927b6c1 1833BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H)
24d56127 1834
a927b6c1
LC
1835unistr.h: unistr.in.h
1836 $(AM_V_GEN)rm -f $@-t $@ && \
1837 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1838 cat $(srcdir)/unistr.in.h; \
1839 } > $@-t && \
1840 mv -f $@-t $@
1841MOSTLYCLEANFILES += unistr.h unistr.h-t
1842
1843EXTRA_DIST += unistr.in.h
24d56127
LC
1844
1845## end gnulib module unistr/base
1846
1847## begin gnulib module unistr/u8-mbtouc
1848
6f32e5c7
LC
1849if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC
1850libgnu_la_SOURCES += unistr/u8-mbtouc.c unistr/u8-mbtouc-aux.c
1851endif
24d56127
LC
1852
1853## end gnulib module unistr/u8-mbtouc
1854
1855## begin gnulib module unistr/u8-mbtouc-unsafe
1856
6f32e5c7
LC
1857if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_UNSAFE
1858libgnu_la_SOURCES += unistr/u8-mbtouc-unsafe.c unistr/u8-mbtouc-unsafe-aux.c
1859endif
24d56127
LC
1860
1861## end gnulib module unistr/u8-mbtouc-unsafe
1862
1863## begin gnulib module unistr/u8-mbtoucr
1864
6f32e5c7
LC
1865if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR
1866libgnu_la_SOURCES += unistr/u8-mbtoucr.c
1867endif
24d56127
LC
1868
1869## end gnulib module unistr/u8-mbtoucr
1870
1871## begin gnulib module unistr/u8-prev
1872
6f32e5c7
LC
1873if LIBUNISTRING_COMPILE_UNISTR_U8_PREV
1874libgnu_la_SOURCES += unistr/u8-prev.c
1875endif
24d56127
LC
1876
1877## end gnulib module unistr/u8-prev
1878
1879## begin gnulib module unistr/u8-uctomb
1880
6f32e5c7
LC
1881if LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB
1882libgnu_la_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c
1883endif
24d56127
LC
1884
1885## end gnulib module unistr/u8-uctomb
1886
1887## begin gnulib module unitypes
1888
a927b6c1
LC
1889BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
1890
1891unitypes.h: unitypes.in.h
1892 $(AM_V_GEN)rm -f $@-t $@ && \
1893 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1894 cat $(srcdir)/unitypes.in.h; \
1895 } > $@-t && \
1896 mv -f $@-t $@
1897MOSTLYCLEANFILES += unitypes.h unitypes.h-t
24d56127 1898
a927b6c1 1899EXTRA_DIST += unitypes.in.h
24d56127
LC
1900
1901## end gnulib module unitypes
1902
61cd9dc9
LC
1903## begin gnulib module unused-parameter
1904
1905# The BUILT_SOURCES created by this Makefile snippet are not used via #include
1906# statements but through direct file reference. Therefore this snippet must be
1907# present in all Makefile.am that need it. This is ensured by the applicability
1908# 'all' defined above.
1909
1910BUILT_SOURCES += unused-parameter.h
1911# The unused-parameter.h that gets inserted into generated .h files is the same
1912# as build-aux/unused-parameter.h, except that it has the copyright header cut
1913# off.
1914unused-parameter.h: $(top_srcdir)/build-aux/unused-parameter.h
1915 $(AM_V_GEN)rm -f $@-t $@ && \
1916 sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \
1917 < $(top_srcdir)/build-aux/unused-parameter.h \
1918 > $@-t && \
1919 mv $@-t $@
1920MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t
1921
1922UNUSED_PARAMETER_H=unused-parameter.h
1923
1924EXTRA_DIST += $(top_srcdir)/build-aux/unused-parameter.h
1925
1926## end gnulib module unused-parameter
1927
c84bdaf6
LC
1928## begin gnulib module useless-if-before-free
1929
1930
1931EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
1932
1933## end gnulib module useless-if-before-free
1934
c4b681fd
LC
1935## begin gnulib module vasnprintf
1936
1937
1938EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
1939
1940EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
1941
1942## end gnulib module vasnprintf
1943
c84bdaf6
LC
1944## begin gnulib module vc-list-files
1945
1946
1947EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
1948
1949## end gnulib module vc-list-files
1950
d7014610
LC
1951## begin gnulib module verify
1952
1953libgnu_la_SOURCES += verify.h
1954
1955## end gnulib module verify
1956
4f02b98d
LC
1957## begin gnulib module version-etc
1958
1959libgnu_la_SOURCES += version-etc.h version-etc.c
1960
1961## end gnulib module version-etc
1962
1963## begin gnulib module version-etc-fsf
1964
1965libgnu_la_SOURCES += version-etc-fsf.c
1966
1967## end gnulib module version-etc-fsf
1968
c4b681fd
LC
1969## begin gnulib module vsnprintf
1970
1971
1972EXTRA_DIST += vsnprintf.c
1973
1974EXTRA_libgnu_la_SOURCES += vsnprintf.c
1975
1976## end gnulib module vsnprintf
1977
61cd9dc9
LC
1978## begin gnulib module warn-on-use
1979
1980BUILT_SOURCES += warn-on-use.h
1981# The warn-on-use.h that gets inserted into generated .h files is the same as
1982# build-aux/warn-on-use.h, except that it has the copyright header cut off.
1983warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h
1984 $(AM_V_GEN)rm -f $@-t $@ && \
1985 sed -n -e '/^.ifndef/,$$p' \
1986 < $(top_srcdir)/build-aux/warn-on-use.h \
1987 > $@-t && \
1988 mv $@-t $@
1989MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1990
1991WARN_ON_USE_H=warn-on-use.h
1992
1993EXTRA_DIST += $(top_srcdir)/build-aux/warn-on-use.h
1994
1995## end gnulib module warn-on-use
1996
e65fc94b
LC
1997## begin gnulib module wchar
1998
61cd9dc9 1999BUILT_SOURCES += wchar.h
e65fc94b
LC
2000
2001# We need the following in order to create <wchar.h> when the system
2002# version does not work standalone.
f4c79b3c 2003wchar.h: wchar.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 2004 $(AM_V_GEN)rm -f $@-t $@ && \
e65fc94b
LC
2005 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2006 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2007 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3
LC
2008 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2009 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
e65fc94b 2010 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
4a462e35
NJ
2011 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
2012 -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
2013 -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
2014 -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
2015 -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
2016 -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
2017 -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
2018 -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
2019 -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
2020 -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
2021 -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
e65fc94b 2022 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
49114fd4
LC
2023 -e 's|@''GNULIB_WMEMCHR''@|$(GNULIB_WMEMCHR)|g' \
2024 -e 's|@''GNULIB_WMEMCMP''@|$(GNULIB_WMEMCMP)|g' \
2025 -e 's|@''GNULIB_WMEMCPY''@|$(GNULIB_WMEMCPY)|g' \
2026 -e 's|@''GNULIB_WMEMMOVE''@|$(GNULIB_WMEMMOVE)|g' \
2027 -e 's|@''GNULIB_WMEMSET''@|$(GNULIB_WMEMSET)|g' \
2028 -e 's|@''GNULIB_WCSLEN''@|$(GNULIB_WCSLEN)|g' \
2029 -e 's|@''GNULIB_WCSNLEN''@|$(GNULIB_WCSNLEN)|g' \
2030 -e 's|@''GNULIB_WCSCPY''@|$(GNULIB_WCSCPY)|g' \
2031 -e 's|@''GNULIB_WCPCPY''@|$(GNULIB_WCPCPY)|g' \
2032 -e 's|@''GNULIB_WCSNCPY''@|$(GNULIB_WCSNCPY)|g' \
2033 -e 's|@''GNULIB_WCPNCPY''@|$(GNULIB_WCPNCPY)|g' \
2034 -e 's|@''GNULIB_WCSCAT''@|$(GNULIB_WCSCAT)|g' \
2035 -e 's|@''GNULIB_WCSNCAT''@|$(GNULIB_WCSNCAT)|g' \
2036 -e 's|@''GNULIB_WCSCMP''@|$(GNULIB_WCSCMP)|g' \
2037 -e 's|@''GNULIB_WCSNCMP''@|$(GNULIB_WCSNCMP)|g' \
2038 -e 's|@''GNULIB_WCSCASECMP''@|$(GNULIB_WCSCASECMP)|g' \
2039 -e 's|@''GNULIB_WCSNCASECMP''@|$(GNULIB_WCSNCASECMP)|g' \
2040 -e 's|@''GNULIB_WCSCOLL''@|$(GNULIB_WCSCOLL)|g' \
2041 -e 's|@''GNULIB_WCSXFRM''@|$(GNULIB_WCSXFRM)|g' \
2042 -e 's|@''GNULIB_WCSDUP''@|$(GNULIB_WCSDUP)|g' \
2043 -e 's|@''GNULIB_WCSCHR''@|$(GNULIB_WCSCHR)|g' \
2044 -e 's|@''GNULIB_WCSRCHR''@|$(GNULIB_WCSRCHR)|g' \
2045 -e 's|@''GNULIB_WCSCSPN''@|$(GNULIB_WCSCSPN)|g' \
2046 -e 's|@''GNULIB_WCSSPN''@|$(GNULIB_WCSSPN)|g' \
2047 -e 's|@''GNULIB_WCSPBRK''@|$(GNULIB_WCSPBRK)|g' \
2048 -e 's|@''GNULIB_WCSSTR''@|$(GNULIB_WCSSTR)|g' \
2049 -e 's|@''GNULIB_WCSTOK''@|$(GNULIB_WCSTOK)|g' \
2050 -e 's|@''GNULIB_WCSWIDTH''@|$(GNULIB_WCSWIDTH)|g' \
2051 < $(srcdir)/wchar.in.h | \
2052 sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
4a462e35
NJ
2053 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
2054 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
2055 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
2056 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
2057 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
2058 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
2059 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
2060 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
2061 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
49114fd4
LC
2062 -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
2063 -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
2064 -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
2065 -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
2066 -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
2067 -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
2068 -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
2069 -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
2070 -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
2071 -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
2072 -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
2073 -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
2074 -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
2075 -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
2076 -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
2077 -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
2078 -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
2079 -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
2080 -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
2081 -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
2082 -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
2083 -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
2084 -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
2085 -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
2086 -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
2087 -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
2088 -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
2089 -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
4a462e35 2090 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
e65fc94b 2091 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
49114fd4
LC
2092 | \
2093 sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
4a462e35
NJ
2094 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
2095 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
2096 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
2097 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
2098 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
2099 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
2100 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
2101 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
2102 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
f240aacb 2103 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
e65fc94b 2104 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
49114fd4 2105 -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
f4c79b3c 2106 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 2107 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
49114fd4 2108 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
8912421c 2109 } > $@-t && \
e65fc94b
LC
2110 mv $@-t $@
2111MOSTLYCLEANFILES += wchar.h wchar.h-t
2112
2113EXTRA_DIST += wchar.in.h
2114
2115## end gnulib module wchar
2116
9b36a80c
LC
2117## begin gnulib module write
2118
2119
2120EXTRA_DIST += write.c
103dc4d4 2121
9b36a80c 2122EXTRA_libgnu_la_SOURCES += write.c
103dc4d4 2123
9b36a80c 2124## end gnulib module write
103dc4d4 2125
c4b681fd
LC
2126## begin gnulib module xsize
2127
2128libgnu_la_SOURCES += xsize.h
2129
2130## end gnulib module xsize
2131
103dc4d4
LC
2132
2133mostlyclean-local: mostlyclean-generic
2134 @for dir in '' $(MOSTLYCLEANDIRS); do \
2135 if test -n "$$dir" && test -d $$dir; then \
2136 echo "rmdir $$dir"; rmdir $$dir; \
2137 fi; \
2138 done; \
2139 :