Imported Upstream version 4.13
[platform/upstream/libtasn1.git] / gl / Makefile.am
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2017 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 <http://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: gnulib-tool --import --local-dir=gl/override --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --libtool --macro-prefix=gl --no-vc-files autobuild fdl-1.3 gendocs getopt-gnu gettime gnupload maintainer-makefile manywarnings pmccabe2html progname read-file stdint update-copyright valgrind-tests version-etc-fsf warnings
25
26 AUTOMAKE_OPTIONS = 1.9.6 gnits
27
28 SUBDIRS =
29 noinst_HEADERS =
30 noinst_LIBRARIES =
31 noinst_LTLIBRARIES =
32 EXTRA_DIST =
33 BUILT_SOURCES =
34 SUFFIXES =
35 MOSTLYCLEANFILES = core *.stackdump
36 MOSTLYCLEANDIRS =
37 CLEANFILES =
38 DISTCLEANFILES =
39 MAINTAINERCLEANFILES =
40 EXTRA_DIST += m4/gnulib-cache.m4
41
42 AM_CPPFLAGS =
43 AM_CFLAGS =
44
45 noinst_LTLIBRARIES += libgnu.la
46
47 libgnu_la_SOURCES =
48 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
49 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
50 EXTRA_libgnu_la_SOURCES =
51 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
52 libgnu_la_LDFLAGS += -no-undefined
53 libgnu_la_LDFLAGS += $(LIB_CLOCK_GETTIME)
54 libgnu_la_LDFLAGS += $(LTLIBINTL)
55
56 ## begin gnulib module absolute-header
57
58 # Use this preprocessor expression to decide whether #include_next works.
59 # Do not rely on a 'configure'-time test for this, since the expression
60 # might appear in an installed header, which is used by some other compiler.
61 HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
62
63 ## end   gnulib module absolute-header
64
65 ## begin gnulib module errno
66
67 BUILT_SOURCES += $(ERRNO_H)
68
69 # We need the following in order to create <errno.h> when the system
70 # doesn't have one that is POSIX compliant.
71 if GL_GENERATE_ERRNO_H
72 errno.h: errno.in.h $(top_builddir)/config.status
73         $(AM_V_GEN)rm -f $@-t $@ && \
74         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
75           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
76               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
77               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
78               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
79               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
80               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
81               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
82               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
83               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
84               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
85               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
86               < $(srcdir)/errno.in.h; \
87         } > $@-t && \
88         mv $@-t $@
89 else
90 errno.h: $(top_builddir)/config.status
91         rm -f $@
92 endif
93 MOSTLYCLEANFILES += errno.h errno.h-t
94
95 EXTRA_DIST += errno.in.h
96
97 ## end   gnulib module errno
98
99 ## begin gnulib module fstat
100
101
102 EXTRA_DIST += fstat.c
103
104 EXTRA_libgnu_la_SOURCES += fstat.c
105
106 ## end   gnulib module fstat
107
108 ## begin gnulib module ftell
109
110
111 EXTRA_DIST += ftell.c
112
113 EXTRA_libgnu_la_SOURCES += ftell.c
114
115 ## end   gnulib module ftell
116
117 ## begin gnulib module ftello
118
119
120 EXTRA_DIST += ftello.c stdio-impl.h
121
122 EXTRA_libgnu_la_SOURCES += ftello.c
123
124 ## end   gnulib module ftello
125
126 ## begin gnulib module gendocs
127
128
129 EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
130
131 ## end   gnulib module gendocs
132
133 ## begin gnulib module getopt-posix
134
135 BUILT_SOURCES += $(GETOPT_H)
136
137 # We need the following in order to create <getopt.h> when the system
138 # doesn't have one that works with the given compiler.
139 getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
140         $(AM_V_GEN)rm -f $@-t $@ && \
141         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
142           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
143               -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
144               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
145               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
146               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
147               -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
148               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
149               < $(srcdir)/getopt.in.h; \
150         } > $@-t && \
151         mv -f $@-t $@
152 MOSTLYCLEANFILES += getopt.h getopt.h-t
153
154 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
155
156 EXTRA_libgnu_la_SOURCES += getopt.c getopt1.c
157
158 ## end   gnulib module getopt-posix
159
160 ## begin gnulib module gettext-h
161
162 libgnu_la_SOURCES += gettext.h
163
164 ## end   gnulib module gettext-h
165
166 ## begin gnulib module gettime
167
168 libgnu_la_SOURCES += gettime.c
169
170 ## end   gnulib module gettime
171
172 ## begin gnulib module gettimeofday
173
174
175 EXTRA_DIST += gettimeofday.c
176
177 EXTRA_libgnu_la_SOURCES += gettimeofday.c
178
179 ## end   gnulib module gettimeofday
180
181 ## begin gnulib module gnumakefile
182
183 distclean-local: clean-GNUmakefile
184 clean-GNUmakefile:
185         test '$(srcdir)' = . || rm -f $(top_builddir)/GNUmakefile
186
187 EXTRA_DIST += $(top_srcdir)/GNUmakefile
188
189 ## end   gnulib module gnumakefile
190
191 ## begin gnulib module gnupload
192
193
194 EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
195
196 ## end   gnulib module gnupload
197
198 ## begin gnulib module limits-h
199
200 BUILT_SOURCES += $(LIMITS_H)
201
202 # We need the following in order to create <limits.h> when the system
203 # doesn't have one that is compatible with GNU.
204 if GL_GENERATE_LIMITS_H
205 limits.h: limits.in.h $(top_builddir)/config.status
206         $(AM_V_GEN)rm -f $@-t $@ && \
207         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
208           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
209               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
210               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
211               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
212               -e 's|@''NEXT_LIMITS_H''@|$(NEXT_LIMITS_H)|g' \
213               < $(srcdir)/limits.in.h; \
214         } > $@-t && \
215         mv $@-t $@
216 else
217 limits.h: $(top_builddir)/config.status
218         rm -f $@
219 endif
220 MOSTLYCLEANFILES += limits.h limits.h-t
221
222 EXTRA_DIST += limits.in.h
223
224 ## end   gnulib module limits-h
225
226 ## begin gnulib module lseek
227
228
229 EXTRA_DIST += lseek.c
230
231 EXTRA_libgnu_la_SOURCES += lseek.c
232
233 ## end   gnulib module lseek
234
235 ## begin gnulib module maintainer-makefile
236
237 EXTRA_DIST += $(top_srcdir)/maint.mk
238
239 ## end   gnulib module maintainer-makefile
240
241 ## begin gnulib module malloc-posix
242
243
244 EXTRA_DIST += malloc.c
245
246 EXTRA_libgnu_la_SOURCES += malloc.c
247
248 ## end   gnulib module malloc-posix
249
250 ## begin gnulib module msvc-inval
251
252
253 EXTRA_DIST += msvc-inval.c msvc-inval.h
254
255 EXTRA_libgnu_la_SOURCES += msvc-inval.c
256
257 ## end   gnulib module msvc-inval
258
259 ## begin gnulib module msvc-nothrow
260
261
262 EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h
263
264 EXTRA_libgnu_la_SOURCES += msvc-nothrow.c
265
266 ## end   gnulib module msvc-nothrow
267
268 ## begin gnulib module pmccabe2html
269
270
271 EXTRA_DIST += $(top_srcdir)/build-aux/pmccabe2html $(top_srcdir)/build-aux/pmccabe.css
272
273 ## end   gnulib module pmccabe2html
274
275 ## begin gnulib module progname
276
277 libgnu_la_SOURCES += progname.h progname.c
278
279 ## end   gnulib module progname
280
281 ## begin gnulib module read-file
282
283 libgnu_la_SOURCES += read-file.c
284
285 EXTRA_DIST += read-file.h
286
287 ## end   gnulib module read-file
288
289 ## begin gnulib module realloc-posix
290
291
292 EXTRA_DIST += realloc.c
293
294 EXTRA_libgnu_la_SOURCES += realloc.c
295
296 ## end   gnulib module realloc-posix
297
298 ## begin gnulib module snippet/_Noreturn
299
300 # Because this Makefile snippet defines a variable used by other
301 # gnulib Makefile snippets, it must be present in all Makefile.am that
302 # need it. This is ensured by the applicability 'all' defined above.
303
304 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
305
306 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
307
308 ## end   gnulib module snippet/_Noreturn
309
310 ## begin gnulib module snippet/arg-nonnull
311
312 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
313 # statements but through direct file reference. Therefore this snippet must be
314 # present in all Makefile.am that need it. This is ensured by the applicability
315 # 'all' defined above.
316
317 BUILT_SOURCES += arg-nonnull.h
318 # The arg-nonnull.h that gets inserted into generated .h files is the same as
319 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
320 # off.
321 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
322         $(AM_V_GEN)rm -f $@-t $@ && \
323         sed -n -e '/GL_ARG_NONNULL/,$$p' \
324           < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
325           > $@-t && \
326         mv $@-t $@
327 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
328
329 ARG_NONNULL_H=arg-nonnull.h
330
331 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
332
333 ## end   gnulib module snippet/arg-nonnull
334
335 ## begin gnulib module snippet/c++defs
336
337 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
338 # statements but through direct file reference. Therefore this snippet must be
339 # present in all Makefile.am that need it. This is ensured by the applicability
340 # 'all' defined above.
341
342 BUILT_SOURCES += c++defs.h
343 # The c++defs.h that gets inserted into generated .h files is the same as
344 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
345 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
346         $(AM_V_GEN)rm -f $@-t $@ && \
347         sed -n -e '/_GL_CXXDEFS/,$$p' \
348           < $(top_srcdir)/build-aux/snippet/c++defs.h \
349           > $@-t && \
350         mv $@-t $@
351 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
352
353 CXXDEFS_H=c++defs.h
354
355 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
356
357 ## end   gnulib module snippet/c++defs
358
359 ## begin gnulib module snippet/warn-on-use
360
361 BUILT_SOURCES += warn-on-use.h
362 # The warn-on-use.h that gets inserted into generated .h files is the same as
363 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
364 # off.
365 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
366         $(AM_V_GEN)rm -f $@-t $@ && \
367         sed -n -e '/^.ifndef/,$$p' \
368           < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
369           > $@-t && \
370         mv $@-t $@
371 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
372
373 WARN_ON_USE_H=warn-on-use.h
374
375 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
376
377 ## end   gnulib module snippet/warn-on-use
378
379 ## begin gnulib module stdarg
380
381 BUILT_SOURCES += $(STDARG_H)
382
383 # We need the following in order to create <stdarg.h> when the system
384 # doesn't have one that works with the given compiler.
385 if GL_GENERATE_STDARG_H
386 stdarg.h: stdarg.in.h $(top_builddir)/config.status
387         $(AM_V_GEN)rm -f $@-t $@ && \
388         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
389           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
390               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
391               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
392               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
393               -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
394               < $(srcdir)/stdarg.in.h; \
395         } > $@-t && \
396         mv $@-t $@
397 else
398 stdarg.h: $(top_builddir)/config.status
399         rm -f $@
400 endif
401 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
402
403 EXTRA_DIST += stdarg.in.h
404
405 ## end   gnulib module stdarg
406
407 ## begin gnulib module stddef
408
409 BUILT_SOURCES += $(STDDEF_H)
410
411 # We need the following in order to create <stddef.h> when the system
412 # doesn't have one that works with the given compiler.
413 if GL_GENERATE_STDDEF_H
414 stddef.h: stddef.in.h $(top_builddir)/config.status
415         $(AM_V_GEN)rm -f $@-t $@ && \
416         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
417           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
418               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
419               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
420               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
421               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
422               -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \
423               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
424               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
425               < $(srcdir)/stddef.in.h; \
426         } > $@-t && \
427         mv $@-t $@
428 else
429 stddef.h: $(top_builddir)/config.status
430         rm -f $@
431 endif
432 MOSTLYCLEANFILES += stddef.h stddef.h-t
433
434 EXTRA_DIST += stddef.in.h
435
436 ## end   gnulib module stddef
437
438 ## begin gnulib module stdint
439
440 BUILT_SOURCES += $(STDINT_H)
441
442 # We need the following in order to create <stdint.h> when the system
443 # doesn't have one that works with the given compiler.
444 if GL_GENERATE_STDINT_H
445 stdint.h: stdint.in.h $(top_builddir)/config.status
446         $(AM_V_GEN)rm -f $@-t $@ && \
447         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
448           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
449               -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
450               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
451               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
452               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
453               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
454               -e 's/@''HAVE_C99_STDINT_H''@/$(HAVE_C99_STDINT_H)/g' \
455               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
456               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
457               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
458               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
459               -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
460               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
461               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
462               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
463               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
464               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
465               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
466               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
467               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
468               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
469               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
470               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
471               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
472               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
473               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
474               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
475               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
476               -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \
477               < $(srcdir)/stdint.in.h; \
478         } > $@-t && \
479         mv $@-t $@
480 else
481 stdint.h: $(top_builddir)/config.status
482         rm -f $@
483 endif
484 MOSTLYCLEANFILES += stdint.h stdint.h-t
485
486 EXTRA_DIST += stdint.in.h
487
488 ## end   gnulib module stdint
489
490 ## begin gnulib module stdio
491
492 BUILT_SOURCES += stdio.h
493
494 # We need the following in order to create <stdio.h> when the system
495 # doesn't have one that works with the given compiler.
496 stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
497         $(AM_V_GEN)rm -f $@-t $@ && \
498         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
499           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
500               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
501               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
502               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
503               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
504               -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
505               -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
506               -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
507               -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
508               -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
509               -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
510               -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
511               -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
512               -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
513               -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
514               -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
515               -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
516               -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
517               -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
518               -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
519               -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
520               -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
521               -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
522               -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
523               -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
524               -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
525               -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
526               -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
527               -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
528               -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
529               -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
530               -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
531               -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
532               -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
533               -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
534               -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
535               -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
536               -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
537               -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
538               -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
539               -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
540               -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
541               -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
542               -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
543               -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
544               -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
545               -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
546               -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
547               -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
548               -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
549               -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
550               -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
551               -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
552               -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
553               -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
554               -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
555               -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
556               -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
557               < $(srcdir)/stdio.in.h | \
558           sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
559               -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
560               -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
561               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
562               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
563               -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
564               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
565               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
566               -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
567               -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
568               -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
569               -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
570               -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
571               -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
572               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
573               -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
574               -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
575               -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
576               -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
577               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
578               -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
579               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
580               -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
581               -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
582               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
583               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
584               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
585               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
586               -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
587               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
588               -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
589               -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
590               -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
591               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
592               -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
593               -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
594               -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
595               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
596               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
597               -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
598               -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
599               -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
600               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
601               -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
602               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
603               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
604               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
605               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
606               -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
607               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
608               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
609               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
610         } > $@-t && \
611         mv $@-t $@
612 MOSTLYCLEANFILES += stdio.h stdio.h-t
613
614 EXTRA_DIST += stdio.in.h
615
616 ## end   gnulib module stdio
617
618 ## begin gnulib module stdlib
619
620 BUILT_SOURCES += stdlib.h
621
622 # We need the following in order to create <stdlib.h> when the system
623 # doesn't have one that works with the given compiler.
624 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
625   $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
626         $(AM_V_GEN)rm -f $@-t $@ && \
627         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
628           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
629               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
630               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
631               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
632               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
633               -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
634               -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
635               -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
636               -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
637               -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
638               -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
639               -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
640               -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
641               -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
642               -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
643               -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
644               -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
645               -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
646               -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
647               -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
648               -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
649               -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
650               -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
651               -e 's/@''GNULIB_QSORT_R''@/$(GNULIB_QSORT_R)/g' \
652               -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
653               -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
654               -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
655               -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
656               -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
657               -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
658               -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
659               -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
660               -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
661               -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
662               -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
663               -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
664               -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
665               -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
666               < $(srcdir)/stdlib.in.h | \
667           sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
668               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
669               -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
670               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
671               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
672               -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
673               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
674               -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
675               -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
676               -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
677               -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
678               -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
679               -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
680               -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
681               -e 's|@''HAVE_QSORT_R''@|$(HAVE_QSORT_R)|g' \
682               -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
683               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
684               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
685               -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
686               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
687               -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
688               -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
689               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
690               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
691               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
692               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
693               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
694               -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
695               -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
696               -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
697               -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
698               -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
699               -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
700               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
701               -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
702               -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
703               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
704               -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \
705               -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
706               -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
707               -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
708               -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
709               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
710               -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
711               -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
712               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
713               -e '/definition of _Noreturn/r $(_NORETURN_H)' \
714               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
715               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
716         } > $@-t && \
717         mv $@-t $@
718 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
719
720 EXTRA_DIST += stdlib.in.h
721
722 ## end   gnulib module stdlib
723
724 ## begin gnulib module sys_stat
725
726 BUILT_SOURCES += sys/stat.h
727
728 # We need the following in order to create <sys/stat.h> when the system
729 # has one that is incomplete.
730 sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
731         $(AM_V_at)$(MKDIR_P) sys
732         $(AM_V_GEN)rm -f $@-t $@ && \
733         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
734           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
735               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
736               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
737               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
738               -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
739               -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
740               -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
741               -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
742               -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
743               -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
744               -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
745               -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
746               -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
747               -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
748               -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
749               -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
750               -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
751               -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
752               -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
753               -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
754               -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
755               -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
756               -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
757               -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
758               -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
759               -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
760               -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
761               -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
762               -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
763               -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
764               -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
765               -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
766               -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
767               -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
768               -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
769               -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
770               -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
771               -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
772               -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
773               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
774               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
775               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
776               < $(srcdir)/sys_stat.in.h; \
777         } > $@-t && \
778         mv $@-t $@
779 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
780 MOSTLYCLEANDIRS += sys
781
782 EXTRA_DIST += sys_stat.in.h
783
784 ## end   gnulib module sys_stat
785
786 ## begin gnulib module sys_time
787
788 BUILT_SOURCES += sys/time.h
789
790 # We need the following in order to create <sys/time.h> when the system
791 # doesn't have one that works with the given compiler.
792 sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
793         $(AM_V_at)$(MKDIR_P) sys
794         $(AM_V_GEN)rm -f $@-t $@ && \
795         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
796           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
797               -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
798               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
799               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
800               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
801               -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
802               -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
803               -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
804               -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
805               -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
806               -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
807               -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \
808               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
809               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
810               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
811               < $(srcdir)/sys_time.in.h; \
812         } > $@-t && \
813         mv $@-t $@
814 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
815
816 EXTRA_DIST += sys_time.in.h
817
818 ## end   gnulib module sys_time
819
820 ## begin gnulib module sys_types
821
822 BUILT_SOURCES += sys/types.h
823
824 # We need the following in order to create <sys/types.h> when the system
825 # doesn't have one that works with the given compiler.
826 sys/types.h: sys_types.in.h $(top_builddir)/config.status
827         $(AM_V_at)$(MKDIR_P) sys
828         $(AM_V_GEN)rm -f $@-t $@ && \
829         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
830           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
831               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
832               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
833               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
834               -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
835               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
836               < $(srcdir)/sys_types.in.h; \
837         } > $@-t && \
838         mv $@-t $@
839 MOSTLYCLEANFILES += sys/types.h sys/types.h-t
840
841 EXTRA_DIST += sys_types.in.h
842
843 ## end   gnulib module sys_types
844
845 ## begin gnulib module time
846
847 BUILT_SOURCES += time.h
848
849 # We need the following in order to create <time.h> when the system
850 # doesn't have one that works with the given compiler.
851 time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
852         $(AM_V_GEN)rm -f $@-t $@ && \
853         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
854           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
855               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
856               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
857               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
858               -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
859               -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
860               -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
861               -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
862               -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
863               -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
864               -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
865               -e 's/@''GNULIB_TIME_RZ''@/$(GNULIB_TIME_RZ)/g' \
866               -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
867               -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
868               -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
869               -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
870               -e 's|@''HAVE_TIMEZONE_T''@|$(HAVE_TIMEZONE_T)|g' \
871               -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \
872               -e 's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \
873               -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
874               -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
875               -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
876               -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
877               -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
878               -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
879               -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
880               -e 's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|$(UNISTD_H_DEFINES_STRUCT_TIMESPEC)|g' \
881               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
882               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
883               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
884               < $(srcdir)/time.in.h; \
885         } > $@-t && \
886         mv $@-t $@
887 MOSTLYCLEANFILES += time.h time.h-t
888
889 EXTRA_DIST += time.in.h
890
891 ## end   gnulib module time
892
893 ## begin gnulib module timespec
894
895 libgnu_la_SOURCES += timespec.c
896
897 EXTRA_DIST += timespec.h
898
899 ## end   gnulib module timespec
900
901 ## begin gnulib module unistd
902
903 BUILT_SOURCES += unistd.h
904 libgnu_la_SOURCES += unistd.c
905
906 # We need the following in order to create an empty placeholder for
907 # <unistd.h> when the system doesn't have one.
908 unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
909         $(AM_V_GEN)rm -f $@-t $@ && \
910         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
911           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
912               -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
913               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
914               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
915               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
916               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
917               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
918               -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
919               -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
920               -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
921               -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
922               -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
923               -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
924               -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
925               -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
926               -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
927               -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
928               -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
929               -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
930               -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
931               -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
932               -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
933               -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
934               -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
935               -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
936               -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
937               -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
938               -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
939               -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
940               -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
941               -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
942               -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
943               -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
944               -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
945               -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
946               -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
947               -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
948               -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
949               -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
950               -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
951               -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
952               -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
953               -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
954               -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
955               -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
956               -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
957               -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
958               -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
959               -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
960               -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
961               -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
962               -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
963               -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
964               -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
965               -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
966               -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
967               < $(srcdir)/unistd.in.h | \
968           sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
969               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
970               -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
971               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
972               -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
973               -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
974               -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
975               -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
976               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
977               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
978               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
979               -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
980               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
981               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
982               -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
983               -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
984               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
985               -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
986               -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
987               -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
988               -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
989               -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
990               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
991               -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
992               -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
993               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
994               -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
995               -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
996               -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
997               -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
998               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
999               -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
1000               -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
1001               -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
1002               -e 's|@''HAVE_DECL_GETLOGIN''@|$(HAVE_DECL_GETLOGIN)|g' \
1003               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1004               -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1005               -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
1006               -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
1007               -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
1008               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1009               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1010           | \
1011           sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1012               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1013               -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1014               -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1015               -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1016               -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
1017               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1018               -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
1019               -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \
1020               -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
1021               -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1022               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1023               -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
1024               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1025               -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1026               -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1027               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1028               -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1029               -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
1030               -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
1031               -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1032               -e 's|@''REPLACE_READLINKAT''@|$(REPLACE_READLINKAT)|g' \
1033               -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1034               -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1035               -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1036               -e 's|@''REPLACE_SYMLINKAT''@|$(REPLACE_SYMLINKAT)|g' \
1037               -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
1038               -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1039               -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1040               -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1041               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1042               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1043               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1044               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1045               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1046               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1047         } > $@-t && \
1048         mv $@-t $@
1049 MOSTLYCLEANFILES += unistd.h unistd.h-t
1050
1051 EXTRA_DIST += unistd.in.h
1052
1053 ## end   gnulib module unistd
1054
1055 ## begin gnulib module update-copyright
1056
1057
1058 EXTRA_DIST += $(top_srcdir)/build-aux/update-copyright
1059
1060 ## end   gnulib module update-copyright
1061
1062 ## begin gnulib module useless-if-before-free
1063
1064
1065 EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
1066
1067 ## end   gnulib module useless-if-before-free
1068
1069 ## begin gnulib module vc-list-files
1070
1071
1072 EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
1073
1074 ## end   gnulib module vc-list-files
1075
1076 ## begin gnulib module version-etc
1077
1078 libgnu_la_SOURCES += version-etc.h version-etc.c
1079
1080 ## end   gnulib module version-etc
1081
1082 ## begin gnulib module version-etc-fsf
1083
1084 libgnu_la_SOURCES += version-etc-fsf.c
1085
1086 ## end   gnulib module version-etc-fsf
1087
1088
1089 mostlyclean-local: mostlyclean-generic
1090         @for dir in '' $(MOSTLYCLEANDIRS); do \
1091           if test -n "$$dir" && test -d $$dir; then \
1092             echo "rmdir $$dir"; rmdir $$dir; \
1093           fi; \
1094         done; \
1095         :