Debian Codegraph @

gnulib/lib/Makefile.am

raw
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2022 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 \
26 # --lib=libgnu \
27 # --source-base=gnulib/lib \
28 # --m4-base=gnulib/m4 \
29 # --doc-base=doc \
30 # --tests-base=gnulib/tests \
31 # --aux-dir=build/ac-aux \
32 # --with-tests \
33 # --lgpl=2 \
34 # --no-conditional-dependencies \
35 # --libtool \
36 # --macro-prefix=gl \
37 # argz \
38 # canonicalize-lgpl \
39 # fnmatch \
40 # getline \
41 # getopt-gnu \
42 # gitlog-to-changelog \
43 # isblank \
44 # locale \
45 # mkstemp \
46 # regex \
47 # safe-alloc \
48 # selinux-h \
49 # stpcpy \
50 # stpncpy \
51 # strchrnul \
52 # strndup \
53 # sys_wait \
54 # vasprintf
55
56 AUTOMAKE_OPTIONS = 1.14 gnits subdir-objects
57
58 SUBDIRS =
59 noinst_HEADERS =
60 noinst_LIBRARIES =
61 noinst_LTLIBRARIES =
62 EXTRA_DIST =
63 BUILT_SOURCES =
64 SUFFIXES =
65 MOSTLYCLEANFILES = core *.stackdump
66 MOSTLYCLEANDIRS =
67 CLEANFILES =
68 DISTCLEANFILES =
69 MAINTAINERCLEANFILES =
70 # No GNU Make output.
71
72 AM_CPPFLAGS =
73 AM_CFLAGS =
74
75 noinst_LTLIBRARIES += libgnu.la
76
77 libgnu_la_SOURCES =
78 libgnu_la_CFLAGS = $(AM_CFLAGS) $(GL_CFLAG_GNULIB_WARNINGS)
79 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
80 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
81 EXTRA_libgnu_la_SOURCES =
82 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
83 libgnu_la_LDFLAGS += -no-undefined
84 libgnu_la_LDFLAGS += $(LIBTHREAD)
85 libgnu_la_LDFLAGS += $(LIB_CLOCK_GETTIME)
86 libgnu_la_LDFLAGS += $(LIB_GETRANDOM)
87 libgnu_la_LDFLAGS += $(LIB_HARD_LOCALE)
88 libgnu_la_LDFLAGS += $(LIB_MBRTOWC)
89 libgnu_la_LDFLAGS += $(LIB_SELINUX)
90 libgnu_la_LDFLAGS += $(LIB_SETLOCALE_NULL)
91 libgnu_la_LDFLAGS += $(LTLIBINTL)
92
93 ## begin gnulib module absolute-header
94
95 # Use this preprocessor expression to decide whether #include_next works.
96 # Do not rely on a 'configure'-time test for this, since the expression
97 # might appear in an installed header, which is used by some other compiler.
98 HAVE_INCLUDE_NEXT = (__GNUC__ || __clang__ || 60000000 <= __DECC_VER)
99
100 ## end gnulib module absolute-header
101
102 ## begin gnulib module alloca-opt
103
104 BUILT_SOURCES += $(ALLOCA_H)
105
106 # We need the following in order to create <alloca.h> when the system
107 # doesn't have one that works with the given compiler.
108 if GL_GENERATE_ALLOCA_H
109 alloca.h: alloca.in.h $(top_builddir)/config.status
110 $(gl_V_at)$(SED_HEADER_STDOUT) \
111 -e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' \
112 $(srcdir)/alloca.in.h > $@-t
113 $(AM_V_at)mv $@-t $@
114 else
115 alloca.h: $(top_builddir)/config.status
116 rm -f $@
117 endif
118 MOSTLYCLEANFILES += alloca.h alloca.h-t
119
120 EXTRA_DIST += alloca.in.h
121
122 ## end gnulib module alloca-opt
123
124 ## begin gnulib module argz
125
126 BUILT_SOURCES += $(ARGZ_H)
127
128 # We need the following in order to create <argz.h> when the system
129 # doesn't have one that works with the given compiler.
130 if GL_GENERATE_ARGZ_H
131 argz.h: argz.in.h $(top_builddir)/config.status
132 $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/argz.in.h
133 $(AM_V_at)mv $@-t $@
134 else
135 argz.h: $(top_builddir)/config.status
136 rm -f $@
137 endif
138 MOSTLYCLEANFILES += argz.h argz.h-t
139
140 if GL_COND_OBJ_ARGZ
141 libgnu_la_SOURCES += argz.c
142 endif
143
144 EXTRA_DIST += argz.in.h
145
146 ## end gnulib module argz
147
148 ## begin gnulib module assert-h
149
150 BUILT_SOURCES += $(ASSERT_H)
151
152 # We need the following in order to create <assert.h> when the system
153 # doesn't have one that works with the given compiler.
154 if GL_GENERATE_ASSERT_H
155 assert.h: assert.in.h verify.h $(top_builddir)/config.status
156 $(gl_V_at){ $(SED_HEADER_STDOUT) \
157 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
158 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
159 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
160 -e 's|@''NEXT_ASSERT_H''@|$(NEXT_ASSERT_H)|g' \
161 < $(srcdir)/assert.in.h && \
162 sed -e '/@assert.h omit start@/,/@assert.h omit end@/d' \
163 -e 's|_gl_verify|_gl_static_assert|g' \
164 -e 's|_GL_VERIFY|_GL_STATIC_ASSERT|g' \
165 -e 's|_GL\(_STATIC_ASSERT_H\)|_GL\1|g' \
166 < $(srcdir)/verify.h; \
167 } > $@-t
168 $(AM_V_at)mv $@-t $@
169 else
170 assert.h: $(top_builddir)/config.status
171 rm -f $@
172 endif
173 MOSTLYCLEANFILES += assert.h assert.h-t
174
175 EXTRA_DIST += assert.in.h verify.h
176
177 ## end gnulib module assert-h
178
179 ## begin gnulib module attribute
180
181
182 EXTRA_DIST += attribute.h
183
184 ## end gnulib module attribute
185
186 ## begin gnulib module basename-lgpl
187
188 libgnu_la_SOURCES += basename-lgpl.c
189
190 EXTRA_DIST += basename-lgpl.h
191
192 ## end gnulib module basename-lgpl
193
194 ## begin gnulib module btowc
195
196 if GL_COND_OBJ_BTOWC
197 libgnu_la_SOURCES += btowc.c
198 endif
199
200 ## end gnulib module btowc
201
202 ## begin gnulib module calloc-gnu
203
204
205 EXTRA_DIST += calloc.c
206
207 EXTRA_libgnu_la_SOURCES += calloc.c
208
209 ## end gnulib module calloc-gnu
210
211 ## begin gnulib module calloc-posix
212
213
214 EXTRA_DIST += calloc.c
215
216 EXTRA_libgnu_la_SOURCES += calloc.c
217
218 ## end gnulib module calloc-posix
219
220 ## begin gnulib module canonicalize-lgpl
221
222 if GL_COND_OBJ_CANONICALIZE_LGPL
223 libgnu_la_SOURCES += canonicalize-lgpl.c
224 endif
225
226 ## end gnulib module canonicalize-lgpl
227
228 ## begin gnulib module cloexec
229
230 libgnu_la_SOURCES += cloexec.c
231
232 EXTRA_DIST += cloexec.h
233
234 ## end gnulib module cloexec
235
236 ## begin gnulib module close
237
238 if GL_COND_OBJ_CLOSE
239 libgnu_la_SOURCES += close.c
240 endif
241
242 ## end gnulib module close
243
244 ## begin gnulib module ctype
245
246 BUILT_SOURCES += ctype.h
247
248 # We need the following in order to create <ctype.h> when the system
249 # doesn't have one that works with the given compiler.
250 ctype.h: ctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
251 $(gl_V_at)$(SED_HEADER_STDOUT) \
252 -e 's|@''GUARD_PREFIX''@|GL|g' \
253 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
254 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
255 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
256 -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \
257 -e 's/@''GNULIB_ISBLANK''@/$(GL_GNULIB_ISBLANK)/g' \
258 -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \
259 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
260 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
261 $(srcdir)/ctype.in.h > $@-t
262 $(AM_V_at)mv $@-t $@
263 MOSTLYCLEANFILES += ctype.h ctype.h-t
264
265 EXTRA_DIST += ctype.in.h
266
267 ## end gnulib module ctype
268
269 ## begin gnulib module dirname-lgpl
270
271 libgnu_la_SOURCES += dirname-lgpl.c stripslash.c
272
273 EXTRA_DIST += dirname.h
274
275 ## end gnulib module dirname-lgpl
276
277 ## begin gnulib module dup2
278
279 if GL_COND_OBJ_DUP2
280 libgnu_la_SOURCES += dup2.c
281 endif
282
283 ## end gnulib module dup2
284
285 ## begin gnulib module eloop-threshold
286
287
288 EXTRA_DIST += eloop-threshold.h
289
290 ## end gnulib module eloop-threshold
291
292 ## begin gnulib module errno
293
294 BUILT_SOURCES += $(ERRNO_H)
295
296 # We need the following in order to create <errno.h> when the system
297 # doesn't have one that is POSIX compliant.
298 if GL_GENERATE_ERRNO_H
299 errno.h: errno.in.h $(top_builddir)/config.status
300 $(gl_V_at)$(SED_HEADER_STDOUT) \
301 -e 's|@''GUARD_PREFIX''@|GL|g' \
302 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
303 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
304 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
305 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
306 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
307 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
308 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
309 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
310 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
311 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
312 $(srcdir)/errno.in.h > $@-t
313 $(AM_V_at)mv $@-t $@
314 else
315 errno.h: $(top_builddir)/config.status
316 rm -f $@
317 endif
318 MOSTLYCLEANFILES += errno.h errno.h-t
319
320 EXTRA_DIST += errno.in.h
321
322 ## end gnulib module errno
323
324 ## begin gnulib module fcntl
325
326 if GL_COND_OBJ_FCNTL
327 libgnu_la_SOURCES += fcntl.c
328 endif
329
330 ## end gnulib module fcntl
331
332 ## begin gnulib module fcntl-h
333
334 BUILT_SOURCES += fcntl.h
335
336 # We need the following in order to create <fcntl.h> when the system
337 # doesn't have one that works with the given compiler.
338 fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
339 $(gl_V_at)$(SED_HEADER_STDOUT) \
340 -e 's|@''GUARD_PREFIX''@|GL|g' \
341 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
342 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
343 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
344 -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
345 -e 's/@''GNULIB_CREAT''@/$(GL_GNULIB_CREAT)/g' \
346 -e 's/@''GNULIB_FCNTL''@/$(GL_GNULIB_FCNTL)/g' \
347 -e 's/@''GNULIB_NONBLOCKING''@/$(GL_GNULIB_NONBLOCKING)/g' \
348 -e 's/@''GNULIB_OPEN''@/$(GL_GNULIB_OPEN)/g' \
349 -e 's/@''GNULIB_OPENAT''@/$(GL_GNULIB_OPENAT)/g' \
350 -e 's/@''GNULIB_MDA_CREAT''@/$(GL_GNULIB_MDA_CREAT)/g' \
351 -e 's/@''GNULIB_MDA_OPEN''@/$(GL_GNULIB_MDA_OPEN)/g' \
352 -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
353 -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
354 -e 's|@''REPLACE_CREAT''@|$(REPLACE_CREAT)|g' \
355 -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
356 -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
357 -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
358 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
359 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
360 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
361 $(srcdir)/fcntl.in.h > $@-t
362 $(AM_V_at)mv $@-t $@
363 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
364
365 EXTRA_DIST += fcntl.in.h
366
367 ## end gnulib module fcntl-h
368
369 ## begin gnulib module fd-hook
370
371 libgnu_la_SOURCES += fd-hook.c
372
373 EXTRA_DIST += fd-hook.h
374
375 ## end gnulib module fd-hook
376
377 ## begin gnulib module filename
378
379
380 EXTRA_DIST += filename.h
381
382 ## end gnulib module filename
383
384 ## begin gnulib module flexmember
385
386
387 EXTRA_DIST += flexmember.h
388
389 ## end gnulib module flexmember
390
391 ## begin gnulib module float
392
393 BUILT_SOURCES += $(FLOAT_H)
394
395 # We need the following in order to create <float.h> when the system
396 # doesn't have one that works with the given compiler.
397 if GL_GENERATE_FLOAT_H
398 float.h: float.in.h $(top_builddir)/config.status
399 $(gl_V_at)$(SED_HEADER_STDOUT) \
400 -e 's|@''GUARD_PREFIX''@|GL|g' \
401 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
402 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
403 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
404 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
405 -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
406 $(srcdir)/float.in.h > $@-t
407 $(AM_V_at)mv $@-t $@
408 else
409 float.h: $(top_builddir)/config.status
410 rm -f $@
411 endif
412 MOSTLYCLEANFILES += float.h float.h-t
413
414 if GL_COND_OBJ_FLOAT
415 libgnu_la_SOURCES += float.c
416 endif
417 if GL_COND_OBJ_ITOLD
418 libgnu_la_SOURCES += itold.c
419 endif
420
421 EXTRA_DIST += float.in.h
422
423 ## end gnulib module float
424
425 ## begin gnulib module fnmatch
426
427
428 EXTRA_DIST += fnmatch.c fnmatch_loop.c
429
430 EXTRA_libgnu_la_SOURCES += fnmatch.c fnmatch_loop.c
431
432 ## end gnulib module fnmatch
433
434 ## begin gnulib module fnmatch-h
435
436 BUILT_SOURCES += $(FNMATCH_H)
437
438 # We need the following in order to create <fnmatch.h>.
439 if GL_GENERATE_FNMATCH_H
440 fnmatch.h: fnmatch.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
441 $(gl_V_at)$(SED_HEADER_STDOUT) \
442 -e 's|@''GUARD_PREFIX''@|GL|g' \
443 -e 's|@''HAVE_FNMATCH_H''@|$(HAVE_FNMATCH_H)|g' \
444 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
445 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
446 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
447 -e 's|@''NEXT_FNMATCH_H''@|$(NEXT_FNMATCH_H)|g' \
448 -e 's/@''GNULIB_FNMATCH''@/$(GL_GNULIB_FNMATCH)/g' \
449 -e 's|@''HAVE_FNMATCH''@|$(HAVE_FNMATCH)|g' \
450 -e 's|@''REPLACE_FNMATCH''@|$(REPLACE_FNMATCH)|g' \
451 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
452 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
453 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
454 $(srcdir)/fnmatch.in.h > $@-t
455 $(AM_V_at)mv $@-t $@
456 else
457 fnmatch.h: $(top_builddir)/config.status
458 rm -f $@
459 endif
460 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
461
462 EXTRA_DIST += fnmatch.in.h
463
464 ## end gnulib module fnmatch-h
465
466 ## begin gnulib module free-posix
467
468 if GL_COND_OBJ_FREE
469 libgnu_la_SOURCES += free.c
470 endif
471
472 ## end gnulib module free-posix
473
474 ## begin gnulib module fstat
475
476 if GL_COND_OBJ_FSTAT
477 libgnu_la_SOURCES += fstat.c
478 endif
479
480 EXTRA_DIST += stat-w32.c stat-w32.h
481
482 EXTRA_libgnu_la_SOURCES += stat-w32.c
483
484 ## end gnulib module fstat
485
486 ## begin gnulib module gen-header
487
488 # In 'sed', replace the pattern space with a "DO NOT EDIT" comment.
489 SED_HEADER_NOEDIT = s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,
490
491 # '$(SED_HEADER_STDOUT) -e "..."' runs 'sed' but first outputs "DO NOT EDIT".
492 SED_HEADER_STDOUT = sed -e 1h -e '1$(SED_HEADER_NOEDIT)' -e 1G
493
494 # '$(SED_HEADER_TO_AT_t) FILE' copies FILE to $@-t, prepending a leading
495 # "DO_NOT_EDIT". Although this could be done more simply via:
496 # SED_HEADER_TO_AT_t = $(SED_HEADER_STDOUT) > $@-t
497 # the -n and 'w' avoid a fork+exec, at least when GNU Make is used.
498 SED_HEADER_TO_AT_t = $(SED_HEADER_STDOUT) -n -e 'w $@-t'
499
500 # Use $(gl_V_at) instead of $(AM_V_GEN) or $(AM_V_at) on a line that
501 gl_V_at = $(AM_V_GEN)
502
503 ## end gnulib module gen-header
504
505 ## begin gnulib module getdelim
506
507 if GL_COND_OBJ_GETDELIM
508 libgnu_la_SOURCES += getdelim.c
509 endif
510
511 ## end gnulib module getdelim
512
513 ## begin gnulib module getdtablesize
514
515 if GL_COND_OBJ_GETDTABLESIZE
516 libgnu_la_SOURCES += getdtablesize.c
517 endif
518
519 ## end gnulib module getdtablesize
520
521 ## begin gnulib module getline
522
523 if GL_COND_OBJ_GETLINE
524 libgnu_la_SOURCES += getline.c
525 endif
526
527 ## end gnulib module getline
528
529 ## begin gnulib module getopt-posix
530
531 BUILT_SOURCES += $(GETOPT_H) $(GETOPT_CDEFS_H)
532
533 # We need the following in order to create <getopt.h> when the system
534 # doesn't have one that works with the given compiler.
535 if GL_GENERATE_GETOPT_H
536 getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
537 $(gl_V_at)$(SED_HEADER_STDOUT) \
538 -e 's|@''GUARD_PREFIX''@|GL|g' \
539 -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
540 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
541 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
542 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
543 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
544 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
545 $(srcdir)/getopt.in.h > $@-t
546 $(AM_V_at)mv $@-t $@
547 else
548 getopt.h: $(top_builddir)/config.status
549 rm -f $@
550 endif
551
552 if GL_GENERATE_GETOPT_CDEFS_H
553 getopt-cdefs.h: getopt-cdefs.in.h $(top_builddir)/config.status
554 $(AM_V_GEN)$(SED_HEADER_STDOUT) \
555 -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
556 $(srcdir)/getopt-cdefs.in.h > $@-t
557 $(AM_V_at)mv $@-t $@
558 else
559 getopt-cdefs.h: $(top_builddir)/config.status
560 rm -f $@
561 endif
562
563 MOSTLYCLEANFILES += getopt.h getopt.h-t getopt-cdefs.h getopt-cdefs.h-t
564
565 if GL_COND_OBJ_GETOPT
566 libgnu_la_SOURCES += getopt.c getopt1.c
567 endif
568
569 EXTRA_DIST += getopt-cdefs.in.h getopt-core.h getopt-ext.h getopt-pfx-core.h getopt-pfx-ext.h getopt.in.h getopt_int.h
570
571 ## end gnulib module getopt-posix
572
573 ## begin gnulib module getrandom
574
575 if GL_COND_OBJ_GETRANDOM
576 libgnu_la_SOURCES += getrandom.c
577 endif
578
579 ## end gnulib module getrandom
580
581 ## begin gnulib module gettext-h
582
583 libgnu_la_SOURCES += gettext.h
584
585 ## end gnulib module gettext-h
586
587 ## begin gnulib module gitlog-to-changelog
588
589
590 EXTRA_DIST += $(top_srcdir)/build/ac-aux/gitlog-to-changelog
591
592 ## end gnulib module gitlog-to-changelog
593
594 ## begin gnulib module glibc-internal/dynarray
595
596 BUILT_SOURCES += malloc/dynarray.gl.h malloc/dynarray-skeleton.gl.h
597
598 malloc/dynarray.gl.h: malloc/dynarray.h
599 $(AM_V_GEN)$(MKDIR_P) '%reldir%/malloc'
600 $(AM_V_at)$(SED_HEADER_STDOUT) \
601 -e '/libc_hidden_proto/d' \
602 $(srcdir)/malloc/dynarray.h > $@-t
603 $(AM_V_at)mv $@-t $@
604 MOSTLYCLEANFILES += malloc/dynarray.gl.h malloc/dynarray.gl.h-t
605
606 malloc/dynarray-skeleton.gl.h: malloc/dynarray-skeleton.c
607 $(AM_V_GEN)$(MKDIR_P) '%reldir%/malloc'
608 $(AM_V_at)$(SED_HEADER_STDOUT) \
609 -e 's|<malloc/dynarray\.h>|<malloc/dynarray.gl.h>|g' \
610 -e 's|__attribute_maybe_unused__|_GL_ATTRIBUTE_MAYBE_UNUSED|g' \
611 -e 's|__attribute_nonnull__|_GL_ATTRIBUTE_NONNULL|g' \
612 -e 's|__attribute_warn_unused_result__|_GL_ATTRIBUTE_NODISCARD|g' \
613 -e 's|__glibc_likely|_GL_LIKELY|g' \
614 -e 's|__glibc_unlikely|_GL_UNLIKELY|g' \
615 $(srcdir)/malloc/dynarray-skeleton.c > $@-t
616 $(AM_V_at)mv $@-t $@
617 MOSTLYCLEANFILES += malloc/dynarray-skeleton.gl.h malloc/dynarray-skeleton.gl.h-t
618
619 libgnu_la_SOURCES += malloc/dynarray_at_failure.c malloc/dynarray_emplace_enlarge.c malloc/dynarray_finalize.c malloc/dynarray_resize.c malloc/dynarray_resize_clear.c
620
621 EXTRA_DIST += dynarray.h malloc/dynarray-skeleton.c malloc/dynarray.h
622
623 EXTRA_libgnu_la_SOURCES += malloc/dynarray-skeleton.c
624
625 ## end gnulib module glibc-internal/dynarray
626
627 ## begin gnulib module glibc-internal/scratch_buffer
628
629 BUILT_SOURCES += malloc/scratch_buffer.gl.h
630
631 malloc/scratch_buffer.gl.h: malloc/scratch_buffer.h
632 $(AM_V_GEN)$(MKDIR_P) '%reldir%/malloc'
633 $(AM_V_at)$(SED_HEADER_STDOUT) \
634 -e 's|__always_inline|inline _GL_ATTRIBUTE_ALWAYS_INLINE|g' \
635 -e 's|__glibc_likely|_GL_LIKELY|g' \
636 -e 's|__glibc_unlikely|_GL_UNLIKELY|g' \
637 -e '/libc_hidden_proto/d' \
638 $(srcdir)/malloc/scratch_buffer.h > $@-t
639 $(AM_V_at)mv $@-t $@
640 MOSTLYCLEANFILES += malloc/scratch_buffer.gl.h malloc/scratch_buffer.gl.h-t
641
642 libgnu_la_SOURCES += malloc/scratch_buffer_grow.c malloc/scratch_buffer_grow_preserve.c malloc/scratch_buffer_set_array_size.c
643
644 EXTRA_DIST += malloc/scratch_buffer.h scratch_buffer.h
645
646 ## end gnulib module glibc-internal/scratch_buffer
647
648 ## begin gnulib module hard-locale
649
650 libgnu_la_SOURCES += hard-locale.c
651
652 EXTRA_DIST += hard-locale.h
653
654 ## end gnulib module hard-locale
655
656 ## begin gnulib module idx
657
658 libgnu_la_SOURCES += idx.h
659
660 ## end gnulib module idx
661
662 ## begin gnulib module intprops
663
664
665 EXTRA_DIST += intprops-internal.h intprops.h
666
667 ## end gnulib module intprops
668
669 ## begin gnulib module inttypes-incomplete
670
671 BUILT_SOURCES += inttypes.h
672
673 # We need the following in order to create <inttypes.h> when the system
674 # doesn't have one that works with the given compiler.
675 inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
676 $(gl_V_at)$(SED_HEADER_STDOUT) \
677 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
678 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
679 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
680 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
681 -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
682 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
683 -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
684 -e 's/@''GNULIB_IMAXABS''@/$(GL_GNULIB_IMAXABS)/g' \
685 -e 's/@''GNULIB_IMAXDIV''@/$(GL_GNULIB_IMAXDIV)/g' \
686 -e 's/@''GNULIB_STRTOIMAX''@/$(GL_GNULIB_STRTOIMAX)/g' \
687 -e 's/@''GNULIB_STRTOUMAX''@/$(GL_GNULIB_STRTOUMAX)/g' \
688 -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
689 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
690 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
691 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
692 -e 's/@''HAVE_IMAXDIV_T''@/$(HAVE_IMAXDIV_T)/g' \
693 -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
694 -e 's/@''REPLACE_STRTOUMAX''@/$(REPLACE_STRTOUMAX)/g' \
695 -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
696 -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
697 -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
698 -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
699 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
700 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
701 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
702 $(srcdir)/inttypes.in.h > $@-t
703 $(AM_V_at)mv $@-t $@
704 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
705
706 EXTRA_DIST += inttypes.in.h
707
708 ## end gnulib module inttypes-incomplete
709
710 ## begin gnulib module isblank
711
712 if GL_COND_OBJ_ISBLANK
713 libgnu_la_SOURCES += isblank.c
714 endif
715
716 ## end gnulib module isblank
717
718 ## begin gnulib module langinfo
719
720 BUILT_SOURCES += langinfo.h
721
722 # We need the following in order to create an empty placeholder for
723 # <langinfo.h> when the system doesn't have one.
724 langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
725 $(gl_V_at)$(SED_HEADER_STDOUT) \
726 -e 's|@''GUARD_PREFIX''@|GL|g' \
727 -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
728 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
729 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
730 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
731 -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
732 -e 's/@''GNULIB_NL_LANGINFO''@/$(GL_GNULIB_NL_LANGINFO)/g' \
733 -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
734 -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \
735 -e 's|@''HAVE_LANGINFO_ALTMON''@|$(HAVE_LANGINFO_ALTMON)|g' \
736 -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
737 -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \
738 -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
739 -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
740 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
741 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
742 $(srcdir)/langinfo.in.h > $@-t
743 $(AM_V_at)mv $@-t $@
744 MOSTLYCLEANFILES += langinfo.h langinfo.h-t
745
746 EXTRA_DIST += langinfo.in.h
747
748 ## end gnulib module langinfo
749
750 ## begin gnulib module libc-config
751
752
753 EXTRA_DIST += cdefs.h libc-config.h
754
755 ## end gnulib module libc-config
756
757 ## begin gnulib module limits-h
758
759 BUILT_SOURCES += $(LIMITS_H)
760
761 # We need the following in order to create <limits.h> when the system
762 # doesn't have one that is compatible with GNU.
763 if GL_GENERATE_LIMITS_H
764 limits.h: limits.in.h $(top_builddir)/config.status
765 $(gl_V_at)$(SED_HEADER_STDOUT) \
766 -e 's|@''GUARD_PREFIX''@|GL|g' \
767 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
768 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
769 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
770 -e 's|@''NEXT_LIMITS_H''@|$(NEXT_LIMITS_H)|g' \
771 $(srcdir)/limits.in.h > $@-t
772 $(AM_V_at)mv $@-t $@
773 else
774 limits.h: $(top_builddir)/config.status
775 rm -f $@
776 endif
777 MOSTLYCLEANFILES += limits.h limits.h-t
778
779 EXTRA_DIST += limits.in.h
780
781 ## end gnulib module limits-h
782
783 ## begin gnulib module localcharset
784
785 libgnu_la_SOURCES += localcharset.c
786
787 EXTRA_DIST += localcharset.h
788
789 ## end gnulib module localcharset
790
791 ## begin gnulib module locale
792
793 BUILT_SOURCES += locale.h
794
795 # We need the following in order to create <locale.h> when the system
796 # doesn't have one that provides all definitions.
797 locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
798 $(gl_V_at)$(SED_HEADER_STDOUT) \
799 -e 's|@''GUARD_PREFIX''@|GL|g' \
800 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
801 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
802 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
803 -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
804 -e 's/@''GNULIB_LOCALECONV''@/$(GL_GNULIB_LOCALECONV)/g' \
805 -e 's/@''GNULIB_SETLOCALE''@/$(GL_GNULIB_SETLOCALE)/g' \
806 -e 's/@''GNULIB_SETLOCALE_NULL''@/$(GL_GNULIB_SETLOCALE_NULL)/g' \
807 -e 's/@''GNULIB_DUPLOCALE''@/$(GL_GNULIB_DUPLOCALE)/g' \
808 -e 's/@''GNULIB_LOCALENAME''@/$(GL_GNULIB_LOCALENAME)/g' \
809 -e 's|@''HAVE_NEWLOCALE''@|$(HAVE_NEWLOCALE)|g' \
810 -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
811 -e 's|@''HAVE_FREELOCALE''@|$(HAVE_FREELOCALE)|g' \
812 -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
813 -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \
814 -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
815 -e 's|@''REPLACE_NEWLOCALE''@|$(REPLACE_NEWLOCALE)|g' \
816 -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
817 -e 's|@''REPLACE_FREELOCALE''@|$(REPLACE_FREELOCALE)|g' \
818 -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \
819 -e 's|@''LOCALENAME_ENHANCE_LOCALE_FUNCS''@|$(LOCALENAME_ENHANCE_LOCALE_FUNCS)|g' \
820 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
821 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
822 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
823 $(srcdir)/locale.in.h > $@-t
824 $(AM_V_at)mv $@-t $@
825 MOSTLYCLEANFILES += locale.h locale.h-t
826
827 EXTRA_DIST += locale.in.h
828
829 ## end gnulib module locale
830
831 ## begin gnulib module localeconv
832
833 if GL_COND_OBJ_LOCALECONV
834 libgnu_la_SOURCES += localeconv.c
835 endif
836
837 ## end gnulib module localeconv
838
839 ## begin gnulib module lock
840
841 libgnu_la_SOURCES += glthread/lock.h glthread/lock.c
842
843 ## end gnulib module lock
844
845 ## begin gnulib module lstat
846
847 if GL_COND_OBJ_LSTAT
848 libgnu_la_SOURCES += lstat.c
849 endif
850
851 ## end gnulib module lstat
852
853 ## begin gnulib module malloc-gnu
854
855
856 EXTRA_DIST += malloc.c
857
858 EXTRA_libgnu_la_SOURCES += malloc.c
859
860 ## end gnulib module malloc-gnu
861
862 ## begin gnulib module malloc-posix
863
864
865 EXTRA_DIST += malloc.c
866
867 EXTRA_libgnu_la_SOURCES += malloc.c
868
869 ## end gnulib module malloc-posix
870
871 ## begin gnulib module malloca
872
873 libgnu_la_SOURCES += malloca.c
874
875 EXTRA_DIST += malloca.h
876
877 ## end gnulib module malloca
878
879 ## begin gnulib module mbrtowc
880
881 if GL_COND_OBJ_MBRTOWC
882 libgnu_la_SOURCES += mbrtowc.c
883 endif
884
885 EXTRA_DIST += lc-charset-dispatch.c lc-charset-dispatch.h mbrtowc-impl-utf8.h mbrtowc-impl.h mbtowc-lock.c mbtowc-lock.h windows-initguard.h
886
887 EXTRA_libgnu_la_SOURCES += lc-charset-dispatch.c mbtowc-lock.c
888
889 ## end gnulib module mbrtowc
890
891 ## begin gnulib module mbsinit
892
893 if GL_COND_OBJ_MBSINIT
894 libgnu_la_SOURCES += mbsinit.c
895 endif
896
897 ## end gnulib module mbsinit
898
899 ## begin gnulib module mbsrtowcs
900
901 if GL_COND_OBJ_MBSRTOWCS
902 libgnu_la_SOURCES += mbsrtowcs.c
903 endif
904
905 EXTRA_DIST += mbsrtowcs-impl.h mbsrtowcs-state.c
906
907 EXTRA_libgnu_la_SOURCES += mbsrtowcs-state.c
908
909 ## end gnulib module mbsrtowcs
910
911 ## begin gnulib module mbtowc
912
913 if GL_COND_OBJ_MBTOWC
914 libgnu_la_SOURCES += mbtowc.c
915 endif
916
917 EXTRA_DIST += mbtowc-impl.h
918
919 ## end gnulib module mbtowc
920
921 ## begin gnulib module memchr
922
923 if GL_COND_OBJ_MEMCHR
924 libgnu_la_SOURCES += memchr.c
925 endif
926
927 EXTRA_DIST += memchr.valgrind
928
929 ## end gnulib module memchr
930
931 ## begin gnulib module mempcpy
932
933 if GL_COND_OBJ_MEMPCPY
934 libgnu_la_SOURCES += mempcpy.c
935 endif
936
937 ## end gnulib module mempcpy
938
939 ## begin gnulib module minmax
940
941 libgnu_la_SOURCES += minmax.h
942
943 ## end gnulib module minmax
944
945 ## begin gnulib module mkdir
946
947 if GL_COND_OBJ_MKDIR
948 libgnu_la_SOURCES += mkdir.c
949 endif
950
951 ## end gnulib module mkdir
952
953 ## begin gnulib module mkstemp
954
955 if GL_COND_OBJ_MKSTEMP
956 libgnu_la_SOURCES += mkstemp.c
957 endif
958
959 ## end gnulib module mkstemp
960
961 ## begin gnulib module msvc-inval
962
963 if GL_COND_OBJ_MSVC_INVAL
964 libgnu_la_SOURCES += msvc-inval.c
965 endif
966
967 EXTRA_DIST += msvc-inval.h
968
969 ## end gnulib module msvc-inval
970
971 ## begin gnulib module msvc-nothrow
972
973 if GL_COND_OBJ_MSVC_NOTHROW
974 libgnu_la_SOURCES += msvc-nothrow.c
975 endif
976
977 EXTRA_DIST += msvc-nothrow.h
978
979 ## end gnulib module msvc-nothrow
980
981 ## begin gnulib module nl_langinfo
982
983 if GL_COND_OBJ_NL_LANGINFO
984 libgnu_la_SOURCES += nl_langinfo.c
985 endif
986 if GL_COND_OBJ_NL_LANGINFO_LOCK
987 libgnu_la_SOURCES += nl_langinfo-lock.c
988 endif
989
990 EXTRA_DIST += windows-initguard.h
991
992 ## end gnulib module nl_langinfo
993
994 ## begin gnulib module open
995
996 if GL_COND_OBJ_OPEN
997 libgnu_la_SOURCES += open.c
998 endif
999
1000 ## end gnulib module open
1001
1002 ## begin gnulib module pathmax
1003
1004
1005 EXTRA_DIST += pathmax.h
1006
1007 ## end gnulib module pathmax
1008
1009 ## begin gnulib module rawmemchr
1010
1011 if GL_COND_OBJ_RAWMEMCHR
1012 libgnu_la_SOURCES += rawmemchr.c
1013 endif
1014
1015 EXTRA_DIST += rawmemchr.valgrind
1016
1017 ## end gnulib module rawmemchr
1018
1019 ## begin gnulib module readlink
1020
1021 if GL_COND_OBJ_READLINK
1022 libgnu_la_SOURCES += readlink.c
1023 endif
1024
1025 ## end gnulib module readlink
1026
1027 ## begin gnulib module realloc-gnu
1028
1029
1030 EXTRA_DIST += realloc.c
1031
1032 EXTRA_libgnu_la_SOURCES += realloc.c
1033
1034 ## end gnulib module realloc-gnu
1035
1036 ## begin gnulib module realloc-posix
1037
1038
1039 EXTRA_DIST += realloc.c
1040
1041 EXTRA_libgnu_la_SOURCES += realloc.c
1042
1043 ## end gnulib module realloc-posix
1044
1045 ## begin gnulib module reallocarray
1046
1047 if GL_COND_OBJ_REALLOCARRAY
1048 libgnu_la_SOURCES += reallocarray.c
1049 endif
1050
1051 ## end gnulib module reallocarray
1052
1053 ## begin gnulib module regex
1054
1055 if GL_COND_OBJ_REGEX
1056 libgnu_la_SOURCES += regex.c
1057 endif
1058
1059 EXTRA_DIST += regcomp.c regex.h regex_internal.c regex_internal.h regexec.c
1060
1061 EXTRA_libgnu_la_SOURCES += regcomp.c regex_internal.c regexec.c
1062
1063 ## end gnulib module regex
1064
1065 ## begin gnulib module safe-alloc
1066
1067 libgnu_la_SOURCES += safe-alloc.c
1068
1069 EXTRA_DIST += safe-alloc.h
1070
1071 ## end gnulib module safe-alloc
1072
1073 ## begin gnulib module selinux-h
1074
1075 BUILT_SOURCES += selinux/selinux.h
1076 selinux/selinux.h: se-selinux.in.h $(top_builddir)/config.status
1077 $(AM_V_GEN)$(MKDIR_P) '%reldir%/selinux'
1078 $(AM_V_at)$(SED_HEADER_STDOUT) \
1079 -e 's|@''GUARD_PREFIX''@|GL|g' \
1080 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1081 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1082 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1083 -e 's|@''NEXT_SELINUX_SELINUX_H''@|$(NEXT_SELINUX_SELINUX_H)|g' \
1084 $(srcdir)/se-selinux.in.h > $@-t
1085 $(AM_V_at)mv $@-t $@
1086 MOSTLYCLEANFILES += selinux/selinux.h selinux/selinux.h-t
1087
1088 BUILT_SOURCES += $(SELINUX_CONTEXT_H)
1089 if GL_GENERATE_SELINUX_CONTEXT_H
1090 selinux/context.h: se-context.in.h $(top_builddir)/config.status
1091 $(AM_V_GEN)$(MKDIR_P) '%reldir%/selinux'
1092 $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/se-context.in.h
1093 $(AM_V_at)mv $@-t $@
1094 else
1095 selinux/context.h: $(top_builddir)/config.status
1096 rm -f $@
1097 endif
1098 MOSTLYCLEANFILES += selinux/context.h selinux/context.h-t
1099
1100 BUILT_SOURCES += $(SELINUX_LABEL_H)
1101 if GL_GENERATE_SELINUX_LABEL_H
1102 selinux/label.h: se-label.in.h $(top_builddir)/config.status
1103 $(AM_V_GEN)$(MKDIR_P) '%reldir%/selinux'
1104 $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/se-label.in.h
1105 $(AM_V_at)mv $@-t $@
1106 else
1107 selinux/label.h: $(top_builddir)/config.status
1108 rm -f $@
1109 endif
1110 MOSTLYCLEANFILES += selinux/label.h selinux/label.h-t
1111
1112 MOSTLYCLEANDIRS += selinux
1113
1114 if GL_COND_OBJ_GETFILECON
1115 libgnu_la_SOURCES += getfilecon.c
1116 endif
1117 libgnu_la_SOURCES += se-context.in.h se-label.in.h se-selinux.in.h se-context.c se-label.c se-selinux.c
1118
1119 ## end gnulib module selinux-h
1120
1121 ## begin gnulib module setlocale-null
1122
1123 libgnu_la_SOURCES += setlocale_null.c
1124 if GL_COND_OBJ_SETLOCALE_LOCK
1125 libgnu_la_SOURCES += setlocale-lock.c
1126 endif
1127
1128 EXTRA_DIST += setlocale_null.h windows-initguard.h
1129
1130 ## end gnulib module setlocale-null
1131
1132 ## begin gnulib module size_max
1133
1134 libgnu_la_SOURCES += size_max.h
1135
1136 ## end gnulib module size_max
1137
1138 ## begin gnulib module snippet/_Noreturn
1139
1140 # Because this Makefile snippet defines a variable used by other
1141 # gnulib Makefile snippets, it must be present in all makefiles that
1142 # need it. This is ensured by the applicability 'all' defined above.
1143
1144 _NORETURN_H=$(srcdir)/_Noreturn.h
1145
1146 EXTRA_DIST += _Noreturn.h
1147
1148 ## end gnulib module snippet/_Noreturn
1149
1150 ## begin gnulib module snippet/arg-nonnull
1151
1152 # Because this Makefile snippet defines a variable used by other
1153 # gnulib Makefile snippets, it must be present in all makefiles that
1154 # need it. This is ensured by the applicability 'all' defined above.
1155
1156 ARG_NONNULL_H=$(srcdir)/arg-nonnull.h
1157
1158 EXTRA_DIST += arg-nonnull.h
1159
1160 ## end gnulib module snippet/arg-nonnull
1161
1162 ## begin gnulib module snippet/c++defs
1163
1164 # Because this Makefile snippet defines a variable used by other
1165 # gnulib Makefile snippets, it must be present in all makefiles that
1166 # need it. This is ensured by the applicability 'all' defined above.
1167
1168 CXXDEFS_H=$(srcdir)/c++defs.h
1169
1170 EXTRA_DIST += c++defs.h
1171
1172 ## end gnulib module snippet/c++defs
1173
1174 ## begin gnulib module snippet/warn-on-use
1175
1176 # Because this Makefile snippet defines a variable used by other
1177 # gnulib Makefile snippets, it must be present in all makefiles that
1178 # need it. This is ensured by the applicability 'all' defined above.
1179
1180 WARN_ON_USE_H=$(srcdir)/warn-on-use.h
1181
1182 EXTRA_DIST += warn-on-use.h
1183
1184 ## end gnulib module snippet/warn-on-use
1185
1186 ## begin gnulib module stat
1187
1188 if GL_COND_OBJ_STAT
1189 libgnu_la_SOURCES += stat.c
1190 endif
1191
1192 EXTRA_DIST += stat-w32.c stat-w32.h
1193
1194 EXTRA_libgnu_la_SOURCES += stat-w32.c
1195
1196 ## end gnulib module stat
1197
1198 ## begin gnulib module stat-time
1199
1200 libgnu_la_SOURCES += stat-time.c
1201
1202 EXTRA_DIST += stat-time.h
1203
1204 ## end gnulib module stat-time
1205
1206 ## begin gnulib module stdalign
1207
1208 BUILT_SOURCES += $(STDALIGN_H)
1209
1210 # We need the following in order to create <stdalign.h> when the system
1211 # doesn't have one that works.
1212 if GL_GENERATE_STDALIGN_H
1213 stdalign.h: stdalign.in.h $(top_builddir)/config.status
1214 $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/stdalign.in.h
1215 $(AM_V_at)mv $@-t $@
1216 else
1217 stdalign.h: $(top_builddir)/config.status
1218 rm -f $@
1219 endif
1220 MOSTLYCLEANFILES += stdalign.h stdalign.h-t
1221
1222 EXTRA_DIST += stdalign.in.h
1223
1224 ## end gnulib module stdalign
1225
1226 ## begin gnulib module stdckdint
1227
1228 BUILT_SOURCES += $(STDCKDINT_H)
1229
1230 # We need the following in order to create <stdckdint.h> when the system
1231 # doesn't have one that works with the given compiler.
1232 if GL_GENERATE_STDCKDINT_H
1233 stdckdint.h: stdckdint.in.h $(top_builddir)/config.status
1234 $(gl_V_at)$(SED_HEADER_STDOUT) \
1235 $(srcdir)/stdckdint.in.h > $@-t
1236 $(AM_V_at)mv $@-t $@
1237 else
1238 stdckdint.h: $(top_builddir)/config.status
1239 rm -f $@
1240 endif
1241 MOSTLYCLEANFILES += stdckdint.h stdckdint.h-t
1242
1243 EXTRA_DIST += intprops-internal.h stdckdint.in.h
1244
1245 ## end gnulib module stdckdint
1246
1247 ## begin gnulib module stddef
1248
1249 BUILT_SOURCES += $(STDDEF_H)
1250
1251 # We need the following in order to create <stddef.h> when the system
1252 # doesn't have one that works with the given compiler.
1253 if GL_GENERATE_STDDEF_H
1254 stddef.h: stddef.in.h $(top_builddir)/config.status
1255 $(gl_V_at)$(SED_HEADER_STDOUT) \
1256 -e 's|@''GUARD_PREFIX''@|GL|g' \
1257 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1258 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1259 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1260 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
1261 -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \
1262 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
1263 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
1264 $(srcdir)/stddef.in.h > $@-t
1265 $(AM_V_at)mv $@-t $@
1266 else
1267 stddef.h: $(top_builddir)/config.status
1268 rm -f $@
1269 endif
1270 MOSTLYCLEANFILES += stddef.h stddef.h-t
1271
1272 EXTRA_DIST += stddef.in.h
1273
1274 ## end gnulib module stddef
1275
1276 ## begin gnulib module stdint
1277
1278 BUILT_SOURCES += $(STDINT_H)
1279
1280 # We need the following in order to create <stdint.h> when the system
1281 # doesn't have one that works with the given compiler.
1282 if GL_GENERATE_STDINT_H
1283 stdint.h: stdint.in.h $(top_builddir)/config.status
1284 $(gl_V_at)$(SED_HEADER_STDOUT) \
1285 -e 's|@''GUARD_PREFIX''@|GL|g' \
1286 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
1287 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1288 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1289 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1290 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
1291 -e 's/@''HAVE_C99_STDINT_H''@/$(HAVE_C99_STDINT_H)/g' \
1292 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1293 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1294 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1295 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
1296 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
1297 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
1298 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1299 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1300 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1301 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1302 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1303 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1304 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1305 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1306 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1307 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1308 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1309 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1310 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1311 -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \
1312 $(srcdir)/stdint.in.h > $@-t
1313 $(AM_V_at)mv $@-t $@
1314 else
1315 stdint.h: $(top_builddir)/config.status
1316 rm -f $@
1317 endif
1318 MOSTLYCLEANFILES += stdint.h stdint.h-t
1319
1320 EXTRA_DIST += stdint.in.h
1321
1322 ## end gnulib module stdint
1323
1324 ## begin gnulib module stdio
1325
1326 BUILT_SOURCES += stdio.h
1327
1328 # We need the following in order to create <stdio.h> when the system
1329 # doesn't have one that works with the given compiler.
1330 stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1331 $(gl_V_at)$(SED_HEADER_STDOUT) \
1332 -e 's|@''GUARD_PREFIX''@|GL|g' \
1333 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1334 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1335 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1336 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
1337 -e 's/@''GNULIB_DPRINTF''@/$(GL_GNULIB_DPRINTF)/g' \
1338 -e 's/@''GNULIB_FCLOSE''@/$(GL_GNULIB_FCLOSE)/g' \
1339 -e 's/@''GNULIB_FDOPEN''@/$(GL_GNULIB_FDOPEN)/g' \
1340 -e 's/@''GNULIB_FFLUSH''@/$(GL_GNULIB_FFLUSH)/g' \
1341 -e 's/@''GNULIB_FGETC''@/$(GL_GNULIB_FGETC)/g' \
1342 -e 's/@''GNULIB_FGETS''@/$(GL_GNULIB_FGETS)/g' \
1343 -e 's/@''GNULIB_FOPEN''@/$(GL_GNULIB_FOPEN)/g' \
1344 -e 's/@''GNULIB_FOPEN_GNU''@/$(GL_GNULIB_FOPEN_GNU)/g' \
1345 -e 's/@''GNULIB_FPRINTF''@/$(GL_GNULIB_FPRINTF)/g' \
1346 -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GL_GNULIB_FPRINTF_POSIX)/g' \
1347 -e 's/@''GNULIB_FPURGE''@/$(GL_GNULIB_FPURGE)/g' \
1348 -e 's/@''GNULIB_FPUTC''@/$(GL_GNULIB_FPUTC)/g' \
1349 -e 's/@''GNULIB_FPUTS''@/$(GL_GNULIB_FPUTS)/g' \
1350 -e 's/@''GNULIB_FREAD''@/$(GL_GNULIB_FREAD)/g' \
1351 -e 's/@''GNULIB_FREOPEN''@/$(GL_GNULIB_FREOPEN)/g' \
1352 -e 's/@''GNULIB_FSCANF''@/$(GL_GNULIB_FSCANF)/g' \
1353 -e 's/@''GNULIB_FSEEK''@/$(GL_GNULIB_FSEEK)/g' \
1354 -e 's/@''GNULIB_FSEEKO''@/$(GL_GNULIB_FSEEKO)/g' \
1355 -e 's/@''GNULIB_FTELL''@/$(GL_GNULIB_FTELL)/g' \
1356 -e 's/@''GNULIB_FTELLO''@/$(GL_GNULIB_FTELLO)/g' \
1357 -e 's/@''GNULIB_FWRITE''@/$(GL_GNULIB_FWRITE)/g' \
1358 -e 's/@''GNULIB_GETC''@/$(GL_GNULIB_GETC)/g' \
1359 -e 's/@''GNULIB_GETCHAR''@/$(GL_GNULIB_GETCHAR)/g' \
1360 -e 's/@''GNULIB_GETDELIM''@/$(GL_GNULIB_GETDELIM)/g' \
1361 -e 's/@''GNULIB_GETLINE''@/$(GL_GNULIB_GETLINE)/g' \
1362 -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GL_GNULIB_OBSTACK_PRINTF)/g' \
1363 -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GL_GNULIB_OBSTACK_PRINTF_POSIX)/g' \
1364 -e 's/@''GNULIB_PCLOSE''@/$(GL_GNULIB_PCLOSE)/g' \
1365 -e 's/@''GNULIB_PERROR''@/$(GL_GNULIB_PERROR)/g' \
1366 -e 's/@''GNULIB_POPEN''@/$(GL_GNULIB_POPEN)/g' \
1367 -e 's/@''GNULIB_PRINTF''@/$(GL_GNULIB_PRINTF)/g' \
1368 -e 's/@''GNULIB_PRINTF_POSIX''@/$(GL_GNULIB_PRINTF_POSIX)/g' \
1369 -e 's/@''GNULIB_PUTC''@/$(GL_GNULIB_PUTC)/g' \
1370 -e 's/@''GNULIB_PUTCHAR''@/$(GL_GNULIB_PUTCHAR)/g' \
1371 -e 's/@''GNULIB_PUTS''@/$(GL_GNULIB_PUTS)/g' \
1372 -e 's/@''GNULIB_REMOVE''@/$(GL_GNULIB_REMOVE)/g' \
1373 -e 's/@''GNULIB_RENAME''@/$(GL_GNULIB_RENAME)/g' \
1374 -e 's/@''GNULIB_RENAMEAT''@/$(GL_GNULIB_RENAMEAT)/g' \
1375 -e 's/@''GNULIB_SCANF''@/$(GL_GNULIB_SCANF)/g' \
1376 -e 's/@''GNULIB_SNPRINTF''@/$(GL_GNULIB_SNPRINTF)/g' \
1377 -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GL_GNULIB_SPRINTF_POSIX)/g' \
1378 -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GL_GNULIB_STDIO_H_NONBLOCKING)/g' \
1379 -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GL_GNULIB_STDIO_H_SIGPIPE)/g' \
1380 -e 's/@''GNULIB_TMPFILE''@/$(GL_GNULIB_TMPFILE)/g' \
1381 -e 's/@''GNULIB_VASPRINTF''@/$(GL_GNULIB_VASPRINTF)/g' \
1382 -e 's/@''GNULIB_VDPRINTF''@/$(GL_GNULIB_VDPRINTF)/g' \
1383 -e 's/@''GNULIB_VFPRINTF''@/$(GL_GNULIB_VFPRINTF)/g' \
1384 -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GL_GNULIB_VFPRINTF_POSIX)/g' \
1385 -e 's/@''GNULIB_VFSCANF''@/$(GL_GNULIB_VFSCANF)/g' \
1386 -e 's/@''GNULIB_VSCANF''@/$(GL_GNULIB_VSCANF)/g' \
1387 -e 's/@''GNULIB_VPRINTF''@/$(GL_GNULIB_VPRINTF)/g' \
1388 -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GL_GNULIB_VPRINTF_POSIX)/g' \
1389 -e 's/@''GNULIB_VSNPRINTF''@/$(GL_GNULIB_VSNPRINTF)/g' \
1390 -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GL_GNULIB_VSPRINTF_POSIX)/g' \
1391 -e 's/@''GNULIB_MDA_FCLOSEALL''@/$(GL_GNULIB_MDA_FCLOSEALL)/g' \
1392 -e 's/@''GNULIB_MDA_FDOPEN''@/$(GL_GNULIB_MDA_FDOPEN)/g' \
1393 -e 's/@''GNULIB_MDA_FILENO''@/$(GL_GNULIB_MDA_FILENO)/g' \
1394 -e 's/@''GNULIB_MDA_GETW''@/$(GL_GNULIB_MDA_GETW)/g' \
1395 -e 's/@''GNULIB_MDA_PUTW''@/$(GL_GNULIB_MDA_PUTW)/g' \
1396 -e 's/@''GNULIB_MDA_TEMPNAM''@/$(GL_GNULIB_MDA_TEMPNAM)/g' \
1397 < $(srcdir)/stdio.in.h | \
1398 sed -e 's|@''HAVE_DECL_FCLOSEALL''@|$(HAVE_DECL_FCLOSEALL)|g' \
1399 -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
1400 -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
1401 -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
1402 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1403 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1404 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
1405 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
1406 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
1407 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
1408 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
1409 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
1410 -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
1411 -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
1412 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
1413 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
1414 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
1415 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
1416 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
1417 -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
1418 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
1419 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
1420 -e 's|@''REPLACE_FOPEN_FOR_FOPEN_GNU''@|$(REPLACE_FOPEN_FOR_FOPEN_GNU)|g' \
1421 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1422 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
1423 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
1424 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
1425 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
1426 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
1427 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
1428 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
1429 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
1430 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
1431 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
1432 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
1433 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1434 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1435 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1436 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1437 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1438 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
1439 -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
1440 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
1441 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
1442 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1443 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1444 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1445 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1446 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1447 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
1448 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
1449 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1450 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1451 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1452 > $@-t
1453 $(AM_V_at)mv $@-t $@
1454 MOSTLYCLEANFILES += stdio.h stdio.h-t
1455
1456 if GL_COND_OBJ_STDIO_READ
1457 libgnu_la_SOURCES += stdio-read.c
1458 endif
1459 if GL_COND_OBJ_STDIO_WRITE
1460 libgnu_la_SOURCES += stdio-write.c
1461 endif
1462
1463 EXTRA_DIST += stdio.in.h
1464
1465 ## end gnulib module stdio
1466
1467 ## begin gnulib module stdlib
1468
1469 BUILT_SOURCES += stdlib.h
1470
1471 # We need the following in order to create <stdlib.h> when the system
1472 # doesn't have one that works with the given compiler.
1473 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1474 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1475 $(gl_V_at)$(SED_HEADER_STDOUT) \
1476 -e 's|@''GUARD_PREFIX''@|GL|g' \
1477 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1478 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1479 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1480 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1481 -e 's/@''GNULIB__EXIT''@/$(GL_GNULIB__EXIT)/g' \
1482 -e 's/@''GNULIB_ALIGNED_ALLOC''@/$(GL_GNULIB_ALIGNED_ALLOC)/g' \
1483 -e 's/@''GNULIB_ATOLL''@/$(GL_GNULIB_ATOLL)/g' \
1484 -e 's/@''GNULIB_CALLOC_GNU''@/$(GL_GNULIB_CALLOC_GNU)/g' \
1485 -e 's/@''GNULIB_CALLOC_POSIX''@/$(GL_GNULIB_CALLOC_POSIX)/g' \
1486 -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GL_GNULIB_CANONICALIZE_FILE_NAME)/g' \
1487 -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \
1488 -e 's/@''GNULIB_GETLOADAVG''@/$(GL_GNULIB_GETLOADAVG)/g' \
1489 -e 's/@''GNULIB_GETSUBOPT''@/$(GL_GNULIB_GETSUBOPT)/g' \
1490 -e 's/@''GNULIB_GRANTPT''@/$(GL_GNULIB_GRANTPT)/g' \
1491 -e 's/@''GNULIB_MALLOC_GNU''@/$(GL_GNULIB_MALLOC_GNU)/g' \
1492 -e 's/@''GNULIB_MALLOC_POSIX''@/$(GL_GNULIB_MALLOC_POSIX)/g' \
1493 -e 's/@''GNULIB_MBTOWC''@/$(GL_GNULIB_MBTOWC)/g' \
1494 -e 's/@''GNULIB_MKDTEMP''@/$(GL_GNULIB_MKDTEMP)/g' \
1495 -e 's/@''GNULIB_MKOSTEMP''@/$(GL_GNULIB_MKOSTEMP)/g' \
1496 -e 's/@''GNULIB_MKOSTEMPS''@/$(GL_GNULIB_MKOSTEMPS)/g' \
1497 -e 's/@''GNULIB_MKSTEMP''@/$(GL_GNULIB_MKSTEMP)/g' \
1498 -e 's/@''GNULIB_MKSTEMPS''@/$(GL_GNULIB_MKSTEMPS)/g' \
1499 -e 's/@''GNULIB_POSIX_MEMALIGN''@/$(GL_GNULIB_POSIX_MEMALIGN)/g' \
1500 -e 's/@''GNULIB_POSIX_OPENPT''@/$(GL_GNULIB_POSIX_OPENPT)/g' \
1501 -e 's/@''GNULIB_PTSNAME''@/$(GL_GNULIB_PTSNAME)/g' \
1502 -e 's/@''GNULIB_PTSNAME_R''@/$(GL_GNULIB_PTSNAME_R)/g' \
1503 -e 's/@''GNULIB_PUTENV''@/$(GL_GNULIB_PUTENV)/g' \
1504 -e 's/@''GNULIB_QSORT_R''@/$(GL_GNULIB_QSORT_R)/g' \
1505 -e 's/@''GNULIB_RANDOM''@/$(GL_GNULIB_RANDOM)/g' \
1506 -e 's/@''GNULIB_RANDOM_R''@/$(GL_GNULIB_RANDOM_R)/g' \
1507 -e 's/@''GNULIB_REALLOC_GNU''@/$(GL_GNULIB_REALLOC_GNU)/g' \
1508 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GL_GNULIB_REALLOC_POSIX)/g' \
1509 -e 's/@''GNULIB_REALLOCARRAY''@/$(GL_GNULIB_REALLOCARRAY)/g' \
1510 -e 's/@''GNULIB_REALPATH''@/$(GL_GNULIB_REALPATH)/g' \
1511 -e 's/@''GNULIB_RPMATCH''@/$(GL_GNULIB_RPMATCH)/g' \
1512 -e 's/@''GNULIB_SECURE_GETENV''@/$(GL_GNULIB_SECURE_GETENV)/g' \
1513 -e 's/@''GNULIB_SETENV''@/$(GL_GNULIB_SETENV)/g' \
1514 -e 's/@''GNULIB_STRTOD''@/$(GL_GNULIB_STRTOD)/g' \
1515 -e 's/@''GNULIB_STRTOL''@/$(GL_GNULIB_STRTOL)/g' \
1516 -e 's/@''GNULIB_STRTOLD''@/$(GL_GNULIB_STRTOLD)/g' \
1517 -e 's/@''GNULIB_STRTOLL''@/$(GL_GNULIB_STRTOLL)/g' \
1518 -e 's/@''GNULIB_STRTOUL''@/$(GL_GNULIB_STRTOUL)/g' \
1519 -e 's/@''GNULIB_STRTOULL''@/$(GL_GNULIB_STRTOULL)/g' \
1520 -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GL_GNULIB_SYSTEM_POSIX)/g' \
1521 -e 's/@''GNULIB_UNLOCKPT''@/$(GL_GNULIB_UNLOCKPT)/g' \
1522 -e 's/@''GNULIB_UNSETENV''@/$(GL_GNULIB_UNSETENV)/g' \
1523 -e 's/@''GNULIB_WCTOMB''@/$(GL_GNULIB_WCTOMB)/g' \
1524 -e 's/@''GNULIB_MDA_ECVT''@/$(GL_GNULIB_MDA_ECVT)/g' \
1525 -e 's/@''GNULIB_MDA_FCVT''@/$(GL_GNULIB_MDA_FCVT)/g' \
1526 -e 's/@''GNULIB_MDA_GCVT''@/$(GL_GNULIB_MDA_GCVT)/g' \
1527 -e 's/@''GNULIB_MDA_MKTEMP''@/$(GL_GNULIB_MDA_MKTEMP)/g' \
1528 -e 's/@''GNULIB_MDA_PUTENV''@/$(GL_GNULIB_MDA_PUTENV)/g' \
1529 < $(srcdir)/stdlib.in.h | \
1530 sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
1531 -e 's|@''HAVE_ALIGNED_ALLOC''@|$(HAVE_ALIGNED_ALLOC)|g' \
1532 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1533 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1534 -e 's|@''HAVE_DECL_ECVT''@|$(HAVE_DECL_ECVT)|g' \
1535 -e 's|@''HAVE_DECL_FCVT''@|$(HAVE_DECL_FCVT)|g' \
1536 -e 's|@''HAVE_DECL_GCVT''@|$(HAVE_DECL_GCVT)|g' \
1537 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1538 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1539 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1540 -e 's|@''HAVE_INITSTATE''@|$(HAVE_INITSTATE)|g' \
1541 -e 's|@''HAVE_DECL_INITSTATE''@|$(HAVE_DECL_INITSTATE)|g' \
1542 -e 's|@''HAVE_MBTOWC''@|$(HAVE_MBTOWC)|g' \
1543 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1544 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1545 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1546 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1547 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1548 -e 's|@''HAVE_POSIX_MEMALIGN''@|$(HAVE_POSIX_MEMALIGN)|g' \
1549 -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
1550 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
1551 -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
1552 -e 's|@''HAVE_QSORT_R''@|$(HAVE_QSORT_R)|g' \
1553 -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
1554 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1555 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1556 -e 's|@''HAVE_REALLOCARRAY''@|$(HAVE_REALLOCARRAY)|g' \
1557 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1558 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1559 -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
1560 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
1561 -e 's|@''HAVE_SETSTATE''@|$(HAVE_SETSTATE)|g' \
1562 -e 's|@''HAVE_DECL_SETSTATE''@|$(HAVE_DECL_SETSTATE)|g' \
1563 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1564 -e 's|@''HAVE_STRTOL''@|$(HAVE_STRTOL)|g' \
1565 -e 's|@''HAVE_STRTOLD''@|$(HAVE_STRTOLD)|g' \
1566 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1567 -e 's|@''HAVE_STRTOUL''@|$(HAVE_STRTOUL)|g' \
1568 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1569 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1570 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1571 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1572 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
1573 -e 's|@''REPLACE_ALIGNED_ALLOC''@|$(REPLACE_ALIGNED_ALLOC)|g' \
1574 -e 's|@''REPLACE_CALLOC_FOR_CALLOC_GNU''@|$(REPLACE_CALLOC_FOR_CALLOC_GNU)|g' \
1575 -e 's|@''REPLACE_CALLOC_FOR_CALLOC_POSIX''@|$(REPLACE_CALLOC_FOR_CALLOC_POSIX)|g' \
1576 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1577 -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \
1578 -e 's|@''REPLACE_INITSTATE''@|$(REPLACE_INITSTATE)|g' \
1579 -e 's|@''REPLACE_MALLOC_FOR_MALLOC_GNU''@|$(REPLACE_MALLOC_FOR_MALLOC_GNU)|g' \
1580 -e 's|@''REPLACE_MALLOC_FOR_MALLOC_POSIX''@|$(REPLACE_MALLOC_FOR_MALLOC_POSIX)|g' \
1581 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
1582 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1583 -e 's|@''REPLACE_POSIX_MEMALIGN''@|$(REPLACE_POSIX_MEMALIGN)|g' \
1584 -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
1585 -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
1586 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1587 -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \
1588 -e 's|@''REPLACE_RANDOM''@|$(REPLACE_RANDOM)|g' \
1589 -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
1590 -e 's|@''REPLACE_REALLOC_FOR_REALLOC_GNU''@|$(REPLACE_REALLOC_FOR_REALLOC_GNU)|g' \
1591 -e 's|@''REPLACE_REALLOC_FOR_REALLOC_POSIX''@|$(REPLACE_REALLOC_FOR_REALLOC_POSIX)|g' \
1592 -e 's|@''REPLACE_REALLOCARRAY''@|$(REPLACE_REALLOCARRAY)|g' \
1593 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1594 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1595 -e 's|@''REPLACE_SETSTATE''@|$(REPLACE_SETSTATE)|g' \
1596 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1597 -e 's|@''REPLACE_STRTOL''@|$(REPLACE_STRTOL)|g' \
1598 -e 's|@''REPLACE_STRTOLD''@|$(REPLACE_STRTOLD)|g' \
1599 -e 's|@''REPLACE_STRTOLL''@|$(REPLACE_STRTOLL)|g' \
1600 -e 's|@''REPLACE_STRTOUL''@|$(REPLACE_STRTOUL)|g' \
1601 -e 's|@''REPLACE_STRTOULL''@|$(REPLACE_STRTOULL)|g' \
1602 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
1603 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
1604 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1605 -e '/definition of _Noreturn/r $(_NORETURN_H)' \
1606 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1607 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1608 > $@-t
1609 $(AM_V_at)mv $@-t $@
1610 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1611
1612 EXTRA_DIST += stdlib.in.h
1613
1614 ## end gnulib module stdlib
1615
1616 ## begin gnulib module stpcpy
1617
1618 if GL_COND_OBJ_STPCPY
1619 libgnu_la_SOURCES += stpcpy.c
1620 endif
1621
1622 ## end gnulib module stpcpy
1623
1624 ## begin gnulib module stpncpy
1625
1626 if GL_COND_OBJ_STPNCPY
1627 libgnu_la_SOURCES += stpncpy.c
1628 endif
1629
1630 ## end gnulib module stpncpy
1631
1632 ## begin gnulib module strchrnul
1633
1634 if GL_COND_OBJ_STRCHRNUL
1635 libgnu_la_SOURCES += strchrnul.c
1636 endif
1637
1638 EXTRA_DIST += strchrnul.valgrind
1639
1640 ## end gnulib module strchrnul
1641
1642 ## begin gnulib module streq
1643
1644
1645 EXTRA_DIST += streq.h
1646
1647 ## end gnulib module streq
1648
1649 ## begin gnulib module string
1650
1651 BUILT_SOURCES += string.h
1652
1653 # We need the following in order to create <string.h> when the system
1654 # doesn't have one that works with the given compiler.
1655 string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1656 $(gl_V_at)$(SED_HEADER_STDOUT) \
1657 -e 's|@''GUARD_PREFIX''@|GL|g' \
1658 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1659 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1660 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1661 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1662 -e 's/@''GNULIB_EXPLICIT_BZERO''@/$(GL_GNULIB_EXPLICIT_BZERO)/g' \
1663 -e 's/@''GNULIB_FFSL''@/$(GL_GNULIB_FFSL)/g' \
1664 -e 's/@''GNULIB_FFSLL''@/$(GL_GNULIB_FFSLL)/g' \
1665 -e 's/@''GNULIB_MBSLEN''@/$(GL_GNULIB_MBSLEN)/g' \
1666 -e 's/@''GNULIB_MBSNLEN''@/$(GL_GNULIB_MBSNLEN)/g' \
1667 -e 's/@''GNULIB_MBSCHR''@/$(GL_GNULIB_MBSCHR)/g' \
1668 -e 's/@''GNULIB_MBSRCHR''@/$(GL_GNULIB_MBSRCHR)/g' \
1669 -e 's/@''GNULIB_MBSSTR''@/$(GL_GNULIB_MBSSTR)/g' \
1670 -e 's/@''GNULIB_MBSCASECMP''@/$(GL_GNULIB_MBSCASECMP)/g' \
1671 -e 's/@''GNULIB_MBSNCASECMP''@/$(GL_GNULIB_MBSNCASECMP)/g' \
1672 -e 's/@''GNULIB_MBSPCASECMP''@/$(GL_GNULIB_MBSPCASECMP)/g' \
1673 -e 's/@''GNULIB_MBSCASESTR''@/$(GL_GNULIB_MBSCASESTR)/g' \
1674 -e 's/@''GNULIB_MBSCSPN''@/$(GL_GNULIB_MBSCSPN)/g' \
1675 -e 's/@''GNULIB_MBSPBRK''@/$(GL_GNULIB_MBSPBRK)/g' \
1676 -e 's/@''GNULIB_MBSSPN''@/$(GL_GNULIB_MBSSPN)/g' \
1677 -e 's/@''GNULIB_MBSSEP''@/$(GL_GNULIB_MBSSEP)/g' \
1678 -e 's/@''GNULIB_MBSTOK_R''@/$(GL_GNULIB_MBSTOK_R)/g' \
1679 -e 's/@''GNULIB_MEMCHR''@/$(GL_GNULIB_MEMCHR)/g' \
1680 -e 's/@''GNULIB_MEMMEM''@/$(GL_GNULIB_MEMMEM)/g' \
1681 -e 's/@''GNULIB_MEMPCPY''@/$(GL_GNULIB_MEMPCPY)/g' \
1682 -e 's/@''GNULIB_MEMRCHR''@/$(GL_GNULIB_MEMRCHR)/g' \
1683 -e 's/@''GNULIB_MEMSET_EXPLICIT''@/$(GL_GNULIB_MEMSET_EXPLICIT)/g' \
1684 -e 's/@''GNULIB_RAWMEMCHR''@/$(GL_GNULIB_RAWMEMCHR)/g' \
1685 -e 's/@''GNULIB_STPCPY''@/$(GL_GNULIB_STPCPY)/g' \
1686 -e 's/@''GNULIB_STPNCPY''@/$(GL_GNULIB_STPNCPY)/g' \
1687 -e 's/@''GNULIB_STRCHRNUL''@/$(GL_GNULIB_STRCHRNUL)/g' \
1688 -e 's/@''GNULIB_STRDUP''@/$(GL_GNULIB_STRDUP)/g' \
1689 -e 's/@''GNULIB_STRNCAT''@/$(GL_GNULIB_STRNCAT)/g' \
1690 -e 's/@''GNULIB_STRNDUP''@/$(GL_GNULIB_STRNDUP)/g' \
1691 -e 's/@''GNULIB_STRNLEN''@/$(GL_GNULIB_STRNLEN)/g' \
1692 -e 's/@''GNULIB_STRPBRK''@/$(GL_GNULIB_STRPBRK)/g' \
1693 -e 's/@''GNULIB_STRSEP''@/$(GL_GNULIB_STRSEP)/g' \
1694 -e 's/@''GNULIB_STRSTR''@/$(GL_GNULIB_STRSTR)/g' \
1695 -e 's/@''GNULIB_STRCASESTR''@/$(GL_GNULIB_STRCASESTR)/g' \
1696 -e 's/@''GNULIB_STRTOK_R''@/$(GL_GNULIB_STRTOK_R)/g' \
1697 -e 's/@''GNULIB_STRERROR''@/$(GL_GNULIB_STRERROR)/g' \
1698 -e 's/@''GNULIB_STRERROR_R''@/$(GL_GNULIB_STRERROR_R)/g' \
1699 -e 's/@''GNULIB_STRERRORNAME_NP''@/$(GL_GNULIB_STRERRORNAME_NP)/g' \
1700 -e 's/@''GNULIB_SIGABBREV_NP''@/$(GL_GNULIB_SIGABBREV_NP)/g' \
1701 -e 's/@''GNULIB_SIGDESCR_NP''@/$(GL_GNULIB_SIGDESCR_NP)/g' \
1702 -e 's/@''GNULIB_STRSIGNAL''@/$(GL_GNULIB_STRSIGNAL)/g' \
1703 -e 's/@''GNULIB_STRVERSCMP''@/$(GL_GNULIB_STRVERSCMP)/g' \
1704 -e 's/@''GNULIB_MDA_MEMCCPY''@/$(GL_GNULIB_MDA_MEMCCPY)/g' \
1705 -e 's/@''GNULIB_MDA_STRDUP''@/$(GL_GNULIB_MDA_STRDUP)/g' \
1706 -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \
1707 < $(srcdir)/string.in.h | \
1708 sed -e 's|@''HAVE_EXPLICIT_BZERO''@|$(HAVE_EXPLICIT_BZERO)|g' \
1709 -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
1710 -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
1711 -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
1712 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1713 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1714 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1715 -e 's|@''HAVE_MEMSET_EXPLICIT''@|$(HAVE_MEMSET_EXPLICIT)|g' \
1716 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1717 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1718 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1719 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1720 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1721 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1722 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1723 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1724 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1725 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1726 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1727 -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
1728 -e 's|@''HAVE_STRERRORNAME_NP''@|$(HAVE_STRERRORNAME_NP)|g' \
1729 -e 's|@''HAVE_SIGABBREV_NP''@|$(HAVE_SIGABBREV_NP)|g' \
1730 -e 's|@''HAVE_SIGDESCR_NP''@|$(HAVE_SIGDESCR_NP)|g' \
1731 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1732 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1733 -e 's|@''REPLACE_FFSLL''@|$(REPLACE_FFSLL)|g' \
1734 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
1735 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1736 -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \
1737 -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
1738 -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
1739 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1740 -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
1741 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1742 -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
1743 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1744 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1745 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1746 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1747 -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
1748 -e 's|@''REPLACE_STRERRORNAME_NP''@|$(REPLACE_STRERRORNAME_NP)|g' \
1749 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1750 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1751 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1752 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1753 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1754 > $@-t
1755 $(AM_V_at)mv $@-t $@
1756 MOSTLYCLEANFILES += string.h string.h-t
1757
1758 EXTRA_DIST += string.in.h
1759
1760 ## end gnulib module string
1761
1762 ## begin gnulib module strndup
1763
1764 if GL_COND_OBJ_STRNDUP
1765 libgnu_la_SOURCES += strndup.c
1766 endif
1767
1768 ## end gnulib module strndup
1769
1770 ## begin gnulib module strnlen
1771
1772 if GL_COND_OBJ_STRNLEN
1773 libgnu_la_SOURCES += strnlen.c
1774 endif
1775
1776 ## end gnulib module strnlen
1777
1778 ## begin gnulib module strnlen1
1779
1780 libgnu_la_SOURCES += strnlen1.h strnlen1.c
1781
1782 ## end gnulib module strnlen1
1783
1784 ## begin gnulib module strstr
1785
1786
1787 EXTRA_DIST += strstr.c
1788
1789 EXTRA_libgnu_la_SOURCES += strstr.c
1790
1791 ## end gnulib module strstr
1792
1793 ## begin gnulib module strstr-simple
1794
1795
1796 EXTRA_DIST += str-two-way.h strstr.c
1797
1798 EXTRA_libgnu_la_SOURCES += strstr.c
1799
1800 ## end gnulib module strstr-simple
1801
1802 ## begin gnulib module sys_random
1803
1804 BUILT_SOURCES += sys/random.h
1805
1806 # We need the following in order to create <sys/random.h> when the system
1807 # doesn't have one.
1808 sys/random.h: sys_random.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1809 $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
1810 $(AM_V_at)$(SED_HEADER_STDOUT) \
1811 -e 's|@''GUARD_PREFIX''@|GL|g' \
1812 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1813 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1814 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1815 -e 's|@''NEXT_SYS_RANDOM_H''@|$(NEXT_SYS_RANDOM_H)|g' \
1816 -e 's|@''HAVE_SYS_RANDOM_H''@|$(HAVE_SYS_RANDOM_H)|g' \
1817 -e 's/@''GNULIB_GETRANDOM''@/$(GL_GNULIB_GETRANDOM)/g' \
1818 -e 's/@''HAVE_GETRANDOM''@/$(HAVE_GETRANDOM)/g' \
1819 -e 's/@''REPLACE_GETRANDOM''@/$(REPLACE_GETRANDOM)/g' \
1820 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1821 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1822 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1823 $(srcdir)/sys_random.in.h > $@-t
1824 $(AM_V_at)mv $@-t $@
1825 MOSTLYCLEANFILES += sys/random.h sys/random.h-t
1826 MOSTLYCLEANDIRS += sys
1827
1828 EXTRA_DIST += sys_random.in.h
1829
1830 ## end gnulib module sys_random
1831
1832 ## begin gnulib module sys_stat
1833
1834 BUILT_SOURCES += sys/stat.h
1835
1836 # We need the following in order to create <sys/stat.h> when the system
1837 # has one that is incomplete.
1838 sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1839 $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
1840 $(AM_V_at)$(SED_HEADER_STDOUT) \
1841 -e 's|@''GUARD_PREFIX''@|GL|g' \
1842 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1843 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1844 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1845 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1846 -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
1847 -e 's|@''WINDOWS_STAT_TIMESPEC''@|$(WINDOWS_STAT_TIMESPEC)|g' \
1848 -e 's/@''GNULIB_CHMOD''@/$(GL_GNULIB_CHMOD)/g' \
1849 -e 's/@''GNULIB_FCHMODAT''@/$(GL_GNULIB_FCHMODAT)/g' \
1850 -e 's/@''GNULIB_FSTAT''@/$(GL_GNULIB_FSTAT)/g' \
1851 -e 's/@''GNULIB_FSTATAT''@/$(GL_GNULIB_FSTATAT)/g' \
1852 -e 's/@''GNULIB_FUTIMENS''@/$(GL_GNULIB_FUTIMENS)/g' \
1853 -e 's/@''GNULIB_GETUMASK''@/$(GL_GNULIB_GETUMASK)/g' \
1854 -e 's/@''GNULIB_LCHMOD''@/$(GL_GNULIB_LCHMOD)/g' \
1855 -e 's/@''GNULIB_LSTAT''@/$(GL_GNULIB_LSTAT)/g' \
1856 -e 's/@''GNULIB_MKDIR''@/$(GL_GNULIB_MKDIR)/g' \
1857 -e 's/@''GNULIB_MKDIRAT''@/$(GL_GNULIB_MKDIRAT)/g' \
1858 -e 's/@''GNULIB_MKFIFO''@/$(GL_GNULIB_MKFIFO)/g' \
1859 -e 's/@''GNULIB_MKFIFOAT''@/$(GL_GNULIB_MKFIFOAT)/g' \
1860 -e 's/@''GNULIB_MKNOD''@/$(GL_GNULIB_MKNOD)/g' \
1861 -e 's/@''GNULIB_MKNODAT''@/$(GL_GNULIB_MKNODAT)/g' \
1862 -e 's/@''GNULIB_STAT''@/$(GL_GNULIB_STAT)/g' \
1863 -e 's/@''GNULIB_UTIMENSAT''@/$(GL_GNULIB_UTIMENSAT)/g' \
1864 -e 's/@''GNULIB_OVERRIDES_STRUCT_STAT''@/$(GL_GNULIB_OVERRIDES_STRUCT_STAT)/g' \
1865 -e 's/@''GNULIB_MDA_CHMOD''@/$(GL_GNULIB_MDA_CHMOD)/g' \
1866 -e 's/@''GNULIB_MDA_MKDIR''@/$(GL_GNULIB_MDA_MKDIR)/g' \
1867 -e 's/@''GNULIB_MDA_UMASK''@/$(GL_GNULIB_MDA_UMASK)/g' \
1868 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1869 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1870 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1871 -e 's|@''HAVE_GETUMASK''@|$(HAVE_GETUMASK)|g' \
1872 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1873 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1874 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1875 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1876 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1877 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1878 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1879 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1880 -e 's|@''REPLACE_CHMOD''@|$(REPLACE_CHMOD)|g' \
1881 -e 's|@''REPLACE_FCHMODAT''@|$(REPLACE_FCHMODAT)|g' \
1882 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1883 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1884 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1885 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1886 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1887 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1888 -e 's|@''REPLACE_MKFIFOAT''@|$(REPLACE_MKFIFOAT)|g' \
1889 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1890 -e 's|@''REPLACE_MKNODAT''@|$(REPLACE_MKNODAT)|g' \
1891 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1892 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1893 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1894 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1895 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1896 $(srcdir)/sys_stat.in.h > $@-t
1897 $(AM_V_at)mv $@-t $@
1898 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1899 MOSTLYCLEANDIRS += sys
1900
1901 EXTRA_DIST += sys_stat.in.h
1902
1903 ## end gnulib module sys_stat
1904
1905 ## begin gnulib module sys_types
1906
1907 BUILT_SOURCES += sys/types.h
1908
1909 # We need the following in order to create <sys/types.h> when the system
1910 # doesn't have one that works with the given compiler.
1911 sys/types.h: sys_types.in.h $(top_builddir)/config.status
1912 $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
1913 $(AM_V_at)$(SED_HEADER_STDOUT) \
1914 -e 's|@''GUARD_PREFIX''@|GL|g' \
1915 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1916 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1917 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1918 -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
1919 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
1920 -e 's|@''WINDOWS_STAT_INODES''@|$(WINDOWS_STAT_INODES)|g' \
1921 $(srcdir)/sys_types.in.h > $@-t
1922 $(AM_V_at)mv $@-t $@
1923 MOSTLYCLEANFILES += sys/types.h sys/types.h-t
1924
1925 EXTRA_DIST += sys_types.in.h
1926
1927 ## end gnulib module sys_types
1928
1929 ## begin gnulib module sys_wait
1930
1931 BUILT_SOURCES += sys/wait.h
1932
1933 # We need the following in order to create <sys/wait.h> when the system
1934 # has one that is incomplete.
1935 sys/wait.h: sys_wait.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
1936 $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
1937 $(AM_V_at)$(SED_HEADER_STDOUT) \
1938 -e 's|@''GUARD_PREFIX''@|GL|g' \
1939 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1940 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1941 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1942 -e 's|@''NEXT_SYS_WAIT_H''@|$(NEXT_SYS_WAIT_H)|g' \
1943 -e 's/@''GNULIB_WAITPID''@/$(GL_GNULIB_WAITPID)/g' \
1944 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1945 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1946 $(srcdir)/sys_wait.in.h > $@-t
1947 $(AM_V_at)mv $@-t $@
1948 MOSTLYCLEANFILES += sys/wait.h sys/wait.h-t
1949 MOSTLYCLEANDIRS += sys
1950
1951 EXTRA_DIST += sys_wait.in.h
1952
1953 ## end gnulib module sys_wait
1954
1955 ## begin gnulib module tempname
1956
1957 libgnu_la_SOURCES += tempname.c
1958
1959 EXTRA_DIST += tempname.h
1960
1961 ## end gnulib module tempname
1962
1963 ## begin gnulib module threadlib
1964
1965 libgnu_la_SOURCES += glthread/threadlib.c
1966
1967 ## end gnulib module threadlib
1968
1969 ## begin gnulib module time
1970
1971 BUILT_SOURCES += time.h
1972
1973 # We need the following in order to create <time.h> when the system
1974 # doesn't have one that works with the given compiler.
1975 time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1976 $(gl_V_at)$(SED_HEADER_STDOUT) \
1977 -e 's|@''GUARD_PREFIX''@|GL|g' \
1978 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1979 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1980 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1981 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1982 -e 's/@''GNULIB_CTIME''@/$(GL_GNULIB_CTIME)/g' \
1983 -e 's/@''GNULIB_LOCALTIME''@/$(GL_GNULIB_LOCALTIME)/g' \
1984 -e 's/@''GNULIB_MKTIME''@/$(GL_GNULIB_MKTIME)/g' \
1985 -e 's/@''GNULIB_NANOSLEEP''@/$(GL_GNULIB_NANOSLEEP)/g' \
1986 -e 's/@''GNULIB_STRFTIME''@/$(GL_GNULIB_STRFTIME)/g' \
1987 -e 's/@''GNULIB_STRPTIME''@/$(GL_GNULIB_STRPTIME)/g' \
1988 -e 's/@''GNULIB_TIMEGM''@/$(GL_GNULIB_TIMEGM)/g' \
1989 -e 's/@''GNULIB_TIMESPEC_GET''@/$(GL_GNULIB_TIMESPEC_GET)/g' \
1990 -e 's/@''GNULIB_TIMESPEC_GETRES''@/$(GL_GNULIB_TIMESPEC_GETRES)/g' \
1991 -e 's/@''GNULIB_TIME_R''@/$(GL_GNULIB_TIME_R)/g' \
1992 -e 's/@''GNULIB_TIME_RZ''@/$(GL_GNULIB_TIME_RZ)/g' \
1993 -e 's/@''GNULIB_TZSET''@/$(GL_GNULIB_TZSET)/g' \
1994 -e 's/@''GNULIB_MDA_TZSET''@/$(GL_GNULIB_MDA_TZSET)/g' \
1995 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
1996 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1997 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1998 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
1999 -e 's|@''HAVE_TIMESPEC_GET''@|$(HAVE_TIMESPEC_GET)|g' \
2000 -e 's|@''HAVE_TIMESPEC_GETRES''@|$(HAVE_TIMESPEC_GETRES)|g' \
2001 -e 's|@''HAVE_TIMEZONE_T''@|$(HAVE_TIMEZONE_T)|g' \
2002 -e 's|@''REPLACE_CTIME''@|$(REPLACE_CTIME)|g' \
2003 -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \
2004 -e 's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \
2005 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
2006 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
2007 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
2008 -e 's|@''REPLACE_STRFTIME''@|$(REPLACE_STRFTIME)|g' \
2009 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
2010 -e 's|@''REPLACE_TZSET''@|$(REPLACE_TZSET)|g' \
2011 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
2012 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2013 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2014 -e 's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|$(UNISTD_H_DEFINES_STRUCT_TIMESPEC)|g' \
2015 -e 's|@''TIME_H_DEFINES_TIME_UTC''@|$(TIME_H_DEFINES_TIME_UTC)|g' \
2016 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2017 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2018 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2019 $(srcdir)/time.in.h > $@-t
2020 $(AM_V_at)mv $@-t $@
2021 MOSTLYCLEANFILES += time.h time.h-t
2022
2023 EXTRA_DIST += time.in.h
2024
2025 ## end gnulib module time
2026
2027 ## begin gnulib module unistd
2028
2029 BUILT_SOURCES += unistd.h
2030 libgnu_la_SOURCES += unistd.c
2031
2032 # We need the following in order to create an empty placeholder for
2033 # <unistd.h> when the system doesn't have one.
2034 unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2035 $(gl_V_at)$(SED_HEADER_STDOUT) \
2036 -e 's|@''GUARD_PREFIX''@|GL|g' \
2037 -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
2038 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2039 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2040 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2041 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
2042 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
2043 -e 's/@''GNULIB_ACCESS''@/$(GL_GNULIB_ACCESS)/g' \
2044 -e 's/@''GNULIB_CHDIR''@/$(GL_GNULIB_CHDIR)/g' \
2045 -e 's/@''GNULIB_CHOWN''@/$(GL_GNULIB_CHOWN)/g' \
2046 -e 's/@''GNULIB_CLOSE''@/$(GL_GNULIB_CLOSE)/g' \
2047 -e 's/@''GNULIB_COPY_FILE_RANGE''@/$(GL_GNULIB_COPY_FILE_RANGE)/g' \
2048 -e 's/@''GNULIB_DUP''@/$(GL_GNULIB_DUP)/g' \
2049 -e 's/@''GNULIB_DUP2''@/$(GL_GNULIB_DUP2)/g' \
2050 -e 's/@''GNULIB_DUP3''@/$(GL_GNULIB_DUP3)/g' \
2051 -e 's/@''GNULIB_ENVIRON''@/$(GL_GNULIB_ENVIRON)/g' \
2052 -e 's/@''GNULIB_EUIDACCESS''@/$(GL_GNULIB_EUIDACCESS)/g' \
2053 -e 's/@''GNULIB_EXECL''@/$(GL_GNULIB_EXECL)/g' \
2054 -e 's/@''GNULIB_EXECLE''@/$(GL_GNULIB_EXECLE)/g' \
2055 -e 's/@''GNULIB_EXECLP''@/$(GL_GNULIB_EXECLP)/g' \
2056 -e 's/@''GNULIB_EXECV''@/$(GL_GNULIB_EXECV)/g' \
2057 -e 's/@''GNULIB_EXECVE''@/$(GL_GNULIB_EXECVE)/g' \
2058 -e 's/@''GNULIB_EXECVP''@/$(GL_GNULIB_EXECVP)/g' \
2059 -e 's/@''GNULIB_EXECVPE''@/$(GL_GNULIB_EXECVPE)/g' \
2060 -e 's/@''GNULIB_FACCESSAT''@/$(GL_GNULIB_FACCESSAT)/g' \
2061 -e 's/@''GNULIB_FCHDIR''@/$(GL_GNULIB_FCHDIR)/g' \
2062 -e 's/@''GNULIB_FCHOWNAT''@/$(GL_GNULIB_FCHOWNAT)/g' \
2063 -e 's/@''GNULIB_FDATASYNC''@/$(GL_GNULIB_FDATASYNC)/g' \
2064 -e 's/@''GNULIB_FSYNC''@/$(GL_GNULIB_FSYNC)/g' \
2065 -e 's/@''GNULIB_FTRUNCATE''@/$(GL_GNULIB_FTRUNCATE)/g' \
2066 -e 's/@''GNULIB_GETCWD''@/$(GL_GNULIB_GETCWD)/g' \
2067 -e 's/@''GNULIB_GETDOMAINNAME''@/$(GL_GNULIB_GETDOMAINNAME)/g' \
2068 -e 's/@''GNULIB_GETDTABLESIZE''@/$(GL_GNULIB_GETDTABLESIZE)/g' \
2069 -e 's/@''GNULIB_GETENTROPY''@/$(GL_GNULIB_GETENTROPY)/g' \
2070 -e 's/@''GNULIB_GETGROUPS''@/$(GL_GNULIB_GETGROUPS)/g' \
2071 -e 's/@''GNULIB_GETHOSTNAME''@/$(GL_GNULIB_GETHOSTNAME)/g' \
2072 -e 's/@''GNULIB_GETLOGIN''@/$(GL_GNULIB_GETLOGIN)/g' \
2073 -e 's/@''GNULIB_GETLOGIN_R''@/$(GL_GNULIB_GETLOGIN_R)/g' \
2074 -e 's/@''GNULIB_GETOPT_POSIX''@/$(GL_GNULIB_GETOPT_POSIX)/g' \
2075 -e 's/@''GNULIB_GETPAGESIZE''@/$(GL_GNULIB_GETPAGESIZE)/g' \
2076 -e 's/@''GNULIB_GETPASS''@/$(GL_GNULIB_GETPASS)/g' \
2077 -e 's/@''GNULIB_GETPASS_GNU''@/$(GL_GNULIB_GETPASS_GNU)/g' \
2078 -e 's/@''GNULIB_GETUSERSHELL''@/$(GL_GNULIB_GETUSERSHELL)/g' \
2079 -e 's/@''GNULIB_GROUP_MEMBER''@/$(GL_GNULIB_GROUP_MEMBER)/g' \
2080 -e 's/@''GNULIB_ISATTY''@/$(GL_GNULIB_ISATTY)/g' \
2081 -e 's/@''GNULIB_LCHOWN''@/$(GL_GNULIB_LCHOWN)/g' \
2082 -e 's/@''GNULIB_LINK''@/$(GL_GNULIB_LINK)/g' \
2083 -e 's/@''GNULIB_LINKAT''@/$(GL_GNULIB_LINKAT)/g' \
2084 -e 's/@''GNULIB_LSEEK''@/$(GL_GNULIB_LSEEK)/g' \
2085 -e 's/@''GNULIB_PIPE''@/$(GL_GNULIB_PIPE)/g' \
2086 -e 's/@''GNULIB_PIPE2''@/$(GL_GNULIB_PIPE2)/g' \
2087 -e 's/@''GNULIB_PREAD''@/$(GL_GNULIB_PREAD)/g' \
2088 -e 's/@''GNULIB_PWRITE''@/$(GL_GNULIB_PWRITE)/g' \
2089 -e 's/@''GNULIB_READ''@/$(GL_GNULIB_READ)/g' \
2090 -e 's/@''GNULIB_READLINK''@/$(GL_GNULIB_READLINK)/g' \
2091 -e 's/@''GNULIB_READLINKAT''@/$(GL_GNULIB_READLINKAT)/g' \
2092 -e 's/@''GNULIB_RMDIR''@/$(GL_GNULIB_RMDIR)/g' \
2093 -e 's/@''GNULIB_SETHOSTNAME''@/$(GL_GNULIB_SETHOSTNAME)/g' \
2094 -e 's/@''GNULIB_SLEEP''@/$(GL_GNULIB_SLEEP)/g' \
2095 -e 's/@''GNULIB_SYMLINK''@/$(GL_GNULIB_SYMLINK)/g' \
2096 -e 's/@''GNULIB_SYMLINKAT''@/$(GL_GNULIB_SYMLINKAT)/g' \
2097 -e 's/@''GNULIB_TRUNCATE''@/$(GL_GNULIB_TRUNCATE)/g' \
2098 -e 's/@''GNULIB_TTYNAME_R''@/$(GL_GNULIB_TTYNAME_R)/g' \
2099 -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GL_GNULIB_UNISTD_H_GETOPT)/g' \
2100 -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GL_GNULIB_UNISTD_H_NONBLOCKING)/g' \
2101 -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GL_GNULIB_UNISTD_H_SIGPIPE)/g' \
2102 -e 's/@''GNULIB_UNLINK''@/$(GL_GNULIB_UNLINK)/g' \
2103 -e 's/@''GNULIB_UNLINKAT''@/$(GL_GNULIB_UNLINKAT)/g' \
2104 -e 's/@''GNULIB_USLEEP''@/$(GL_GNULIB_USLEEP)/g' \
2105 -e 's/@''GNULIB_WRITE''@/$(GL_GNULIB_WRITE)/g' \
2106 -e 's/@''GNULIB_MDA_ACCESS''@/$(GL_GNULIB_MDA_ACCESS)/g' \
2107 -e 's/@''GNULIB_MDA_CHDIR''@/$(GL_GNULIB_MDA_CHDIR)/g' \
2108 -e 's/@''GNULIB_MDA_CLOSE''@/$(GL_GNULIB_MDA_CLOSE)/g' \
2109 -e 's/@''GNULIB_MDA_DUP''@/$(GL_GNULIB_MDA_DUP)/g' \
2110 -e 's/@''GNULIB_MDA_DUP2''@/$(GL_GNULIB_MDA_DUP2)/g' \
2111 -e 's/@''GNULIB_MDA_EXECL''@/$(GL_GNULIB_MDA_EXECL)/g' \
2112 -e 's/@''GNULIB_MDA_EXECLE''@/$(GL_GNULIB_MDA_EXECLE)/g' \
2113 -e 's/@''GNULIB_MDA_EXECLP''@/$(GL_GNULIB_MDA_EXECLP)/g' \
2114 -e 's/@''GNULIB_MDA_EXECV''@/$(GL_GNULIB_MDA_EXECV)/g' \
2115 -e 's/@''GNULIB_MDA_EXECVE''@/$(GL_GNULIB_MDA_EXECVE)/g' \
2116 -e 's/@''GNULIB_MDA_EXECVP''@/$(GL_GNULIB_MDA_EXECVP)/g' \
2117 -e 's/@''GNULIB_MDA_EXECVPE''@/$(GL_GNULIB_MDA_EXECVPE)/g' \
2118 -e 's/@''GNULIB_MDA_GETCWD''@/$(GL_GNULIB_MDA_GETCWD)/g' \
2119 -e 's/@''GNULIB_MDA_GETPID''@/$(GL_GNULIB_MDA_GETPID)/g' \
2120 -e 's/@''GNULIB_MDA_ISATTY''@/$(GL_GNULIB_MDA_ISATTY)/g' \
2121 -e 's/@''GNULIB_MDA_LSEEK''@/$(GL_GNULIB_MDA_LSEEK)/g' \
2122 -e 's/@''GNULIB_MDA_READ''@/$(GL_GNULIB_MDA_READ)/g' \
2123 -e 's/@''GNULIB_MDA_RMDIR''@/$(GL_GNULIB_MDA_RMDIR)/g' \
2124 -e 's/@''GNULIB_MDA_SWAB''@/$(GL_GNULIB_MDA_SWAB)/g' \
2125 -e 's/@''GNULIB_MDA_UNLINK''@/$(GL_GNULIB_MDA_UNLINK)/g' \
2126 -e 's/@''GNULIB_MDA_WRITE''@/$(GL_GNULIB_MDA_WRITE)/g' \
2127 < $(srcdir)/unistd.in.h | \
2128 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
2129 -e 's|@''HAVE_COPY_FILE_RANGE''@|$(HAVE_COPY_FILE_RANGE)|g' \
2130 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
2131 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
2132 -e 's|@''HAVE_EXECVPE''@|$(HAVE_EXECVPE)|g' \
2133 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
2134 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
2135 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
2136 -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
2137 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
2138 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
2139 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
2140 -e 's|@''HAVE_GETENTROPY''@|$(HAVE_GETENTROPY)|g' \
2141 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
2142 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
2143 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
2144 -e 's|@''HAVE_GETPASS''@|$(HAVE_GETPASS)|g' \
2145 -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
2146 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
2147 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
2148 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
2149 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
2150 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
2151 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
2152 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
2153 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
2154 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
2155 -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
2156 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
2157 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
2158 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
2159 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
2160 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
2161 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
2162 -e 's|@''HAVE_DECL_EXECVPE''@|$(HAVE_DECL_EXECVPE)|g' \
2163 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
2164 -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
2165 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
2166 -e 's|@''HAVE_DECL_GETLOGIN''@|$(HAVE_DECL_GETLOGIN)|g' \
2167 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
2168 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
2169 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
2170 -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
2171 -e 's|@''HAVE_DECL_TRUNCATE''@|$(HAVE_DECL_TRUNCATE)|g' \
2172 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
2173 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
2174 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
2175 | \
2176 sed -e 's|@''REPLACE_ACCESS''@|$(REPLACE_ACCESS)|g' \
2177 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
2178 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
2179 -e 's|@''REPLACE_COPY_FILE_RANGE''@|$(REPLACE_COPY_FILE_RANGE)|g' \
2180 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
2181 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
2182 -e 's|@''REPLACE_EXECL''@|$(REPLACE_EXECL)|g' \
2183 -e 's|@''REPLACE_EXECLE''@|$(REPLACE_EXECLE)|g' \
2184 -e 's|@''REPLACE_EXECLP''@|$(REPLACE_EXECLP)|g' \
2185 -e 's|@''REPLACE_EXECV''@|$(REPLACE_EXECV)|g' \
2186 -e 's|@''REPLACE_EXECVE''@|$(REPLACE_EXECVE)|g' \
2187 -e 's|@''REPLACE_EXECVP''@|$(REPLACE_EXECVP)|g' \
2188 -e 's|@''REPLACE_EXECVPE''@|$(REPLACE_EXECVPE)|g' \
2189 -e 's|@''REPLACE_FACCESSAT''@|$(REPLACE_FACCESSAT)|g' \
2190 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
2191 -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
2192 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
2193 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
2194 -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \
2195 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
2196 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
2197 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
2198 -e 's|@''REPLACE_GETPASS''@|$(REPLACE_GETPASS)|g' \
2199 -e 's|@''REPLACE_GETPASS_FOR_GETPASS_GNU''@|$(REPLACE_GETPASS_FOR_GETPASS_GNU)|g' \
2200 -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
2201 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
2202 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
2203 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
2204 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
2205 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
2206 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
2207 -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
2208 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
2209 -e 's|@''REPLACE_READLINKAT''@|$(REPLACE_READLINKAT)|g' \
2210 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
2211 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
2212 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
2213 -e 's|@''REPLACE_SYMLINKAT''@|$(REPLACE_SYMLINKAT)|g' \
2214 -e 's|@''REPLACE_TRUNCATE''@|$(REPLACE_TRUNCATE)|g' \
2215 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
2216 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
2217 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
2218 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
2219 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
2220 -e 's|@''UNISTD_H_HAVE_SYS_RANDOM_H''@|$(UNISTD_H_HAVE_SYS_RANDOM_H)|g' \
2221 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
2222 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
2223 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2224 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2225 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2226 > $@-t
2227 $(AM_V_at)mv $@-t $@
2228 MOSTLYCLEANFILES += unistd.h unistd.h-t
2229
2230 EXTRA_DIST += unistd.in.h
2231
2232 ## end gnulib module unistd
2233
2234 ## begin gnulib module vasnprintf
2235
2236
2237 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
2238
2239 EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
2240
2241 ## end gnulib module vasnprintf
2242
2243 ## begin gnulib module vasprintf
2244
2245
2246 EXTRA_DIST += asprintf.c vasprintf.c
2247
2248 EXTRA_libgnu_la_SOURCES += asprintf.c vasprintf.c
2249
2250 ## end gnulib module vasprintf
2251
2252 ## begin gnulib module verify
2253
2254
2255 EXTRA_DIST += verify.h
2256
2257 ## end gnulib module verify
2258
2259 ## begin gnulib module wchar
2260
2261 BUILT_SOURCES += wchar.h
2262
2263 # We need the following in order to create <wchar.h> when the system
2264 # version does not work standalone.
2265 wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2266 $(gl_V_at)$(SED_HEADER_STDOUT) \
2267 -e 's|@''GUARD_PREFIX''@|GL|g' \
2268 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2269 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2270 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2271 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
2272 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
2273 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
2274 -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \
2275 -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \
2276 -e 's/@''GNULIB_BTOWC''@/$(GL_GNULIB_BTOWC)/g' \
2277 -e 's/@''GNULIB_WCTOB''@/$(GL_GNULIB_WCTOB)/g' \
2278 -e 's/@''GNULIB_MBSINIT''@/$(GL_GNULIB_MBSINIT)/g' \
2279 -e 's/@''GNULIB_MBRTOWC''@/$(GL_GNULIB_MBRTOWC)/g' \
2280 -e 's/@''GNULIB_MBRLEN''@/$(GL_GNULIB_MBRLEN)/g' \
2281 -e 's/@''GNULIB_MBSRTOWCS''@/$(GL_GNULIB_MBSRTOWCS)/g' \
2282 -e 's/@''GNULIB_MBSNRTOWCS''@/$(GL_GNULIB_MBSNRTOWCS)/g' \
2283 -e 's/@''GNULIB_WCRTOMB''@/$(GL_GNULIB_WCRTOMB)/g' \
2284 -e 's/@''GNULIB_WCSRTOMBS''@/$(GL_GNULIB_WCSRTOMBS)/g' \
2285 -e 's/@''GNULIB_WCSNRTOMBS''@/$(GL_GNULIB_WCSNRTOMBS)/g' \
2286 -e 's/@''GNULIB_WCWIDTH''@/$(GL_GNULIB_WCWIDTH)/g' \
2287 -e 's/@''GNULIB_WMEMCHR''@/$(GL_GNULIB_WMEMCHR)/g' \
2288 -e 's/@''GNULIB_WMEMCMP''@/$(GL_GNULIB_WMEMCMP)/g' \
2289 -e 's/@''GNULIB_WMEMCPY''@/$(GL_GNULIB_WMEMCPY)/g' \
2290 -e 's/@''GNULIB_WMEMMOVE''@/$(GL_GNULIB_WMEMMOVE)/g' \
2291 -e 's/@''GNULIB_WMEMPCPY''@/$(GL_GNULIB_WMEMPCPY)/g' \
2292 -e 's/@''GNULIB_WMEMSET''@/$(GL_GNULIB_WMEMSET)/g' \
2293 -e 's/@''GNULIB_WCSLEN''@/$(GL_GNULIB_WCSLEN)/g' \
2294 -e 's/@''GNULIB_WCSNLEN''@/$(GL_GNULIB_WCSNLEN)/g' \
2295 -e 's/@''GNULIB_WCSCPY''@/$(GL_GNULIB_WCSCPY)/g' \
2296 -e 's/@''GNULIB_WCPCPY''@/$(GL_GNULIB_WCPCPY)/g' \
2297 -e 's/@''GNULIB_WCSNCPY''@/$(GL_GNULIB_WCSNCPY)/g' \
2298 -e 's/@''GNULIB_WCPNCPY''@/$(GL_GNULIB_WCPNCPY)/g' \
2299 -e 's/@''GNULIB_WCSCAT''@/$(GL_GNULIB_WCSCAT)/g' \
2300 -e 's/@''GNULIB_WCSNCAT''@/$(GL_GNULIB_WCSNCAT)/g' \
2301 -e 's/@''GNULIB_WCSCMP''@/$(GL_GNULIB_WCSCMP)/g' \
2302 -e 's/@''GNULIB_WCSNCMP''@/$(GL_GNULIB_WCSNCMP)/g' \
2303 -e 's/@''GNULIB_WCSCASECMP''@/$(GL_GNULIB_WCSCASECMP)/g' \
2304 -e 's/@''GNULIB_WCSNCASECMP''@/$(GL_GNULIB_WCSNCASECMP)/g' \
2305 -e 's/@''GNULIB_WCSCOLL''@/$(GL_GNULIB_WCSCOLL)/g' \
2306 -e 's/@''GNULIB_WCSXFRM''@/$(GL_GNULIB_WCSXFRM)/g' \
2307 -e 's/@''GNULIB_WCSDUP''@/$(GL_GNULIB_WCSDUP)/g' \
2308 -e 's/@''GNULIB_WCSCHR''@/$(GL_GNULIB_WCSCHR)/g' \
2309 -e 's/@''GNULIB_WCSRCHR''@/$(GL_GNULIB_WCSRCHR)/g' \
2310 -e 's/@''GNULIB_WCSCSPN''@/$(GL_GNULIB_WCSCSPN)/g' \
2311 -e 's/@''GNULIB_WCSSPN''@/$(GL_GNULIB_WCSSPN)/g' \
2312 -e 's/@''GNULIB_WCSPBRK''@/$(GL_GNULIB_WCSPBRK)/g' \
2313 -e 's/@''GNULIB_WCSSTR''@/$(GL_GNULIB_WCSSTR)/g' \
2314 -e 's/@''GNULIB_WCSTOK''@/$(GL_GNULIB_WCSTOK)/g' \
2315 -e 's/@''GNULIB_WCSWIDTH''@/$(GL_GNULIB_WCSWIDTH)/g' \
2316 -e 's/@''GNULIB_WCSFTIME''@/$(GL_GNULIB_WCSFTIME)/g' \
2317 -e 's/@''GNULIB_MDA_WCSDUP''@/$(GL_GNULIB_MDA_WCSDUP)/g' \
2318 -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \
2319 < $(srcdir)/wchar.in.h | \
2320 sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
2321 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
2322 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
2323 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
2324 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
2325 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
2326 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
2327 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
2328 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
2329 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
2330 -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
2331 -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
2332 -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
2333 -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
2334 -e 's|@''HAVE_WMEMPCPY''@|$(HAVE_WMEMPCPY)|g' \
2335 -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
2336 -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
2337 -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
2338 -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
2339 -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
2340 -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
2341 -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
2342 -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
2343 -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
2344 -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
2345 -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
2346 -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
2347 -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
2348 -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
2349 -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
2350 -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
2351 -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
2352 -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
2353 -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
2354 -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
2355 -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
2356 -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
2357 -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
2358 -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
2359 -e 's|@''HAVE_WCSFTIME''@|$(HAVE_WCSFTIME)|g' \
2360 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
2361 -e 's|@''HAVE_DECL_WCSDUP''@|$(HAVE_DECL_WCSDUP)|g' \
2362 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
2363 | \
2364 sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
2365 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
2366 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
2367 -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \
2368 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
2369 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
2370 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
2371 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
2372 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
2373 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
2374 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
2375 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
2376 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
2377 -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
2378 -e 's|@''REPLACE_WCSFTIME''@|$(REPLACE_WCSFTIME)|g' \
2379 -e 's|@''REPLACE_WCSTOK''@|$(REPLACE_WCSTOK)|g' \
2380 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2381 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2382 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2383 > $@-t
2384 $(AM_V_at)mv $@-t $@
2385 MOSTLYCLEANFILES += wchar.h wchar.h-t
2386
2387 EXTRA_DIST += wchar.in.h
2388
2389 ## end gnulib module wchar
2390
2391 ## begin gnulib module wcrtomb
2392
2393 if GL_COND_OBJ_WCRTOMB
2394 libgnu_la_SOURCES += wcrtomb.c
2395 endif
2396
2397 ## end gnulib module wcrtomb
2398
2399 ## begin gnulib module wctype-h
2400
2401 BUILT_SOURCES += wctype.h
2402 libgnu_la_SOURCES += wctype-h.c
2403
2404 # We need the following in order to create <wctype.h> when the system
2405 # doesn't have one that works with the given compiler.
2406 wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
2407 $(gl_V_at)$(SED_HEADER_STDOUT) \
2408 -e 's|@''GUARD_PREFIX''@|GL|g' \
2409 -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
2410 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2411 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2412 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2413 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
2414 -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \
2415 -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \
2416 -e 's/@''GNULIB_ISWBLANK''@/$(GL_GNULIB_ISWBLANK)/g' \
2417 -e 's/@''GNULIB_ISWDIGIT''@/$(GL_GNULIB_ISWDIGIT)/g' \
2418 -e 's/@''GNULIB_ISWXDIGIT''@/$(GL_GNULIB_ISWXDIGIT)/g' \
2419 -e 's/@''GNULIB_WCTYPE''@/$(GL_GNULIB_WCTYPE)/g' \
2420 -e 's/@''GNULIB_ISWCTYPE''@/$(GL_GNULIB_ISWCTYPE)/g' \
2421 -e 's/@''GNULIB_WCTRANS''@/$(GL_GNULIB_WCTRANS)/g' \
2422 -e 's/@''GNULIB_TOWCTRANS''@/$(GL_GNULIB_TOWCTRANS)/g' \
2423 -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
2424 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
2425 -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
2426 -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
2427 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
2428 -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
2429 -e 's/@''REPLACE_ISWDIGIT''@/$(REPLACE_ISWDIGIT)/g' \
2430 -e 's/@''REPLACE_ISWXDIGIT''@/$(REPLACE_ISWXDIGIT)/g' \
2431 -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
2432 -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
2433 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2434 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2435 $(srcdir)/wctype.in.h > $@-t
2436 $(AM_V_at)mv $@-t $@
2437 MOSTLYCLEANFILES += wctype.h wctype.h-t
2438
2439 EXTRA_DIST += wctype.in.h
2440
2441 ## end gnulib module wctype-h
2442
2443 ## begin gnulib module windows-mutex
2444
2445 if GL_COND_OBJ_WINDOWS_MUTEX
2446 libgnu_la_SOURCES += windows-mutex.c
2447 endif
2448
2449 EXTRA_DIST += windows-initguard.h windows-mutex.h
2450
2451 ## end gnulib module windows-mutex
2452
2453 ## begin gnulib module windows-once
2454
2455 if GL_COND_OBJ_WINDOWS_ONCE
2456 libgnu_la_SOURCES += windows-once.c
2457 endif
2458
2459 EXTRA_DIST += windows-once.h
2460
2461 ## end gnulib module windows-once
2462
2463 ## begin gnulib module windows-recmutex
2464
2465 if GL_COND_OBJ_WINDOWS_RECMUTEX
2466 libgnu_la_SOURCES += windows-recmutex.c
2467 endif
2468
2469 EXTRA_DIST += windows-initguard.h windows-recmutex.h
2470
2471 ## end gnulib module windows-recmutex
2472
2473 ## begin gnulib module windows-rwlock
2474
2475 if GL_COND_OBJ_WINDOWS_RWLOCK
2476 libgnu_la_SOURCES += windows-rwlock.c
2477 endif
2478
2479 EXTRA_DIST += windows-initguard.h windows-rwlock.h
2480
2481 ## end gnulib module windows-rwlock
2482
2483 ## begin gnulib module wmemchr
2484
2485 if GL_COND_OBJ_WMEMCHR
2486 libgnu_la_SOURCES += wmemchr.c
2487 endif
2488
2489 EXTRA_DIST += wmemchr-impl.h
2490
2491 ## end gnulib module wmemchr
2492
2493 ## begin gnulib module wmempcpy
2494
2495 if GL_COND_OBJ_WMEMPCPY
2496 libgnu_la_SOURCES += wmempcpy.c
2497 endif
2498
2499 ## end gnulib module wmempcpy
2500
2501 ## begin gnulib module xalloc-oversized
2502
2503
2504 EXTRA_DIST += xalloc-oversized.h
2505
2506 ## end gnulib module xalloc-oversized
2507
2508 ## begin gnulib module xsize
2509
2510 libgnu_la_SOURCES += xsize.h xsize.c
2511
2512 ## end gnulib module xsize
2513
2514
2515 mostlyclean-local: mostlyclean-generic
2516 @for dir in '' $(MOSTLYCLEANDIRS); do \
2517 if test -n "$$dir" && test -d $$dir; then \
2518 echo "rmdir $$dir"; rmdir $$dir; \
2519 fi; \
2520 done; \
2521 :
2522 distclean-local: distclean-gnulib-libobjs
2523 distclean-gnulib-libobjs:
2524 -rm -f @gl_LIBOBJDEPS@
2525 maintainer-clean-local: distclean-gnulib-libobjs