Change make license
[platform/upstream/make.git] / lib / Makefile.am
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2020 Free Software Foundation, Inc.
4 #
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this file.  If not, see <https://www.gnu.org/licenses/>.
17 #
18 # As a special exception to the GNU General Public License,
19 # this file may be distributed as part of a program that
20 # contains a configuration script generated by Autoconf, under
21 # the same distribution terms as the rest of that program.
22 #
23 # Generated by gnulib-tool.
24 # Reproduce by:
25 # gnulib-tool --import --local-dir=gl \
26 #  --lib=libgnu \
27 #  --source-base=lib \
28 #  --m4-base=m4 \
29 #  --doc-base=doc \
30 #  --tests-base=tests \
31 #  --aux-dir=build-aux \
32 #  --no-conditional-dependencies \
33 #  --no-libtool \
34 #  --macro-prefix=gl \
35 #  alloca \
36 #  fdl \
37 #  findprog-in \
38 #  getloadavg \
39 #  host-cpu-c-abi \
40 #  make-glob \
41 #  strerror
42
43 AUTOMAKE_OPTIONS = 1.11 gnits
44
45 SUBDIRS =
46 noinst_HEADERS =
47 noinst_LIBRARIES =
48 noinst_LTLIBRARIES =
49 EXTRA_DIST =
50 BUILT_SOURCES =
51 SUFFIXES =
52 MOSTLYCLEANFILES = core *.stackdump
53 MOSTLYCLEANDIRS =
54 CLEANFILES =
55 DISTCLEANFILES =
56 MAINTAINERCLEANFILES =
57 # No GNU Make output.
58
59 AM_CPPFLAGS =
60 AM_CFLAGS =
61
62 noinst_LIBRARIES += libgnu.a
63
64 libgnu_a_SOURCES =
65 libgnu_a_LIBADD = $(gl_LIBOBJS)
66 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
67 EXTRA_libgnu_a_SOURCES =
68
69 ## begin gnulib module absolute-header
70
71 # Use this preprocessor expression to decide whether #include_next works.
72 # Do not rely on a 'configure'-time test for this, since the expression
73 # might appear in an installed header, which is used by some other compiler.
74 HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
75
76 ## end   gnulib module absolute-header
77
78 ## begin gnulib module access
79
80
81 EXTRA_DIST += access.c
82
83 EXTRA_libgnu_a_SOURCES += access.c
84
85 ## end   gnulib module access
86
87 ## begin gnulib module alloca
88
89
90 libgnu_a_LIBADD += @ALLOCA@
91 libgnu_a_DEPENDENCIES += @ALLOCA@
92 EXTRA_DIST += alloca.c
93
94 EXTRA_libgnu_a_SOURCES += alloca.c
95
96 ## end   gnulib module alloca
97
98 ## begin gnulib module alloca-opt
99
100 BUILT_SOURCES += $(ALLOCA_H)
101
102 # We need the following in order to create <alloca.h> when the system
103 # doesn't have one that works with the given compiler.
104 if GL_GENERATE_ALLOCA_H
105 alloca.h: alloca.in.h $(top_builddir)/config.status
106         $(AM_V_GEN)rm -f $@-t $@ && \
107         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
108           sed -e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' < $(srcdir)/alloca.in.h; \
109         } > $@-t && \
110         mv -f $@-t $@
111 else
112 alloca.h: $(top_builddir)/config.status
113         rm -f $@
114 endif
115 MOSTLYCLEANFILES += alloca.h alloca.h-t
116
117 EXTRA_DIST += alloca.in.h
118
119 ## end   gnulib module alloca-opt
120
121 ## begin gnulib module close
122
123
124 EXTRA_DIST += close.c
125
126 EXTRA_libgnu_a_SOURCES += close.c
127
128 ## end   gnulib module close
129
130 ## begin gnulib module concat-filename
131
132 libgnu_a_SOURCES += concat-filename.c
133
134 EXTRA_DIST += concat-filename.h
135
136 ## end   gnulib module concat-filename
137
138 ## begin gnulib module dirname-lgpl
139
140 libgnu_a_SOURCES += dirname-lgpl.c basename-lgpl.c stripslash.c
141
142 EXTRA_DIST += dirname.h
143
144 ## end   gnulib module dirname-lgpl
145
146 ## begin gnulib module dosname
147
148
149 EXTRA_DIST += dosname.h
150
151 ## end   gnulib module dosname
152
153 ## begin gnulib module dup2
154
155
156 EXTRA_DIST += dup2.c
157
158 EXTRA_libgnu_a_SOURCES += dup2.c
159
160 ## end   gnulib module dup2
161
162 ## begin gnulib module errno
163
164 BUILT_SOURCES += $(ERRNO_H)
165
166 # We need the following in order to create <errno.h> when the system
167 # doesn't have one that is POSIX compliant.
168 if GL_GENERATE_ERRNO_H
169 errno.h: errno.in.h $(top_builddir)/config.status
170         $(AM_V_GEN)rm -f $@-t $@ && \
171         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
172           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
173               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
174               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
175               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
176               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
177               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
178               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
179               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
180               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
181               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
182               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
183               < $(srcdir)/errno.in.h; \
184         } > $@-t && \
185         mv $@-t $@
186 else
187 errno.h: $(top_builddir)/config.status
188         rm -f $@
189 endif
190 MOSTLYCLEANFILES += errno.h errno.h-t
191
192 EXTRA_DIST += errno.in.h
193
194 ## end   gnulib module errno
195
196 ## begin gnulib module error
197
198
199 EXTRA_DIST += error.c error.h
200
201 EXTRA_libgnu_a_SOURCES += error.c
202
203 ## end   gnulib module error
204
205 ## begin gnulib module exitfail
206
207 libgnu_a_SOURCES += exitfail.c
208
209 EXTRA_DIST += exitfail.h
210
211 ## end   gnulib module exitfail
212
213 ## begin gnulib module fcntl
214
215
216 EXTRA_DIST += fcntl.c
217
218 EXTRA_libgnu_a_SOURCES += fcntl.c
219
220 ## end   gnulib module fcntl
221
222 ## begin gnulib module fcntl-h
223
224 BUILT_SOURCES += fcntl.h
225
226 # We need the following in order to create <fcntl.h> when the system
227 # doesn't have one that works with the given compiler.
228 fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
229         $(AM_V_GEN)rm -f $@-t $@ && \
230         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
231           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
232               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
233               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
234               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
235               -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
236               -e 's/@''GNULIB_CREAT''@/$(GNULIB_CREAT)/g' \
237               -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \
238               -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \
239               -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \
240               -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \
241               -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
242               -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
243               -e 's|@''REPLACE_CREAT''@|$(REPLACE_CREAT)|g' \
244               -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
245               -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
246               -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
247               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
248               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
249               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
250               < $(srcdir)/fcntl.in.h; \
251         } > $@-t && \
252         mv $@-t $@
253 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
254
255 EXTRA_DIST += fcntl.in.h
256
257 ## end   gnulib module fcntl-h
258
259 ## begin gnulib module fd-hook
260
261 libgnu_a_SOURCES += fd-hook.c
262
263 EXTRA_DIST += fd-hook.h
264
265 ## end   gnulib module fd-hook
266
267 ## begin gnulib module filename
268
269
270 EXTRA_DIST += filename.h
271
272 ## end   gnulib module filename
273
274 ## begin gnulib module findprog-in
275
276 libgnu_a_SOURCES += findprog.h findprog-in.c
277
278 ## end   gnulib module findprog-in
279
280 ## begin gnulib module getdtablesize
281
282
283 EXTRA_DIST += getdtablesize.c
284
285 EXTRA_libgnu_a_SOURCES += getdtablesize.c
286
287 ## end   gnulib module getdtablesize
288
289 ## begin gnulib module getloadavg
290
291
292 EXTRA_DIST += getloadavg.c
293
294 EXTRA_libgnu_a_SOURCES += getloadavg.c
295
296 ## end   gnulib module getloadavg
297
298 ## begin gnulib module getprogname
299
300 libgnu_a_SOURCES += getprogname.h getprogname.c
301
302 ## end   gnulib module getprogname
303
304 ## begin gnulib module gettext-h
305
306 libgnu_a_SOURCES += gettext.h
307
308 ## end   gnulib module gettext-h
309
310 ## begin gnulib module intprops
311
312
313 EXTRA_DIST += intprops.h
314
315 ## end   gnulib module intprops
316
317 ## begin gnulib module limits-h
318
319 BUILT_SOURCES += $(LIMITS_H)
320
321 # We need the following in order to create <limits.h> when the system
322 # doesn't have one that is compatible with GNU.
323 if GL_GENERATE_LIMITS_H
324 limits.h: limits.in.h $(top_builddir)/config.status
325         $(AM_V_GEN)rm -f $@-t $@ && \
326         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
327           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
328               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
329               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
330               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
331               -e 's|@''NEXT_LIMITS_H''@|$(NEXT_LIMITS_H)|g' \
332               < $(srcdir)/limits.in.h; \
333         } > $@-t && \
334         mv $@-t $@
335 else
336 limits.h: $(top_builddir)/config.status
337         rm -f $@
338 endif
339 MOSTLYCLEANFILES += limits.h limits.h-t
340
341 EXTRA_DIST += limits.in.h
342
343 ## end   gnulib module limits-h
344
345 ## begin gnulib module make-glob
346
347 if !USE_SYSTEM_GLOB
348 libgnu_a_SOURCES += fnmatch.c
349
350 BUILT_SOURCES += fnmatch.h
351
352 fnmatch.h: fnmatch.in.h $(top_builddir)/config.status
353         $(AM_V_GEN)rm -f $@-t $@ && \
354         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
355           cat $(srcdir)/fnmatch.in.h; \
356         } > $@-t && \
357         mv -f $@-t $@
358
359 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
360
361 libgnu_a_SOURCES += glob.c
362
363 BUILT_SOURCES += glob.h
364
365 glob.h: glob.in.h $(top_builddir)/config.status
366         $(AM_V_GEN)rm -f $@-t $@ && \
367         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
368           cat $(srcdir)/glob.in.h; \
369         } > $@-t && \
370         mv -f $@-t $@
371
372 MOSTLYCLEANFILES += glob.h glob.h-t
373 endif
374
375 EXTRA_DIST += fnmatch.in.h glob.in.h
376
377
378 ## end   gnulib module make-glob
379
380 ## begin gnulib module malloc-posix
381
382
383 EXTRA_DIST += malloc.c
384
385 EXTRA_libgnu_a_SOURCES += malloc.c
386
387 ## end   gnulib module malloc-posix
388
389 ## begin gnulib module msvc-inval
390
391
392 EXTRA_DIST += msvc-inval.c msvc-inval.h
393
394 EXTRA_libgnu_a_SOURCES += msvc-inval.c
395
396 ## end   gnulib module msvc-inval
397
398 ## begin gnulib module msvc-nothrow
399
400
401 EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h
402
403 EXTRA_libgnu_a_SOURCES += msvc-nothrow.c
404
405 ## end   gnulib module msvc-nothrow
406
407 ## begin gnulib module snippet/_Noreturn
408
409 # Because this Makefile snippet defines a variable used by other
410 # gnulib Makefile snippets, it must be present in all makefiles that
411 # need it. This is ensured by the applicability 'all' defined above.
412
413 _NORETURN_H=$(srcdir)/_Noreturn.h
414
415 EXTRA_DIST += _Noreturn.h
416
417 ## end   gnulib module snippet/_Noreturn
418
419 ## begin gnulib module snippet/arg-nonnull
420
421 # Because this Makefile snippet defines a variable used by other
422 # gnulib Makefile snippets, it must be present in all makefiles that
423 # need it. This is ensured by the applicability 'all' defined above.
424
425 ARG_NONNULL_H=$(srcdir)/arg-nonnull.h
426
427 EXTRA_DIST += arg-nonnull.h
428
429 ## end   gnulib module snippet/arg-nonnull
430
431 ## begin gnulib module snippet/c++defs
432
433 # Because this Makefile snippet defines a variable used by other
434 # gnulib Makefile snippets, it must be present in all makefiles that
435 # need it. This is ensured by the applicability 'all' defined above.
436
437 CXXDEFS_H=$(srcdir)/c++defs.h
438
439 EXTRA_DIST += c++defs.h
440
441 ## end   gnulib module snippet/c++defs
442
443 ## begin gnulib module snippet/warn-on-use
444
445 # Because this Makefile snippet defines a variable used by other
446 # gnulib Makefile snippets, it must be present in all makefiles that
447 # need it. This is ensured by the applicability 'all' defined above.
448
449 WARN_ON_USE_H=$(srcdir)/warn-on-use.h
450
451 EXTRA_DIST += warn-on-use.h
452
453 ## end   gnulib module snippet/warn-on-use
454
455 ## begin gnulib module stdbool
456
457 BUILT_SOURCES += $(STDBOOL_H)
458
459 # We need the following in order to create <stdbool.h> when the system
460 # doesn't have one that works.
461 if GL_GENERATE_STDBOOL_H
462 stdbool.h: stdbool.in.h $(top_builddir)/config.status
463         $(AM_V_GEN)rm -f $@-t $@ && \
464         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
465           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
466         } > $@-t && \
467         mv $@-t $@
468 else
469 stdbool.h: $(top_builddir)/config.status
470         rm -f $@
471 endif
472 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
473
474 EXTRA_DIST += stdbool.in.h
475
476 ## end   gnulib module stdbool
477
478 ## begin gnulib module stddef
479
480 BUILT_SOURCES += $(STDDEF_H)
481
482 # We need the following in order to create <stddef.h> when the system
483 # doesn't have one that works with the given compiler.
484 if GL_GENERATE_STDDEF_H
485 stddef.h: stddef.in.h $(top_builddir)/config.status
486         $(AM_V_GEN)rm -f $@-t $@ && \
487         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
488           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
489               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
490               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
491               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
492               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
493               -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \
494               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
495               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
496               < $(srcdir)/stddef.in.h; \
497         } > $@-t && \
498         mv $@-t $@
499 else
500 stddef.h: $(top_builddir)/config.status
501         rm -f $@
502 endif
503 MOSTLYCLEANFILES += stddef.h stddef.h-t
504
505 EXTRA_DIST += stddef.in.h
506
507 ## end   gnulib module stddef
508
509 ## begin gnulib module stdint
510
511 BUILT_SOURCES += $(STDINT_H)
512
513 # We need the following in order to create <stdint.h> when the system
514 # doesn't have one that works with the given compiler.
515 if GL_GENERATE_STDINT_H
516 stdint.h: stdint.in.h $(top_builddir)/config.status
517         $(AM_V_GEN)rm -f $@-t $@ && \
518         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
519           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
520               -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
521               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
522               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
523               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
524               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
525               -e 's/@''HAVE_C99_STDINT_H''@/$(HAVE_C99_STDINT_H)/g' \
526               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
527               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
528               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
529               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
530               -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
531               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
532               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
533               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
534               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
535               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
536               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
537               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
538               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
539               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
540               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
541               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
542               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
543               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
544               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
545               -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \
546               < $(srcdir)/stdint.in.h; \
547         } > $@-t && \
548         mv $@-t $@
549 else
550 stdint.h: $(top_builddir)/config.status
551         rm -f $@
552 endif
553 MOSTLYCLEANFILES += stdint.h stdint.h-t
554
555 EXTRA_DIST += stdint.in.h
556
557 ## end   gnulib module stdint
558
559 ## begin gnulib module stdio
560
561 BUILT_SOURCES += stdio.h
562
563 # We need the following in order to create <stdio.h> when the system
564 # doesn't have one that works with the given compiler.
565 stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
566         $(AM_V_GEN)rm -f $@-t $@ && \
567         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
568           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
569               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
570               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
571               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
572               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
573               -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
574               -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
575               -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
576               -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
577               -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
578               -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
579               -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
580               -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
581               -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
582               -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
583               -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
584               -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
585               -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
586               -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
587               -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
588               -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
589               -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
590               -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
591               -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
592               -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
593               -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
594               -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
595               -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
596               -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
597               -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
598               -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
599               -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
600               -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
601               -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
602               -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
603               -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
604               -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
605               -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
606               -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
607               -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
608               -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
609               -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
610               -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
611               -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
612               -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
613               -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
614               -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
615               -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
616               -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
617               -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
618               -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
619               -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
620               -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
621               -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
622               -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
623               -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
624               -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
625               -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
626               < $(srcdir)/stdio.in.h | \
627           sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
628               -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
629               -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
630               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
631               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
632               -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
633               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
634               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
635               -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
636               -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
637               -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
638               -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
639               -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
640               -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
641               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
642               -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
643               -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
644               -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
645               -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
646               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
647               -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
648               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
649               -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
650               -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
651               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
652               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
653               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
654               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
655               -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
656               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
657               -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
658               -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
659               -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
660               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
661               -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
662               -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
663               -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
664               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
665               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
666               -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
667               -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
668               -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
669               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
670               -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
671               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
672               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
673               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
674               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
675               -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
676               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
677               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
678               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
679         } > $@-t && \
680         mv $@-t $@
681 MOSTLYCLEANFILES += stdio.h stdio.h-t
682
683 EXTRA_DIST += stdio.in.h
684
685 ## end   gnulib module stdio
686
687 ## begin gnulib module stdlib
688
689 BUILT_SOURCES += stdlib.h
690
691 # We need the following in order to create <stdlib.h> when the system
692 # doesn't have one that works with the given compiler.
693 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
694   $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
695         $(AM_V_GEN)rm -f $@-t $@ && \
696         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
697           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
698               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
699               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
700               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
701               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
702               -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
703               -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
704               -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
705               -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
706               -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
707               -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
708               -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
709               -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
710               -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
711               -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
712               -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
713               -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
714               -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
715               -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
716               -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
717               -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
718               -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
719               -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
720               -e 's/@''GNULIB_QSORT_R''@/$(GNULIB_QSORT_R)/g' \
721               -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
722               -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
723               -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
724               -e 's/@''GNULIB_REALLOCARRAY''@/$(GNULIB_REALLOCARRAY)/g' \
725               -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
726               -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
727               -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
728               -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
729               -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
730               -e 's/@''GNULIB_STRTOLD''@/$(GNULIB_STRTOLD)/g' \
731               -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
732               -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
733               -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
734               -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
735               -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
736               -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
737               < $(srcdir)/stdlib.in.h | \
738           sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
739               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
740               -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
741               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
742               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
743               -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
744               -e 's|@''HAVE_INITSTATE''@|$(HAVE_INITSTATE)|g' \
745               -e 's|@''HAVE_DECL_INITSTATE''@|$(HAVE_DECL_INITSTATE)|g' \
746               -e 's|@''HAVE_MBTOWC''@|$(HAVE_MBTOWC)|g' \
747               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
748               -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
749               -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
750               -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
751               -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
752               -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
753               -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
754               -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
755               -e 's|@''HAVE_QSORT_R''@|$(HAVE_QSORT_R)|g' \
756               -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
757               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
758               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
759               -e 's|@''HAVE_REALLOCARRAY''@|$(HAVE_REALLOCARRAY)|g' \
760               -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
761               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
762               -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
763               -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
764               -e 's|@''HAVE_SETSTATE''@|$(HAVE_SETSTATE)|g' \
765               -e 's|@''HAVE_DECL_SETSTATE''@|$(HAVE_DECL_SETSTATE)|g' \
766               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
767               -e 's|@''HAVE_STRTOLD''@|$(HAVE_STRTOLD)|g' \
768               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
769               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
770               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
771               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
772               -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
773               -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
774               -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
775               -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
776               -e 's|@''REPLACE_INITSTATE''@|$(REPLACE_INITSTATE)|g' \
777               -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
778               -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
779               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
780               -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
781               -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
782               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
783               -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \
784               -e 's|@''REPLACE_RANDOM''@|$(REPLACE_RANDOM)|g' \
785               -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
786               -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
787               -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
788               -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
789               -e 's|@''REPLACE_SETSTATE''@|$(REPLACE_SETSTATE)|g' \
790               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
791               -e 's|@''REPLACE_STRTOLD''@|$(REPLACE_STRTOLD)|g' \
792               -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
793               -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
794               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
795               -e '/definition of _Noreturn/r $(_NORETURN_H)' \
796               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
797               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
798         } > $@-t && \
799         mv $@-t $@
800 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
801
802 EXTRA_DIST += stdlib.in.h
803
804 ## end   gnulib module stdlib
805
806 ## begin gnulib module stpcpy
807
808
809 EXTRA_DIST += stpcpy.c
810
811 EXTRA_libgnu_a_SOURCES += stpcpy.c
812
813 ## end   gnulib module stpcpy
814
815 ## begin gnulib module strerror
816
817
818 EXTRA_DIST += strerror.c
819
820 EXTRA_libgnu_a_SOURCES += strerror.c
821
822 ## end   gnulib module strerror
823
824 ## begin gnulib module strerror-override
825
826
827 EXTRA_DIST += strerror-override.c strerror-override.h
828
829 EXTRA_libgnu_a_SOURCES += strerror-override.c
830
831 ## end   gnulib module strerror-override
832
833 ## begin gnulib module string
834
835 BUILT_SOURCES += string.h
836
837 # We need the following in order to create <string.h> when the system
838 # doesn't have one that works with the given compiler.
839 string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
840         $(AM_V_GEN)rm -f $@-t $@ && \
841         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
842           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
843               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
844               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
845               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
846               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
847               -e 's/@''GNULIB_EXPLICIT_BZERO''@/$(GNULIB_EXPLICIT_BZERO)/g' \
848               -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
849               -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
850               -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
851               -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
852               -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
853               -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
854               -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
855               -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
856               -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
857               -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
858               -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
859               -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
860               -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
861               -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
862               -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
863               -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
864               -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
865               -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
866               -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
867               -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
868               -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
869               -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
870               -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
871               -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
872               -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
873               -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
874               -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
875               -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
876               -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
877               -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
878               -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
879               -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
880               -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
881               -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
882               -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
883               -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
884               -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
885               < $(srcdir)/string.in.h | \
886           sed -e 's|@''HAVE_EXPLICIT_BZERO''@|$(HAVE_EXPLICIT_BZERO)|g' \
887               -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
888               -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
889               -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
890               -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
891               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
892               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
893               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
894               -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
895               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
896               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
897               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
898               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
899               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
900               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
901               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
902               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
903               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
904               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
905               -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
906               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
907               -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
908               -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
909               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
910               -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
911               -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
912               -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
913               -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
914               -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
915               -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
916               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
917               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
918               -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
919               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
920               -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
921               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
922               -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
923               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
924               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
925               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
926               < $(srcdir)/string.in.h; \
927         } > $@-t && \
928         mv $@-t $@
929 MOSTLYCLEANFILES += string.h string.h-t
930
931 EXTRA_DIST += string.in.h
932
933 ## end   gnulib module string
934
935 ## begin gnulib module sys_types
936
937 BUILT_SOURCES += sys/types.h
938
939 # We need the following in order to create <sys/types.h> when the system
940 # doesn't have one that works with the given compiler.
941 sys/types.h: sys_types.in.h $(top_builddir)/config.status
942         $(AM_V_at)$(MKDIR_P) sys
943         $(AM_V_GEN)rm -f $@-t $@ && \
944         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
945           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
946               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
947               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
948               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
949               -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
950               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
951               -e 's|@''WINDOWS_STAT_INODES''@|$(WINDOWS_STAT_INODES)|g' \
952               < $(srcdir)/sys_types.in.h; \
953         } > $@-t && \
954         mv $@-t $@
955 MOSTLYCLEANFILES += sys/types.h sys/types.h-t
956
957 EXTRA_DIST += sys_types.in.h
958
959 ## end   gnulib module sys_types
960
961 ## begin gnulib module unistd
962
963 BUILT_SOURCES += unistd.h
964 libgnu_a_SOURCES += unistd.c
965
966 # We need the following in order to create an empty placeholder for
967 # <unistd.h> when the system doesn't have one.
968 unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
969         $(AM_V_GEN)rm -f $@-t $@ && \
970         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
971           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
972               -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
973               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
974               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
975               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
976               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
977               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
978               -e 's/@''GNULIB_ACCESS''@/$(GNULIB_ACCESS)/g' \
979               -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
980               -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
981               -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
982               -e 's/@''GNULIB_COPY_FILE_RANGE''@/$(GNULIB_COPY_FILE_RANGE)/g' \
983               -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
984               -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
985               -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
986               -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
987               -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
988               -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
989               -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
990               -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
991               -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
992               -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
993               -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
994               -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
995               -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
996               -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
997               -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
998               -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
999               -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
1000               -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
1001               -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
1002               -e 's/@''GNULIB_GETPASS''@/$(GNULIB_GETPASS)/g' \
1003               -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
1004               -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
1005               -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
1006               -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
1007               -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
1008               -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
1009               -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
1010               -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
1011               -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
1012               -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
1013               -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
1014               -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
1015               -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
1016               -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
1017               -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
1018               -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
1019               -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
1020               -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
1021               -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
1022               -e 's/@''GNULIB_TRUNCATE''@/$(GNULIB_TRUNCATE)/g' \
1023               -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
1024               -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
1025               -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
1026               -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
1027               -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
1028               -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
1029               -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
1030               -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
1031               < $(srcdir)/unistd.in.h | \
1032           sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1033               -e 's|@''HAVE_COPY_FILE_RANGE''@|$(HAVE_COPY_FILE_RANGE)|g' \
1034               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1035               -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1036               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1037               -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1038               -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1039               -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1040               -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
1041               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1042               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1043               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1044               -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1045               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1046               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1047               -e 's|@''HAVE_GETPASS''@|$(HAVE_GETPASS)|g' \
1048               -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
1049               -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1050               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1051               -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1052               -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
1053               -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1054               -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1055               -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1056               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1057               -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1058               -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
1059               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1060               -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1061               -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1062               -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1063               -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1064               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1065               -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
1066               -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
1067               -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
1068               -e 's|@''HAVE_DECL_GETLOGIN''@|$(HAVE_DECL_GETLOGIN)|g' \
1069               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1070               -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1071               -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
1072               -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
1073               -e 's|@''HAVE_DECL_TRUNCATE''@|$(HAVE_DECL_TRUNCATE)|g' \
1074               -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
1075               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1076               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1077           | \
1078           sed -e 's|@''REPLACE_ACCESS''@|$(REPLACE_ACCESS)|g' \
1079               -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1080               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1081               -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1082               -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1083               -e 's|@''REPLACE_FACCESSAT''@|$(REPLACE_FACCESSAT)|g' \
1084               -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1085               -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
1086               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1087               -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
1088               -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \
1089               -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
1090               -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1091               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1092               -e 's|@''REPLACE_GETPASS''@|$(REPLACE_GETPASS)|g' \
1093               -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
1094               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1095               -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1096               -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1097               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1098               -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1099               -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
1100               -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
1101               -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1102               -e 's|@''REPLACE_READLINKAT''@|$(REPLACE_READLINKAT)|g' \
1103               -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1104               -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1105               -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1106               -e 's|@''REPLACE_SYMLINKAT''@|$(REPLACE_SYMLINKAT)|g' \
1107               -e 's|@''REPLACE_TRUNCATE''@|$(REPLACE_TRUNCATE)|g' \
1108               -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
1109               -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1110               -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1111               -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1112               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1113               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1114               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1115               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1116               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1117               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1118         } > $@-t && \
1119         mv $@-t $@
1120 MOSTLYCLEANFILES += unistd.h unistd.h-t
1121
1122 EXTRA_DIST += unistd.in.h
1123
1124 ## end   gnulib module unistd
1125
1126 ## begin gnulib module verify
1127
1128
1129 EXTRA_DIST += verify.h
1130
1131 ## end   gnulib module verify
1132
1133 ## begin gnulib module xalloc
1134
1135 libgnu_a_SOURCES += xmalloc.c
1136
1137 EXTRA_DIST += xalloc.h
1138
1139 ## end   gnulib module xalloc
1140
1141 ## begin gnulib module xalloc-die
1142
1143 libgnu_a_SOURCES += xalloc-die.c
1144
1145 ## end   gnulib module xalloc-die
1146
1147 ## begin gnulib module xalloc-oversized
1148
1149
1150 EXTRA_DIST += xalloc-oversized.h
1151
1152 ## end   gnulib module xalloc-oversized
1153
1154 ## begin gnulib module xconcat-filename
1155
1156 libgnu_a_SOURCES += xconcat-filename.c
1157
1158 EXTRA_DIST += concat-filename.h
1159
1160 ## end   gnulib module xconcat-filename
1161
1162
1163 mostlyclean-local: mostlyclean-generic
1164         @for dir in '' $(MOSTLYCLEANDIRS); do \
1165           if test -n "$$dir" && test -d $$dir; then \
1166             echo "rmdir $$dir"; rmdir $$dir; \
1167           fi; \
1168         done; \
1169         :