summaryrefslogtreecommitdiffstats
path: root/gl/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'gl/Makefile.am')
-rw-r--r--gl/Makefile.am807
1 files changed, 425 insertions, 382 deletions
diff --git a/gl/Makefile.am b/gl/Makefile.am
index 5451c47..deb665c 100644
--- a/gl/Makefile.am
+++ b/gl/Makefile.am
@@ -1,10 +1,10 @@
1## DO NOT EDIT! GENERATED AUTOMATICALLY! 1## DO NOT EDIT! GENERATED AUTOMATICALLY!
2## Process this file with automake to produce Makefile.in. 2## Process this file with automake to produce Makefile.in.
3# Copyright (C) 2002-2021 Free Software Foundation, Inc. 3# Copyright (C) 2002-2022 Free Software Foundation, Inc.
4# 4#
5# This file is free software; you can redistribute it and/or modify 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 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 7# the Free Software Foundation, either version 3 of the License, or
8# (at your option) any later version. 8# (at your option) any later version.
9# 9#
10# This file is distributed in the hope that it will be useful, 10# This file is distributed in the hope that it will be useful,
@@ -56,7 +56,7 @@
56# vasprintf \ 56# vasprintf \
57# vsnprintf 57# vsnprintf
58 58
59AUTOMAKE_OPTIONS = 1.11 gnits subdir-objects 59AUTOMAKE_OPTIONS = 1.14 gnits subdir-objects
60 60
61SUBDIRS = 61SUBDIRS =
62noinst_HEADERS = 62noinst_HEADERS =
@@ -79,6 +79,7 @@ AM_CFLAGS =
79noinst_LIBRARIES += libgnu.a 79noinst_LIBRARIES += libgnu.a
80 80
81libgnu_a_SOURCES = 81libgnu_a_SOURCES =
82libgnu_a_CFLAGS = $(AM_CFLAGS) $(GL_CFLAG_GNULIB_WARNINGS)
82libgnu_a_LIBADD = $(gl_LIBOBJS) 83libgnu_a_LIBADD = $(gl_LIBOBJS)
83libgnu_a_DEPENDENCIES = $(gl_LIBOBJS) 84libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
84EXTRA_libgnu_a_SOURCES = 85EXTRA_libgnu_a_SOURCES =
@@ -100,11 +101,10 @@ BUILT_SOURCES += $(ALLOCA_H)
100# doesn't have one that works with the given compiler. 101# doesn't have one that works with the given compiler.
101if GL_GENERATE_ALLOCA_H 102if GL_GENERATE_ALLOCA_H
102alloca.h: alloca.in.h $(top_builddir)/config.status 103alloca.h: alloca.in.h $(top_builddir)/config.status
103 $(AM_V_GEN)rm -f $@-t $@ && \ 104 $(gl_V_at)$(SED_HEADER_STDOUT) \
104 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 105 -e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' \
105 sed -e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' < $(srcdir)/alloca.in.h; \ 106 $(srcdir)/alloca.in.h > $@-t
106 } > $@-t && \ 107 $(AM_V_at)mv $@-t $@
107 mv -f $@-t $@
108else 108else
109alloca.h: $(top_builddir)/config.status 109alloca.h: $(top_builddir)/config.status
110 rm -f $@ 110 rm -f $@
@@ -122,10 +122,9 @@ BUILT_SOURCES += arpa/inet.h
122# We need the following in order to create <arpa/inet.h> when the system 122# We need the following in order to create <arpa/inet.h> when the system
123# doesn't have one. 123# doesn't have one.
124arpa/inet.h: arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) 124arpa/inet.h: arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
125 $(AM_V_at)$(MKDIR_P) arpa 125 $(AM_V_GEN)$(MKDIR_P) '%reldir%/arpa'
126 $(AM_V_GEN)rm -f $@-t $@ && \ 126 $(AM_V_at)$(SED_HEADER_STDOUT) \
127 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 127 -e 's|@''GUARD_PREFIX''@|GL|g' \
128 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
129 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 128 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
130 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 129 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
131 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 130 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
@@ -142,9 +141,8 @@ arpa/inet.h: arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON
142 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 141 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
143 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ 142 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
144 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ 143 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
145 < $(srcdir)/arpa_inet.in.h; \ 144 $(srcdir)/arpa_inet.in.h > $@-t
146 } > $@-t && \ 145 $(AM_V_at)mv $@-t $@
147 mv $@-t $@
148MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t 146MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
149MOSTLYCLEANDIRS += arpa 147MOSTLYCLEANDIRS += arpa
150 148
@@ -175,10 +173,9 @@ EXTRA_DIST += basename-lgpl.h
175 173
176## begin gnulib module btowc 174## begin gnulib module btowc
177 175
178 176if GL_COND_OBJ_BTOWC
179EXTRA_DIST += btowc.c 177libgnu_a_SOURCES += btowc.c
180 178endif
181EXTRA_libgnu_a_SOURCES += btowc.c
182 179
183## end gnulib module btowc 180## end gnulib module btowc
184 181
@@ -190,11 +187,8 @@ BUILT_SOURCES += $(BYTESWAP_H)
190# doesn't have one. 187# doesn't have one.
191if GL_GENERATE_BYTESWAP_H 188if GL_GENERATE_BYTESWAP_H
192byteswap.h: byteswap.in.h $(top_builddir)/config.status 189byteswap.h: byteswap.in.h $(top_builddir)/config.status
193 $(AM_V_GEN)rm -f $@-t $@ && \ 190 $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/byteswap.in.h
194 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 191 $(AM_V_at)mv $@-t $@
195 cat $(srcdir)/byteswap.in.h; \
196 } > $@-t && \
197 mv -f $@-t $@
198else 192else
199byteswap.h: $(top_builddir)/config.status 193byteswap.h: $(top_builddir)/config.status
200 rm -f $@ 194 rm -f $@
@@ -233,10 +227,9 @@ EXTRA_DIST += cloexec.h
233 227
234## begin gnulib module close 228## begin gnulib module close
235 229
236 230if GL_COND_OBJ_CLOSE
237EXTRA_DIST += close.c 231libgnu_a_SOURCES += close.c
238 232endif
239EXTRA_libgnu_a_SOURCES += close.c
240 233
241## end gnulib module close 234## end gnulib module close
242 235
@@ -282,10 +275,9 @@ EXTRA_DIST += dirname.h
282 275
283## begin gnulib module dup2 276## begin gnulib module dup2
284 277
285 278if GL_COND_OBJ_DUP2
286EXTRA_DIST += dup2.c 279libgnu_a_SOURCES += dup2.c
287 280endif
288EXTRA_libgnu_a_SOURCES += dup2.c
289 281
290## end gnulib module dup2 282## end gnulib module dup2
291 283
@@ -294,27 +286,24 @@ EXTRA_libgnu_a_SOURCES += dup2.c
294BUILT_SOURCES += malloc/dynarray.gl.h malloc/dynarray-skeleton.gl.h 286BUILT_SOURCES += malloc/dynarray.gl.h malloc/dynarray-skeleton.gl.h
295 287
296malloc/dynarray.gl.h: malloc/dynarray.h 288malloc/dynarray.gl.h: malloc/dynarray.h
297 $(AM_V_at)$(MKDIR_P) malloc 289 $(AM_V_GEN)$(MKDIR_P) '%reldir%/malloc'
298 $(AM_V_GEN)rm -f $@-t $@ && \ 290 $(AM_V_at)$(SED_HEADER_STDOUT) \
299 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 291 -e '/libc_hidden_proto/d' \
300 sed -e '/libc_hidden_proto/d' < $(srcdir)/malloc/dynarray.h; \ 292 $(srcdir)/malloc/dynarray.h > $@-t
301 } > $@-t && \ 293 $(AM_V_at)mv $@-t $@
302 mv $@-t $@
303MOSTLYCLEANFILES += malloc/dynarray.gl.h malloc/dynarray.gl.h-t 294MOSTLYCLEANFILES += malloc/dynarray.gl.h malloc/dynarray.gl.h-t
304 295
305malloc/dynarray-skeleton.gl.h: malloc/dynarray-skeleton.c 296malloc/dynarray-skeleton.gl.h: malloc/dynarray-skeleton.c
306 $(AM_V_at)$(MKDIR_P) malloc 297 $(AM_V_GEN)$(MKDIR_P) '%reldir%/malloc'
307 $(AM_V_GEN)rm -f $@-t $@ && \ 298 $(AM_V_at)$(SED_HEADER_STDOUT) \
308 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 299 -e 's|<malloc/dynarray\.h>|<malloc/dynarray.gl.h>|g' \
309 sed -e 's|<malloc/dynarray\.h>|<malloc/dynarray.gl.h>|g' \
310 -e 's|__attribute_maybe_unused__|_GL_ATTRIBUTE_MAYBE_UNUSED|g' \ 300 -e 's|__attribute_maybe_unused__|_GL_ATTRIBUTE_MAYBE_UNUSED|g' \
311 -e 's|__attribute_nonnull__|_GL_ATTRIBUTE_NONNULL|g' \ 301 -e 's|__attribute_nonnull__|_GL_ATTRIBUTE_NONNULL|g' \
312 -e 's|__attribute_warn_unused_result__|_GL_ATTRIBUTE_NODISCARD|g' \ 302 -e 's|__attribute_warn_unused_result__|_GL_ATTRIBUTE_NODISCARD|g' \
313 -e 's|__glibc_likely|_GL_LIKELY|g' \ 303 -e 's|__glibc_likely|_GL_LIKELY|g' \
314 -e 's|__glibc_unlikely|_GL_UNLIKELY|g' \ 304 -e 's|__glibc_unlikely|_GL_UNLIKELY|g' \
315 < $(srcdir)/malloc/dynarray-skeleton.c; \ 305 $(srcdir)/malloc/dynarray-skeleton.c > $@-t
316 } > $@-t && \ 306 $(AM_V_at)mv $@-t $@
317 mv $@-t $@
318MOSTLYCLEANFILES += malloc/dynarray-skeleton.gl.h malloc/dynarray-skeleton.gl.h-t 307MOSTLYCLEANFILES += malloc/dynarray-skeleton.gl.h malloc/dynarray-skeleton.gl.h-t
319 308
320libgnu_a_SOURCES += malloc/dynarray_at_failure.c malloc/dynarray_emplace_enlarge.c malloc/dynarray_finalize.c malloc/dynarray_resize.c malloc/dynarray_resize_clear.c 309libgnu_a_SOURCES += malloc/dynarray_at_failure.c malloc/dynarray_emplace_enlarge.c malloc/dynarray_finalize.c malloc/dynarray_resize.c malloc/dynarray_resize_clear.c
@@ -333,9 +322,8 @@ BUILT_SOURCES += $(ERRNO_H)
333# doesn't have one that is POSIX compliant. 322# doesn't have one that is POSIX compliant.
334if GL_GENERATE_ERRNO_H 323if GL_GENERATE_ERRNO_H
335errno.h: errno.in.h $(top_builddir)/config.status 324errno.h: errno.in.h $(top_builddir)/config.status
336 $(AM_V_GEN)rm -f $@-t $@ && \ 325 $(gl_V_at)$(SED_HEADER_STDOUT) \
337 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 326 -e 's|@''GUARD_PREFIX''@|GL|g' \
338 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
339 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 327 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
340 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 328 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
341 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 329 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
@@ -346,9 +334,8 @@ errno.h: errno.in.h $(top_builddir)/config.status
346 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \ 334 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
347 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \ 335 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
348 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \ 336 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
349 < $(srcdir)/errno.in.h; \ 337 $(srcdir)/errno.in.h > $@-t
350 } > $@-t && \ 338 $(AM_V_at)mv $@-t $@
351 mv $@-t $@
352else 339else
353errno.h: $(top_builddir)/config.status 340errno.h: $(top_builddir)/config.status
354 rm -f $@ 341 rm -f $@
@@ -361,10 +348,11 @@ EXTRA_DIST += errno.in.h
361 348
362## begin gnulib module error 349## begin gnulib module error
363 350
351if GL_COND_OBJ_ERROR
352libgnu_a_SOURCES += error.c
353endif
364 354
365EXTRA_DIST += error.c error.h 355EXTRA_DIST += error.h
366
367EXTRA_libgnu_a_SOURCES += error.c
368 356
369## end gnulib module error 357## end gnulib module error
370 358
@@ -378,10 +366,9 @@ EXTRA_DIST += exitfail.h
378 366
379## begin gnulib module fcntl 367## begin gnulib module fcntl
380 368
381 369if GL_COND_OBJ_FCNTL
382EXTRA_DIST += fcntl.c 370libgnu_a_SOURCES += fcntl.c
383 371endif
384EXTRA_libgnu_a_SOURCES += fcntl.c
385 372
386## end gnulib module fcntl 373## end gnulib module fcntl
387 374
@@ -392,9 +379,8 @@ BUILT_SOURCES += fcntl.h
392# We need the following in order to create <fcntl.h> when the system 379# We need the following in order to create <fcntl.h> when the system
393# doesn't have one that works with the given compiler. 380# doesn't have one that works with the given compiler.
394fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 381fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
395 $(AM_V_GEN)rm -f $@-t $@ && \ 382 $(gl_V_at)$(SED_HEADER_STDOUT) \
396 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 383 -e 's|@''GUARD_PREFIX''@|GL|g' \
397 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
398 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 384 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
399 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 385 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
400 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 386 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
@@ -415,9 +401,8 @@ fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H)
415 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 401 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
416 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ 402 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
417 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ 403 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
418 < $(srcdir)/fcntl.in.h; \ 404 $(srcdir)/fcntl.in.h > $@-t
419 } > $@-t && \ 405 $(AM_V_at)mv $@-t $@
420 mv $@-t $@
421MOSTLYCLEANFILES += fcntl.h fcntl.h-t 406MOSTLYCLEANFILES += fcntl.h fcntl.h-t
422 407
423EXTRA_DIST += fcntl.in.h 408EXTRA_DIST += fcntl.in.h
@@ -434,10 +419,11 @@ EXTRA_DIST += fd-hook.h
434 419
435## begin gnulib module fflush 420## begin gnulib module fflush
436 421
422if GL_COND_OBJ_FFLUSH
423libgnu_a_SOURCES += fflush.c
424endif
437 425
438EXTRA_DIST += fflush.c stdio-impl.h 426EXTRA_DIST += stdio-impl.h
439
440EXTRA_libgnu_a_SOURCES += fflush.c
441 427
442## end gnulib module fflush 428## end gnulib module fflush
443 429
@@ -456,35 +442,41 @@ BUILT_SOURCES += $(FLOAT_H)
456# doesn't have one that works with the given compiler. 442# doesn't have one that works with the given compiler.
457if GL_GENERATE_FLOAT_H 443if GL_GENERATE_FLOAT_H
458float.h: float.in.h $(top_builddir)/config.status 444float.h: float.in.h $(top_builddir)/config.status
459 $(AM_V_GEN)rm -f $@-t $@ && \ 445 $(gl_V_at)$(SED_HEADER_STDOUT) \
460 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 446 -e 's|@''GUARD_PREFIX''@|GL|g' \
461 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
462 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 447 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
463 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 448 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
464 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 449 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
465 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \ 450 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
466 -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \ 451 -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
467 < $(srcdir)/float.in.h; \ 452 $(srcdir)/float.in.h > $@-t
468 } > $@-t && \ 453 $(AM_V_at)mv $@-t $@
469 mv $@-t $@
470else 454else
471float.h: $(top_builddir)/config.status 455float.h: $(top_builddir)/config.status
472 rm -f $@ 456 rm -f $@
473endif 457endif
474MOSTLYCLEANFILES += float.h float.h-t 458MOSTLYCLEANFILES += float.h float.h-t
475 459
476EXTRA_DIST += float.c float.in.h itold.c 460if GL_COND_OBJ_FLOAT
461libgnu_a_SOURCES += float.c
462endif
463if GL_COND_OBJ_ITOLD
464libgnu_a_SOURCES += itold.c
465endif
477 466
478EXTRA_libgnu_a_SOURCES += float.c itold.c 467EXTRA_DIST += float.in.h
479 468
480## end gnulib module float 469## end gnulib module float
481 470
482## begin gnulib module floorf 471## begin gnulib module floorf
483 472
473if GL_COND_OBJ_FLOORF
474libgnu_a_SOURCES += floorf.c
475endif
484 476
485EXTRA_DIST += floor.c floorf.c 477EXTRA_DIST += floor.c
486 478
487EXTRA_libgnu_a_SOURCES += floor.c floorf.c 479EXTRA_libgnu_a_SOURCES += floor.c
488 480
489## end gnulib module floorf 481## end gnulib module floorf
490 482
@@ -508,10 +500,11 @@ EXTRA_libgnu_a_SOURCES += fopen.c
508 500
509## begin gnulib module fpurge 501## begin gnulib module fpurge
510 502
503if GL_COND_OBJ_FPURGE
504libgnu_a_SOURCES += fpurge.c
505endif
511 506
512EXTRA_DIST += fpurge.c stdio-impl.h 507EXTRA_DIST += stdio-impl.h
513
514EXTRA_libgnu_a_SOURCES += fpurge.c
515 508
516## end gnulib module fpurge 509## end gnulib module fpurge
517 510
@@ -525,118 +518,139 @@ EXTRA_DIST += freading.h stdio-impl.h
525 518
526## begin gnulib module free-posix 519## begin gnulib module free-posix
527 520
528 521if GL_COND_OBJ_FREE
529EXTRA_DIST += free.c 522libgnu_a_SOURCES += free.c
530 523endif
531EXTRA_libgnu_a_SOURCES += free.c
532 524
533## end gnulib module free-posix 525## end gnulib module free-posix
534 526
535## begin gnulib module fseek 527## begin gnulib module fseek
536 528
537 529if GL_COND_OBJ_FSEEK
538EXTRA_DIST += fseek.c 530libgnu_a_SOURCES += fseek.c
539 531endif
540EXTRA_libgnu_a_SOURCES += fseek.c
541 532
542## end gnulib module fseek 533## end gnulib module fseek
543 534
544## begin gnulib module fseeko 535## begin gnulib module fseeko
545 536
537if GL_COND_OBJ_FSEEKO
538libgnu_a_SOURCES += fseeko.c
539endif
546 540
547EXTRA_DIST += fseeko.c stdio-impl.h 541EXTRA_DIST += stdio-impl.h
548
549EXTRA_libgnu_a_SOURCES += fseeko.c
550 542
551## end gnulib module fseeko 543## end gnulib module fseeko
552 544
553## begin gnulib module fstat 545## begin gnulib module fstat
554 546
547if GL_COND_OBJ_FSTAT
548libgnu_a_SOURCES += fstat.c
549endif
555 550
556EXTRA_DIST += fstat.c stat-w32.c stat-w32.h 551EXTRA_DIST += stat-w32.c stat-w32.h
557 552
558EXTRA_libgnu_a_SOURCES += fstat.c stat-w32.c 553EXTRA_libgnu_a_SOURCES += stat-w32.c
559 554
560## end gnulib module fstat 555## end gnulib module fstat
561 556
562## begin gnulib module fsusage 557## begin gnulib module fsusage
563 558
559if GL_COND_OBJ_FSUSAGE
560libgnu_a_SOURCES += fsusage.c
561endif
564 562
565EXTRA_DIST += fsusage.c fsusage.h 563EXTRA_DIST += fsusage.h
566
567EXTRA_libgnu_a_SOURCES += fsusage.c
568 564
569## end gnulib module fsusage 565## end gnulib module fsusage
570 566
571## begin gnulib module ftell 567## begin gnulib module ftell
572 568
573 569if GL_COND_OBJ_FTELL
574EXTRA_DIST += ftell.c 570libgnu_a_SOURCES += ftell.c
575 571endif
576EXTRA_libgnu_a_SOURCES += ftell.c
577 572
578## end gnulib module ftell 573## end gnulib module ftell
579 574
580## begin gnulib module ftello 575## begin gnulib module ftello
581 576
577if GL_COND_OBJ_FTELLO
578libgnu_a_SOURCES += ftello.c
579endif
582 580
583EXTRA_DIST += ftello.c stdio-impl.h 581EXTRA_DIST += stdio-impl.h
584
585EXTRA_libgnu_a_SOURCES += ftello.c
586 582
587## end gnulib module ftello 583## end gnulib module ftello
588 584
589## begin gnulib module getaddrinfo 585## begin gnulib module gen-header
590 586
587# In 'sed', replace the pattern space with a "DO NOT EDIT" comment.
588SED_HEADER_NOEDIT = s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,
591 589
592EXTRA_DIST += gai_strerror.c getaddrinfo.c 590# '$(SED_HEADER_STDOUT) -e "..."' runs 'sed' but first outputs "DO NOT EDIT".
591SED_HEADER_STDOUT = sed -e 1h -e '1$(SED_HEADER_NOEDIT)' -e 1G
593 592
594EXTRA_libgnu_a_SOURCES += gai_strerror.c getaddrinfo.c 593# '$(SED_HEADER_TO_AT_t) FILE' copies FILE to $@-t, prepending a leading
594# "DO_NOT_EDIT". Although this could be done more simply via:
595# SED_HEADER_TO_AT_t = $(SED_HEADER_STDOUT) > $@-t
596# the -n and 'w' avoid a fork+exec, at least when GNU Make is used.
597SED_HEADER_TO_AT_t = $(SED_HEADER_STDOUT) -n -e 'w $@-t'
595 598
596## end gnulib module getaddrinfo 599# Use $(gl_V_at) instead of $(AM_V_GEN) or $(AM_V_at) on a line that
600gl_V_at = $(AM_V_GEN)
597 601
598## begin gnulib module getdelim 602## end gnulib module gen-header
599 603
604## begin gnulib module getaddrinfo
600 605
601EXTRA_DIST += getdelim.c 606if GL_COND_OBJ_GETADDRINFO
607libgnu_a_SOURCES += getaddrinfo.c
608endif
609if GL_COND_OBJ_GAI_STRERROR
610libgnu_a_SOURCES += gai_strerror.c
611endif
602 612
603EXTRA_libgnu_a_SOURCES += getdelim.c 613## end gnulib module getaddrinfo
604 614
605## end gnulib module getdelim 615## begin gnulib module getdelim
606 616
607## begin gnulib module getdtablesize 617if GL_COND_OBJ_GETDELIM
618libgnu_a_SOURCES += getdelim.c
619endif
608 620
621## end gnulib module getdelim
609 622
610EXTRA_DIST += getdtablesize.c 623## begin gnulib module getdtablesize
611 624
612EXTRA_libgnu_a_SOURCES += getdtablesize.c 625if GL_COND_OBJ_GETDTABLESIZE
626libgnu_a_SOURCES += getdtablesize.c
627endif
613 628
614## end gnulib module getdtablesize 629## end gnulib module getdtablesize
615 630
616## begin gnulib module gethostname 631## begin gnulib module gethostname
617 632
633if GL_COND_OBJ_GETHOSTNAME
634libgnu_a_SOURCES += gethostname.c
635endif
618 636
619EXTRA_DIST += gethostname.c w32sock.h 637EXTRA_DIST += w32sock.h
620
621EXTRA_libgnu_a_SOURCES += gethostname.c
622 638
623## end gnulib module gethostname 639## end gnulib module gethostname
624 640
625## begin gnulib module getline 641## begin gnulib module getline
626 642
627 643if GL_COND_OBJ_GETLINE
628EXTRA_DIST += getline.c 644libgnu_a_SOURCES += getline.c
629 645endif
630EXTRA_libgnu_a_SOURCES += getline.c
631 646
632## end gnulib module getline 647## end gnulib module getline
633 648
634## begin gnulib module getloadavg 649## begin gnulib module getloadavg
635 650
636 651if GL_COND_OBJ_GETLOADAVG
637EXTRA_DIST += getloadavg.c 652libgnu_a_SOURCES += getloadavg.c
638 653endif
639EXTRA_libgnu_a_SOURCES += getloadavg.c
640 654
641## end gnulib module getloadavg 655## end gnulib module getloadavg
642 656
@@ -646,33 +660,41 @@ BUILT_SOURCES += $(GETOPT_H) $(GETOPT_CDEFS_H)
646 660
647# We need the following in order to create <getopt.h> when the system 661# We need the following in order to create <getopt.h> when the system
648# doesn't have one that works with the given compiler. 662# doesn't have one that works with the given compiler.
663if GL_GENERATE_GETOPT_H
649getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H) 664getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
650 $(AM_V_GEN)rm -f $@-t $@ && \ 665 $(gl_V_at)$(SED_HEADER_STDOUT) \
651 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 666 -e 's|@''GUARD_PREFIX''@|GL|g' \
652 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
653 -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \ 667 -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
654 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 668 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
655 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 669 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
656 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 670 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
657 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \ 671 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
658 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ 672 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
659 < $(srcdir)/getopt.in.h; \ 673 $(srcdir)/getopt.in.h > $@-t
660 } > $@-t && \ 674 $(AM_V_at)mv $@-t $@
661 mv -f $@-t $@ 675else
676getopt.h: $(top_builddir)/config.status
677 rm -f $@
678endif
662 679
680if GL_GENERATE_GETOPT_CDEFS_H
663getopt-cdefs.h: getopt-cdefs.in.h $(top_builddir)/config.status 681getopt-cdefs.h: getopt-cdefs.in.h $(top_builddir)/config.status
664 $(AM_V_GEN)rm -f $@-t $@ && \ 682 $(AM_V_GEN)$(SED_HEADER_STDOUT) \
665 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 683 -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
666 sed -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \ 684 $(srcdir)/getopt-cdefs.in.h > $@-t
667 < $(srcdir)/getopt-cdefs.in.h; \ 685 $(AM_V_at)mv $@-t $@
668 } > $@-t && \ 686else
669 mv -f $@-t $@ 687getopt-cdefs.h: $(top_builddir)/config.status
688 rm -f $@
689endif
670 690
671MOSTLYCLEANFILES += getopt.h getopt.h-t getopt-cdefs.h getopt-cdefs.h-t 691MOSTLYCLEANFILES += getopt.h getopt.h-t getopt-cdefs.h getopt-cdefs.h-t
672 692
673EXTRA_DIST += getopt-cdefs.in.h getopt-core.h getopt-ext.h getopt-pfx-core.h getopt-pfx-ext.h getopt.c getopt.in.h getopt1.c getopt_int.h 693if GL_COND_OBJ_GETOPT
694libgnu_a_SOURCES += getopt.c getopt1.c
695endif
674 696
675EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c 697EXTRA_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
676 698
677## end gnulib module getopt-posix 699## end gnulib module getopt-posix
678 700
@@ -744,17 +766,16 @@ libgnu_a_SOURCES += idx.h
744 766
745## begin gnulib module inet_ntop 767## begin gnulib module inet_ntop
746 768
747 769if GL_COND_OBJ_INET_NTOP
748EXTRA_DIST += inet_ntop.c 770libgnu_a_SOURCES += inet_ntop.c
749 771endif
750EXTRA_libgnu_a_SOURCES += inet_ntop.c
751 772
752## end gnulib module inet_ntop 773## end gnulib module inet_ntop
753 774
754## begin gnulib module intprops 775## begin gnulib module intprops
755 776
756 777
757EXTRA_DIST += intprops.h 778EXTRA_DIST += intprops-internal.h intprops.h
758 779
759## end gnulib module intprops 780## end gnulib module intprops
760 781
@@ -765,9 +786,8 @@ BUILT_SOURCES += inttypes.h
765# We need the following in order to create <inttypes.h> when the system 786# We need the following in order to create <inttypes.h> when the system
766# doesn't have one that works with the given compiler. 787# doesn't have one that works with the given compiler.
767inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) 788inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
768 $(AM_V_GEN)rm -f $@-t $@ && \ 789 $(gl_V_at)$(SED_HEADER_STDOUT) \
769 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 790 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
770 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
771 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 791 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
772 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 792 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
773 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 793 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
@@ -792,9 +812,8 @@ inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_U
792 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 812 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
793 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ 813 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
794 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ 814 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
795 < $(srcdir)/inttypes.in.h; \ 815 $(srcdir)/inttypes.in.h > $@-t
796 } > $@-t && \ 816 $(AM_V_at)mv $@-t $@
797 mv $@-t $@
798MOSTLYCLEANFILES += inttypes.h inttypes.h-t 817MOSTLYCLEANFILES += inttypes.h inttypes.h-t
799 818
800EXTRA_DIST += inttypes.in.h 819EXTRA_DIST += inttypes.in.h
@@ -808,9 +827,8 @@ BUILT_SOURCES += langinfo.h
808# We need the following in order to create an empty placeholder for 827# We need the following in order to create an empty placeholder for
809# <langinfo.h> when the system doesn't have one. 828# <langinfo.h> when the system doesn't have one.
810langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) 829langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
811 $(AM_V_GEN)rm -f $@-t $@ && \ 830 $(gl_V_at)$(SED_HEADER_STDOUT) \
812 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 831 -e 's|@''GUARD_PREFIX''@|GL|g' \
813 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
814 -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \ 832 -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
815 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 833 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
816 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 834 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
@@ -826,9 +844,8 @@ langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_U
826 -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \ 844 -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
827 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 845 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
828 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ 846 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
829 < $(srcdir)/langinfo.in.h; \ 847 $(srcdir)/langinfo.in.h > $@-t
830 } > $@-t && \ 848 $(AM_V_at)mv $@-t $@
831 mv $@-t $@
832MOSTLYCLEANFILES += langinfo.h langinfo.h-t 849MOSTLYCLEANFILES += langinfo.h langinfo.h-t
833 850
834EXTRA_DIST += langinfo.in.h 851EXTRA_DIST += langinfo.in.h
@@ -850,16 +867,14 @@ BUILT_SOURCES += $(LIMITS_H)
850# doesn't have one that is compatible with GNU. 867# doesn't have one that is compatible with GNU.
851if GL_GENERATE_LIMITS_H 868if GL_GENERATE_LIMITS_H
852limits.h: limits.in.h $(top_builddir)/config.status 869limits.h: limits.in.h $(top_builddir)/config.status
853 $(AM_V_GEN)rm -f $@-t $@ && \ 870 $(gl_V_at)$(SED_HEADER_STDOUT) \
854 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 871 -e 's|@''GUARD_PREFIX''@|GL|g' \
855 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
856 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 872 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
857 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 873 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
858 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 874 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
859 -e 's|@''NEXT_LIMITS_H''@|$(NEXT_LIMITS_H)|g' \ 875 -e 's|@''NEXT_LIMITS_H''@|$(NEXT_LIMITS_H)|g' \
860 < $(srcdir)/limits.in.h; \ 876 $(srcdir)/limits.in.h > $@-t
861 } > $@-t && \ 877 $(AM_V_at)mv $@-t $@
862 mv $@-t $@
863else 878else
864limits.h: $(top_builddir)/config.status 879limits.h: $(top_builddir)/config.status
865 rm -f $@ 880 rm -f $@
@@ -885,9 +900,8 @@ BUILT_SOURCES += locale.h
885# We need the following in order to create <locale.h> when the system 900# We need the following in order to create <locale.h> when the system
886# doesn't have one that provides all definitions. 901# doesn't have one that provides all definitions.
887locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 902locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
888 $(AM_V_GEN)rm -f $@-t $@ && \ 903 $(gl_V_at)$(SED_HEADER_STDOUT) \
889 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 904 -e 's|@''GUARD_PREFIX''@|GL|g' \
890 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
891 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 905 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
892 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 906 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
893 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 907 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
@@ -911,9 +925,8 @@ locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
911 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 925 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
912 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ 926 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
913 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ 927 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
914 < $(srcdir)/locale.in.h; \ 928 $(srcdir)/locale.in.h > $@-t
915 } > $@-t && \ 929 $(AM_V_at)mv $@-t $@
916 mv $@-t $@
917MOSTLYCLEANFILES += locale.h locale.h-t 930MOSTLYCLEANFILES += locale.h locale.h-t
918 931
919EXTRA_DIST += locale.in.h 932EXTRA_DIST += locale.in.h
@@ -922,10 +935,9 @@ EXTRA_DIST += locale.in.h
922 935
923## begin gnulib module localeconv 936## begin gnulib module localeconv
924 937
925 938if GL_COND_OBJ_LOCALECONV
926EXTRA_DIST += localeconv.c 939libgnu_a_SOURCES += localeconv.c
927 940endif
928EXTRA_libgnu_a_SOURCES += localeconv.c
929 941
930## end gnulib module localeconv 942## end gnulib module localeconv
931 943
@@ -937,10 +949,9 @@ libgnu_a_SOURCES += glthread/lock.h glthread/lock.c
937 949
938## begin gnulib module lseek 950## begin gnulib module lseek
939 951
940 952if GL_COND_OBJ_LSEEK
941EXTRA_DIST += lseek.c 953libgnu_a_SOURCES += lseek.c
942 954endif
943EXTRA_libgnu_a_SOURCES += lseek.c
944 955
945## end gnulib module lseek 956## end gnulib module lseek
946 957
@@ -978,9 +989,8 @@ libgnu_a_SOURCES += math.c
978# We need the following in order to create <math.h> when the system 989# We need the following in order to create <math.h> when the system
979# doesn't have one that works with the given compiler. 990# doesn't have one that works with the given compiler.
980math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 991math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
981 $(AM_V_GEN)rm -f $@-t $@ && \ 992 $(gl_V_at)$(SED_HEADER_STDOUT) \
982 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 993 -e 's|@''GUARD_PREFIX''@|GL|g' \
983 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
984 -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \ 994 -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
985 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 995 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
986 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 996 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
@@ -1267,9 +1277,9 @@ math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(
1267 -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \ 1277 -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
1268 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 1278 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1269 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ 1279 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1270 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ 1280 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1271 } > $@-t && \ 1281 > $@-t
1272 mv $@-t $@ 1282 $(AM_V_at)mv $@-t $@
1273MOSTLYCLEANFILES += math.h math.h-t 1283MOSTLYCLEANFILES += math.h math.h-t
1274 1284
1275EXTRA_DIST += math.in.h 1285EXTRA_DIST += math.in.h
@@ -1278,37 +1288,41 @@ EXTRA_DIST += math.in.h
1278 1288
1279## begin gnulib module mbrtowc 1289## begin gnulib module mbrtowc
1280 1290
1291if GL_COND_OBJ_MBRTOWC
1292libgnu_a_SOURCES += mbrtowc.c
1293endif
1281 1294
1282EXTRA_DIST += lc-charset-dispatch.c lc-charset-dispatch.h mbrtowc-impl-utf8.h mbrtowc-impl.h mbrtowc.c mbtowc-lock.c mbtowc-lock.h windows-initguard.h 1295EXTRA_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
1283 1296
1284EXTRA_libgnu_a_SOURCES += lc-charset-dispatch.c mbrtowc.c mbtowc-lock.c 1297EXTRA_libgnu_a_SOURCES += lc-charset-dispatch.c mbtowc-lock.c
1285 1298
1286## end gnulib module mbrtowc 1299## end gnulib module mbrtowc
1287 1300
1288## begin gnulib module mbsinit 1301## begin gnulib module mbsinit
1289 1302
1290 1303if GL_COND_OBJ_MBSINIT
1291EXTRA_DIST += mbsinit.c 1304libgnu_a_SOURCES += mbsinit.c
1292 1305endif
1293EXTRA_libgnu_a_SOURCES += mbsinit.c
1294 1306
1295## end gnulib module mbsinit 1307## end gnulib module mbsinit
1296 1308
1297## begin gnulib module mbtowc 1309## begin gnulib module mbtowc
1298 1310
1311if GL_COND_OBJ_MBTOWC
1312libgnu_a_SOURCES += mbtowc.c
1313endif
1299 1314
1300EXTRA_DIST += mbtowc-impl.h mbtowc.c 1315EXTRA_DIST += mbtowc-impl.h
1301
1302EXTRA_libgnu_a_SOURCES += mbtowc.c
1303 1316
1304## end gnulib module mbtowc 1317## end gnulib module mbtowc
1305 1318
1306## begin gnulib module memchr 1319## begin gnulib module memchr
1307 1320
1321if GL_COND_OBJ_MEMCHR
1322libgnu_a_SOURCES += memchr.c
1323endif
1308 1324
1309EXTRA_DIST += memchr.c memchr.valgrind 1325EXTRA_DIST += memchr.valgrind
1310
1311EXTRA_libgnu_a_SOURCES += memchr.c
1312 1326
1313## end gnulib module memchr 1327## end gnulib module memchr
1314 1328
@@ -1338,28 +1352,31 @@ EXTRA_libgnu_a_SOURCES += mktime.c
1338 1352
1339## begin gnulib module mountlist 1353## begin gnulib module mountlist
1340 1354
1355if GL_COND_OBJ_MOUNTLIST
1356libgnu_a_SOURCES += mountlist.c
1357endif
1341 1358
1342EXTRA_DIST += mountlist.c mountlist.h 1359EXTRA_DIST += mountlist.h
1343
1344EXTRA_libgnu_a_SOURCES += mountlist.c
1345 1360
1346## end gnulib module mountlist 1361## end gnulib module mountlist
1347 1362
1348## begin gnulib module msvc-inval 1363## begin gnulib module msvc-inval
1349 1364
1365if GL_COND_OBJ_MSVC_INVAL
1366libgnu_a_SOURCES += msvc-inval.c
1367endif
1350 1368
1351EXTRA_DIST += msvc-inval.c msvc-inval.h 1369EXTRA_DIST += msvc-inval.h
1352
1353EXTRA_libgnu_a_SOURCES += msvc-inval.c
1354 1370
1355## end gnulib module msvc-inval 1371## end gnulib module msvc-inval
1356 1372
1357## begin gnulib module msvc-nothrow 1373## begin gnulib module msvc-nothrow
1358 1374
1375if GL_COND_OBJ_MSVC_NOTHROW
1376libgnu_a_SOURCES += msvc-nothrow.c
1377endif
1359 1378
1360EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h 1379EXTRA_DIST += msvc-nothrow.h
1361
1362EXTRA_libgnu_a_SOURCES += msvc-nothrow.c
1363 1380
1364## end gnulib module msvc-nothrow 1381## end gnulib module msvc-nothrow
1365 1382
@@ -1370,9 +1387,8 @@ BUILT_SOURCES += netdb.h
1370# We need the following in order to create <netdb.h> when the system 1387# We need the following in order to create <netdb.h> when the system
1371# doesn't have one that works with the given compiler. 1388# doesn't have one that works with the given compiler.
1372netdb.h: netdb.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 1389netdb.h: netdb.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1373 $(AM_V_GEN)rm -f $@-t $@ && \ 1390 $(gl_V_at)$(SED_HEADER_STDOUT) \
1374 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 1391 -e 's|@''GUARD_PREFIX''@|GL|g' \
1375 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1376 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 1392 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1377 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 1393 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1378 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 1394 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
@@ -1389,9 +1405,8 @@ netdb.h: netdb.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H)
1389 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 1405 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1390 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ 1406 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1391 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ 1407 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1392 < $(srcdir)/netdb.in.h; \ 1408 $(srcdir)/netdb.in.h > $@-t
1393 } > $@-t && \ 1409 $(AM_V_at)mv $@-t $@
1394 mv $@-t $@
1395MOSTLYCLEANFILES += netdb.h netdb.h-t 1410MOSTLYCLEANFILES += netdb.h netdb.h-t
1396 1411
1397EXTRA_DIST += netdb.in.h 1412EXTRA_DIST += netdb.in.h
@@ -1406,18 +1421,16 @@ BUILT_SOURCES += $(NETINET_IN_H)
1406# doesn't have one. 1421# doesn't have one.
1407if GL_GENERATE_NETINET_IN_H 1422if GL_GENERATE_NETINET_IN_H
1408netinet/in.h: netinet_in.in.h $(top_builddir)/config.status 1423netinet/in.h: netinet_in.in.h $(top_builddir)/config.status
1409 $(AM_V_at)$(MKDIR_P) netinet 1424 $(AM_V_GEN)$(MKDIR_P) '%reldir%/netinet'
1410 $(AM_V_GEN)rm -f $@-t $@ && \ 1425 $(AM_V_at)$(SED_HEADER_STDOUT) \
1411 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 1426 -e 's|@''GUARD_PREFIX''@|GL|g' \
1412 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1413 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 1427 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1414 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 1428 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1415 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 1429 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1416 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \ 1430 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
1417 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \ 1431 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
1418 < $(srcdir)/netinet_in.in.h; \ 1432 $(srcdir)/netinet_in.in.h > $@-t
1419 } > $@-t && \ 1433 $(AM_V_at)mv $@-t $@
1420 mv $@-t $@
1421else 1434else
1422netinet/in.h: $(top_builddir)/config.status 1435netinet/in.h: $(top_builddir)/config.status
1423 rm -f $@ 1436 rm -f $@
@@ -1431,19 +1444,22 @@ EXTRA_DIST += netinet_in.in.h
1431 1444
1432## begin gnulib module nl_langinfo 1445## begin gnulib module nl_langinfo
1433 1446
1447if GL_COND_OBJ_NL_LANGINFO
1448libgnu_a_SOURCES += nl_langinfo.c
1449endif
1450if GL_COND_OBJ_NL_LANGINFO_LOCK
1451libgnu_a_SOURCES += nl_langinfo-lock.c
1452endif
1434 1453
1435EXTRA_DIST += nl_langinfo-lock.c nl_langinfo.c windows-initguard.h 1454EXTRA_DIST += windows-initguard.h
1436
1437EXTRA_libgnu_a_SOURCES += nl_langinfo-lock.c nl_langinfo.c
1438 1455
1439## end gnulib module nl_langinfo 1456## end gnulib module nl_langinfo
1440 1457
1441## begin gnulib module open 1458## begin gnulib module open
1442 1459
1443 1460if GL_COND_OBJ_OPEN
1444EXTRA_DIST += open.c 1461libgnu_a_SOURCES += open.c
1445 1462endif
1446EXTRA_libgnu_a_SOURCES += open.c
1447 1463
1448## end gnulib module open 1464## end gnulib module open
1449 1465
@@ -1474,38 +1490,40 @@ EXTRA_libgnu_a_SOURCES += realloc.c
1474 1490
1475## begin gnulib module reallocarray 1491## begin gnulib module reallocarray
1476 1492
1477 1493if GL_COND_OBJ_REALLOCARRAY
1478EXTRA_DIST += reallocarray.c 1494libgnu_a_SOURCES += reallocarray.c
1479 1495endif
1480EXTRA_libgnu_a_SOURCES += reallocarray.c
1481 1496
1482## end gnulib module reallocarray 1497## end gnulib module reallocarray
1483 1498
1484## begin gnulib module regex 1499## begin gnulib module regex
1485 1500
1501if GL_COND_OBJ_REGEX
1502libgnu_a_SOURCES += regex.c
1503endif
1486 1504
1487EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c 1505EXTRA_DIST += regcomp.c regex.h regex_internal.c regex_internal.h regexec.c
1488 1506
1489EXTRA_libgnu_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c 1507EXTRA_libgnu_a_SOURCES += regcomp.c regex_internal.c regexec.c
1490 1508
1491## end gnulib module regex 1509## end gnulib module regex
1492 1510
1493## begin gnulib module setenv 1511## begin gnulib module setenv
1494 1512
1495 1513if GL_COND_OBJ_SETENV
1496EXTRA_DIST += setenv.c 1514libgnu_a_SOURCES += setenv.c
1497 1515endif
1498EXTRA_libgnu_a_SOURCES += setenv.c
1499 1516
1500## end gnulib module setenv 1517## end gnulib module setenv
1501 1518
1502## begin gnulib module setlocale-null 1519## begin gnulib module setlocale-null
1503 1520
1504libgnu_a_SOURCES += setlocale_null.c 1521libgnu_a_SOURCES += setlocale_null.c
1522if GL_COND_OBJ_SETLOCALE_LOCK
1523libgnu_a_SOURCES += setlocale-lock.c
1524endif
1505 1525
1506EXTRA_DIST += setlocale-lock.c setlocale_null.h windows-initguard.h 1526EXTRA_DIST += setlocale_null.h windows-initguard.h
1507
1508EXTRA_libgnu_a_SOURCES += setlocale-lock.c
1509 1527
1510## end gnulib module setlocale-null 1528## end gnulib module setlocale-null
1511 1529
@@ -1582,10 +1600,13 @@ EXTRA_DIST += w32sock.h
1582 1600
1583## begin gnulib module stat 1601## begin gnulib module stat
1584 1602
1603if GL_COND_OBJ_STAT
1604libgnu_a_SOURCES += stat.c
1605endif
1585 1606
1586EXTRA_DIST += stat-w32.c stat-w32.h stat.c 1607EXTRA_DIST += stat-w32.c stat-w32.h
1587 1608
1588EXTRA_libgnu_a_SOURCES += stat-w32.c stat.c 1609EXTRA_libgnu_a_SOURCES += stat-w32.c
1589 1610
1590## end gnulib module stat 1611## end gnulib module stat
1591 1612
@@ -1605,11 +1626,8 @@ BUILT_SOURCES += $(STDALIGN_H)
1605# doesn't have one that works. 1626# doesn't have one that works.
1606if GL_GENERATE_STDALIGN_H 1627if GL_GENERATE_STDALIGN_H
1607stdalign.h: stdalign.in.h $(top_builddir)/config.status 1628stdalign.h: stdalign.in.h $(top_builddir)/config.status
1608 $(AM_V_GEN)rm -f $@-t $@ && \ 1629 $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/stdalign.in.h
1609 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 1630 $(AM_V_at)mv $@-t $@
1610 cat $(srcdir)/stdalign.in.h; \
1611 } > $@-t && \
1612 mv $@-t $@
1613else 1631else
1614stdalign.h: $(top_builddir)/config.status 1632stdalign.h: $(top_builddir)/config.status
1615 rm -f $@ 1633 rm -f $@
@@ -1628,11 +1646,10 @@ BUILT_SOURCES += $(STDBOOL_H)
1628# doesn't have one that works. 1646# doesn't have one that works.
1629if GL_GENERATE_STDBOOL_H 1647if GL_GENERATE_STDBOOL_H
1630stdbool.h: stdbool.in.h $(top_builddir)/config.status 1648stdbool.h: stdbool.in.h $(top_builddir)/config.status
1631 $(AM_V_GEN)rm -f $@-t $@ && \ 1649 $(gl_V_at)$(SED_HEADER_STDOUT) \
1632 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 1650 -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' \
1633 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \ 1651 $(srcdir)/stdbool.in.h > $@-t
1634 } > $@-t && \ 1652 $(AM_V_at)mv $@-t $@
1635 mv $@-t $@
1636else 1653else
1637stdbool.h: $(top_builddir)/config.status 1654stdbool.h: $(top_builddir)/config.status
1638 rm -f $@ 1655 rm -f $@
@@ -1643,6 +1660,27 @@ EXTRA_DIST += stdbool.in.h
1643 1660
1644## end gnulib module stdbool 1661## end gnulib module stdbool
1645 1662
1663## begin gnulib module stdckdint
1664
1665BUILT_SOURCES += $(STDCKDINT_H)
1666
1667# We need the following in order to create <stdckdint.h> when the system
1668# doesn't have one that works with the given compiler.
1669if GL_GENERATE_STDCKDINT_H
1670stdckdint.h: stdckdint.in.h $(top_builddir)/config.status
1671 $(gl_V_at)$(SED_HEADER_STDOUT) \
1672 $(srcdir)/stdckdint.in.h > $@-t
1673 $(AM_V_at)mv $@-t $@
1674else
1675stdckdint.h: $(top_builddir)/config.status
1676 rm -f $@
1677endif
1678MOSTLYCLEANFILES += stdckdint.h stdckdint.h-t
1679
1680EXTRA_DIST += intprops-internal.h stdckdint.in.h
1681
1682## end gnulib module stdckdint
1683
1646## begin gnulib module stddef 1684## begin gnulib module stddef
1647 1685
1648BUILT_SOURCES += $(STDDEF_H) 1686BUILT_SOURCES += $(STDDEF_H)
@@ -1651,9 +1689,8 @@ BUILT_SOURCES += $(STDDEF_H)
1651# doesn't have one that works with the given compiler. 1689# doesn't have one that works with the given compiler.
1652if GL_GENERATE_STDDEF_H 1690if GL_GENERATE_STDDEF_H
1653stddef.h: stddef.in.h $(top_builddir)/config.status 1691stddef.h: stddef.in.h $(top_builddir)/config.status
1654 $(AM_V_GEN)rm -f $@-t $@ && \ 1692 $(gl_V_at)$(SED_HEADER_STDOUT) \
1655 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 1693 -e 's|@''GUARD_PREFIX''@|GL|g' \
1656 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1657 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 1694 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1658 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 1695 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1659 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 1696 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
@@ -1661,9 +1698,8 @@ stddef.h: stddef.in.h $(top_builddir)/config.status
1661 -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \ 1698 -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \
1662 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \ 1699 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
1663 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \ 1700 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
1664 < $(srcdir)/stddef.in.h; \ 1701 $(srcdir)/stddef.in.h > $@-t
1665 } > $@-t && \ 1702 $(AM_V_at)mv $@-t $@
1666 mv $@-t $@
1667else 1703else
1668stddef.h: $(top_builddir)/config.status 1704stddef.h: $(top_builddir)/config.status
1669 rm -f $@ 1705 rm -f $@
@@ -1682,9 +1718,8 @@ BUILT_SOURCES += $(STDINT_H)
1682# doesn't have one that works with the given compiler. 1718# doesn't have one that works with the given compiler.
1683if GL_GENERATE_STDINT_H 1719if GL_GENERATE_STDINT_H
1684stdint.h: stdint.in.h $(top_builddir)/config.status 1720stdint.h: stdint.in.h $(top_builddir)/config.status
1685 $(AM_V_GEN)rm -f $@-t $@ && \ 1721 $(gl_V_at)$(SED_HEADER_STDOUT) \
1686 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 1722 -e 's|@''GUARD_PREFIX''@|GL|g' \
1687 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1688 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ 1723 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
1689 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 1724 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1690 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 1725 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
@@ -1711,9 +1746,8 @@ stdint.h: stdint.in.h $(top_builddir)/config.status
1711 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ 1746 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1712 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ 1747 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1713 -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \ 1748 -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \
1714 < $(srcdir)/stdint.in.h; \ 1749 $(srcdir)/stdint.in.h > $@-t
1715 } > $@-t && \ 1750 $(AM_V_at)mv $@-t $@
1716 mv $@-t $@
1717else 1751else
1718stdint.h: $(top_builddir)/config.status 1752stdint.h: $(top_builddir)/config.status
1719 rm -f $@ 1753 rm -f $@
@@ -1731,9 +1765,8 @@ BUILT_SOURCES += stdio.h
1731# We need the following in order to create <stdio.h> when the system 1765# We need the following in order to create <stdio.h> when the system
1732# doesn't have one that works with the given compiler. 1766# doesn't have one that works with the given compiler.
1733stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 1767stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1734 $(AM_V_GEN)rm -f $@-t $@ && \ 1768 $(gl_V_at)$(SED_HEADER_STDOUT) \
1735 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 1769 -e 's|@''GUARD_PREFIX''@|GL|g' \
1736 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1737 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 1770 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1738 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 1771 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1739 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 1772 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
@@ -1745,6 +1778,7 @@ stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H)
1745 -e 's/@''GNULIB_FGETC''@/$(GL_GNULIB_FGETC)/g' \ 1778 -e 's/@''GNULIB_FGETC''@/$(GL_GNULIB_FGETC)/g' \
1746 -e 's/@''GNULIB_FGETS''@/$(GL_GNULIB_FGETS)/g' \ 1779 -e 's/@''GNULIB_FGETS''@/$(GL_GNULIB_FGETS)/g' \
1747 -e 's/@''GNULIB_FOPEN''@/$(GL_GNULIB_FOPEN)/g' \ 1780 -e 's/@''GNULIB_FOPEN''@/$(GL_GNULIB_FOPEN)/g' \
1781 -e 's/@''GNULIB_FOPEN_GNU''@/$(GL_GNULIB_FOPEN_GNU)/g' \
1748 -e 's/@''GNULIB_FPRINTF''@/$(GL_GNULIB_FPRINTF)/g' \ 1782 -e 's/@''GNULIB_FPRINTF''@/$(GL_GNULIB_FPRINTF)/g' \
1749 -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GL_GNULIB_FPRINTF_POSIX)/g' \ 1783 -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GL_GNULIB_FPRINTF_POSIX)/g' \
1750 -e 's/@''GNULIB_FPURGE''@/$(GL_GNULIB_FPURGE)/g' \ 1784 -e 's/@''GNULIB_FPURGE''@/$(GL_GNULIB_FPURGE)/g' \
@@ -1820,6 +1854,7 @@ stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H)
1820 -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \ 1854 -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
1821 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \ 1855 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
1822 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \ 1856 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
1857 -e 's|@''REPLACE_FOPEN_FOR_FOPEN_GNU''@|$(REPLACE_FOPEN_FOR_FOPEN_GNU)|g' \
1823 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \ 1858 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1824 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \ 1859 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
1825 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \ 1860 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
@@ -1850,11 +1885,18 @@ stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H)
1850 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \ 1885 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
1851 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 1886 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1852 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ 1887 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1853 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ 1888 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1854 } > $@-t && \ 1889 > $@-t
1855 mv $@-t $@ 1890 $(AM_V_at)mv $@-t $@
1856MOSTLYCLEANFILES += stdio.h stdio.h-t 1891MOSTLYCLEANFILES += stdio.h stdio.h-t
1857 1892
1893if GL_COND_OBJ_STDIO_READ
1894libgnu_a_SOURCES += stdio-read.c
1895endif
1896if GL_COND_OBJ_STDIO_WRITE
1897libgnu_a_SOURCES += stdio-write.c
1898endif
1899
1858EXTRA_DIST += stdio.in.h 1900EXTRA_DIST += stdio.in.h
1859 1901
1860## end gnulib module stdio 1902## end gnulib module stdio
@@ -1867,9 +1909,8 @@ BUILT_SOURCES += stdlib.h
1867# doesn't have one that works with the given compiler. 1909# doesn't have one that works with the given compiler.
1868stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \ 1910stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1869 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 1911 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1870 $(AM_V_GEN)rm -f $@-t $@ && \ 1912 $(gl_V_at)$(SED_HEADER_STDOUT) \
1871 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 1913 -e 's|@''GUARD_PREFIX''@|GL|g' \
1872 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1873 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 1914 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1874 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 1915 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1875 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 1916 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
@@ -1877,12 +1918,14 @@ stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1877 -e 's/@''GNULIB__EXIT''@/$(GL_GNULIB__EXIT)/g' \ 1918 -e 's/@''GNULIB__EXIT''@/$(GL_GNULIB__EXIT)/g' \
1878 -e 's/@''GNULIB_ALIGNED_ALLOC''@/$(GL_GNULIB_ALIGNED_ALLOC)/g' \ 1919 -e 's/@''GNULIB_ALIGNED_ALLOC''@/$(GL_GNULIB_ALIGNED_ALLOC)/g' \
1879 -e 's/@''GNULIB_ATOLL''@/$(GL_GNULIB_ATOLL)/g' \ 1920 -e 's/@''GNULIB_ATOLL''@/$(GL_GNULIB_ATOLL)/g' \
1921 -e 's/@''GNULIB_CALLOC_GNU''@/$(GL_GNULIB_CALLOC_GNU)/g' \
1880 -e 's/@''GNULIB_CALLOC_POSIX''@/$(GL_GNULIB_CALLOC_POSIX)/g' \ 1922 -e 's/@''GNULIB_CALLOC_POSIX''@/$(GL_GNULIB_CALLOC_POSIX)/g' \
1881 -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GL_GNULIB_CANONICALIZE_FILE_NAME)/g' \ 1923 -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GL_GNULIB_CANONICALIZE_FILE_NAME)/g' \
1882 -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \ 1924 -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \
1883 -e 's/@''GNULIB_GETLOADAVG''@/$(GL_GNULIB_GETLOADAVG)/g' \ 1925 -e 's/@''GNULIB_GETLOADAVG''@/$(GL_GNULIB_GETLOADAVG)/g' \
1884 -e 's/@''GNULIB_GETSUBOPT''@/$(GL_GNULIB_GETSUBOPT)/g' \ 1926 -e 's/@''GNULIB_GETSUBOPT''@/$(GL_GNULIB_GETSUBOPT)/g' \
1885 -e 's/@''GNULIB_GRANTPT''@/$(GL_GNULIB_GRANTPT)/g' \ 1927 -e 's/@''GNULIB_GRANTPT''@/$(GL_GNULIB_GRANTPT)/g' \
1928 -e 's/@''GNULIB_MALLOC_GNU''@/$(GL_GNULIB_MALLOC_GNU)/g' \
1886 -e 's/@''GNULIB_MALLOC_POSIX''@/$(GL_GNULIB_MALLOC_POSIX)/g' \ 1929 -e 's/@''GNULIB_MALLOC_POSIX''@/$(GL_GNULIB_MALLOC_POSIX)/g' \
1887 -e 's/@''GNULIB_MBTOWC''@/$(GL_GNULIB_MBTOWC)/g' \ 1930 -e 's/@''GNULIB_MBTOWC''@/$(GL_GNULIB_MBTOWC)/g' \
1888 -e 's/@''GNULIB_MKDTEMP''@/$(GL_GNULIB_MKDTEMP)/g' \ 1931 -e 's/@''GNULIB_MKDTEMP''@/$(GL_GNULIB_MKDTEMP)/g' \
@@ -1898,6 +1941,7 @@ stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1898 -e 's/@''GNULIB_QSORT_R''@/$(GL_GNULIB_QSORT_R)/g' \ 1941 -e 's/@''GNULIB_QSORT_R''@/$(GL_GNULIB_QSORT_R)/g' \
1899 -e 's/@''GNULIB_RANDOM''@/$(GL_GNULIB_RANDOM)/g' \ 1942 -e 's/@''GNULIB_RANDOM''@/$(GL_GNULIB_RANDOM)/g' \
1900 -e 's/@''GNULIB_RANDOM_R''@/$(GL_GNULIB_RANDOM_R)/g' \ 1943 -e 's/@''GNULIB_RANDOM_R''@/$(GL_GNULIB_RANDOM_R)/g' \
1944 -e 's/@''GNULIB_REALLOC_GNU''@/$(GL_GNULIB_REALLOC_GNU)/g' \
1901 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GL_GNULIB_REALLOC_POSIX)/g' \ 1945 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GL_GNULIB_REALLOC_POSIX)/g' \
1902 -e 's/@''GNULIB_REALLOCARRAY''@/$(GL_GNULIB_REALLOCARRAY)/g' \ 1946 -e 's/@''GNULIB_REALLOCARRAY''@/$(GL_GNULIB_REALLOCARRAY)/g' \
1903 -e 's/@''GNULIB_REALPATH''@/$(GL_GNULIB_REALPATH)/g' \ 1947 -e 's/@''GNULIB_REALPATH''@/$(GL_GNULIB_REALPATH)/g' \
@@ -1964,11 +2008,13 @@ stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1964 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \ 2008 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1965 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \ 2009 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
1966 -e 's|@''REPLACE_ALIGNED_ALLOC''@|$(REPLACE_ALIGNED_ALLOC)|g' \ 2010 -e 's|@''REPLACE_ALIGNED_ALLOC''@|$(REPLACE_ALIGNED_ALLOC)|g' \
1967 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \ 2011 -e 's|@''REPLACE_CALLOC_FOR_CALLOC_GNU''@|$(REPLACE_CALLOC_FOR_CALLOC_GNU)|g' \
2012 -e 's|@''REPLACE_CALLOC_FOR_CALLOC_POSIX''@|$(REPLACE_CALLOC_FOR_CALLOC_POSIX)|g' \
1968 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ 2013 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1969 -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \ 2014 -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \
1970 -e 's|@''REPLACE_INITSTATE''@|$(REPLACE_INITSTATE)|g' \ 2015 -e 's|@''REPLACE_INITSTATE''@|$(REPLACE_INITSTATE)|g' \
1971 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \ 2016 -e 's|@''REPLACE_MALLOC_FOR_MALLOC_GNU''@|$(REPLACE_MALLOC_FOR_MALLOC_GNU)|g' \
2017 -e 's|@''REPLACE_MALLOC_FOR_MALLOC_POSIX''@|$(REPLACE_MALLOC_FOR_MALLOC_POSIX)|g' \
1972 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \ 2018 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
1973 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ 2019 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1974 -e 's|@''REPLACE_POSIX_MEMALIGN''@|$(REPLACE_POSIX_MEMALIGN)|g' \ 2020 -e 's|@''REPLACE_POSIX_MEMALIGN''@|$(REPLACE_POSIX_MEMALIGN)|g' \
@@ -1978,7 +2024,8 @@ stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1978 -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \ 2024 -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \
1979 -e 's|@''REPLACE_RANDOM''@|$(REPLACE_RANDOM)|g' \ 2025 -e 's|@''REPLACE_RANDOM''@|$(REPLACE_RANDOM)|g' \
1980 -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \ 2026 -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
1981 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \ 2027 -e 's|@''REPLACE_REALLOC_FOR_REALLOC_GNU''@|$(REPLACE_REALLOC_FOR_REALLOC_GNU)|g' \
2028 -e 's|@''REPLACE_REALLOC_FOR_REALLOC_POSIX''@|$(REPLACE_REALLOC_FOR_REALLOC_POSIX)|g' \
1982 -e 's|@''REPLACE_REALLOCARRAY''@|$(REPLACE_REALLOCARRAY)|g' \ 2029 -e 's|@''REPLACE_REALLOCARRAY''@|$(REPLACE_REALLOCARRAY)|g' \
1983 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \ 2030 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1984 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ 2031 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
@@ -1994,9 +2041,9 @@ stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1994 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 2041 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1995 -e '/definition of _Noreturn/r $(_NORETURN_H)' \ 2042 -e '/definition of _Noreturn/r $(_NORETURN_H)' \
1996 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ 2043 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1997 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ 2044 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1998 } > $@-t && \ 2045 > $@-t
1999 mv $@-t $@ 2046 $(AM_V_at)mv $@-t $@
2000MOSTLYCLEANFILES += stdlib.h stdlib.h-t 2047MOSTLYCLEANFILES += stdlib.h stdlib.h-t
2001 2048
2002EXTRA_DIST += stdlib.in.h 2049EXTRA_DIST += stdlib.in.h
@@ -2005,10 +2052,12 @@ EXTRA_DIST += stdlib.in.h
2005 2052
2006## begin gnulib module strcase 2053## begin gnulib module strcase
2007 2054
2008 2055if GL_COND_OBJ_STRCASECMP
2009EXTRA_DIST += strcasecmp.c strncasecmp.c 2056libgnu_a_SOURCES += strcasecmp.c
2010 2057endif
2011EXTRA_libgnu_a_SOURCES += strcasecmp.c strncasecmp.c 2058if GL_COND_OBJ_STRNCASECMP
2059libgnu_a_SOURCES += strncasecmp.c
2060endif
2012 2061
2013## end gnulib module strcase 2062## end gnulib module strcase
2014 2063
@@ -2039,19 +2088,19 @@ EXTRA_DIST += streq.h
2039 2088
2040## begin gnulib module strerror 2089## begin gnulib module strerror
2041 2090
2042 2091if GL_COND_OBJ_STRERROR
2043EXTRA_DIST += strerror.c 2092libgnu_a_SOURCES += strerror.c
2044 2093endif
2045EXTRA_libgnu_a_SOURCES += strerror.c
2046 2094
2047## end gnulib module strerror 2095## end gnulib module strerror
2048 2096
2049## begin gnulib module strerror-override 2097## begin gnulib module strerror-override
2050 2098
2099if GL_COND_OBJ_STRERROR_OVERRIDE
2100libgnu_a_SOURCES += strerror-override.c
2101endif
2051 2102
2052EXTRA_DIST += strerror-override.c strerror-override.h 2103EXTRA_DIST += strerror-override.h
2053
2054EXTRA_libgnu_a_SOURCES += strerror-override.c
2055 2104
2056## end gnulib module strerror-override 2105## end gnulib module strerror-override
2057 2106
@@ -2062,9 +2111,8 @@ BUILT_SOURCES += string.h
2062# We need the following in order to create <string.h> when the system 2111# We need the following in order to create <string.h> when the system
2063# doesn't have one that works with the given compiler. 2112# doesn't have one that works with the given compiler.
2064string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 2113string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2065 $(AM_V_GEN)rm -f $@-t $@ && \ 2114 $(gl_V_at)$(SED_HEADER_STDOUT) \
2066 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 2115 -e 's|@''GUARD_PREFIX''@|GL|g' \
2067 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2068 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 2116 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2069 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 2117 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2070 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 2118 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
@@ -2158,10 +2206,9 @@ string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
2158 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \ 2206 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
2159 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 2207 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2160 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ 2208 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2161 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ 2209 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2162 < $(srcdir)/string.in.h; \ 2210 > $@-t
2163 } > $@-t && \ 2211 $(AM_V_at)mv $@-t $@
2164 mv $@-t $@
2165MOSTLYCLEANFILES += string.h string.h-t 2212MOSTLYCLEANFILES += string.h string.h-t
2166 2213
2167EXTRA_DIST += string.in.h 2214EXTRA_DIST += string.in.h
@@ -2175,9 +2222,8 @@ BUILT_SOURCES += strings.h
2175# We need the following in order to create <strings.h> when the system 2222# We need the following in order to create <strings.h> when the system
2176# doesn't have one that works with the given compiler. 2223# doesn't have one that works with the given compiler.
2177strings.h: strings.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) 2224strings.h: strings.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
2178 $(AM_V_GEN)rm -f $@-t $@ && \ 2225 $(gl_V_at)$(SED_HEADER_STDOUT) \
2179 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 2226 -e 's|@''GUARD_PREFIX''@|GL|g' \
2180 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2181 -e 's|@''HAVE_STRINGS_H''@|$(HAVE_STRINGS_H)|g' \ 2227 -e 's|@''HAVE_STRINGS_H''@|$(HAVE_STRINGS_H)|g' \
2182 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 2228 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2183 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 2229 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
@@ -2190,9 +2236,8 @@ strings.h: strings.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE
2190 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 2236 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2191 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ 2237 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2192 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ 2238 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2193 < $(srcdir)/strings.in.h; \ 2239 $(srcdir)/strings.in.h > $@-t
2194 } > $@-t && \ 2240 $(AM_V_at)mv $@-t $@
2195 mv $@-t $@
2196MOSTLYCLEANFILES += strings.h strings.h-t 2241MOSTLYCLEANFILES += strings.h strings.h-t
2197 2242
2198EXTRA_DIST += strings.in.h 2243EXTRA_DIST += strings.in.h
@@ -2201,10 +2246,9 @@ EXTRA_DIST += strings.in.h
2201 2246
2202## begin gnulib module strsep 2247## begin gnulib module strsep
2203 2248
2204 2249if GL_COND_OBJ_STRSEP
2205EXTRA_DIST += strsep.c 2250libgnu_a_SOURCES += strsep.c
2206 2251endif
2207EXTRA_libgnu_a_SOURCES += strsep.c
2208 2252
2209## end gnulib module strsep 2253## end gnulib module strsep
2210 2254
@@ -2225,10 +2269,9 @@ libgnu_a_SOURCES += sys_socket.c
2225# We need the following in order to create <sys/socket.h> when the system 2269# We need the following in order to create <sys/socket.h> when the system
2226# doesn't have one that works with the given compiler. 2270# doesn't have one that works with the given compiler.
2227sys/socket.h: sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) 2271sys/socket.h: sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
2228 $(AM_V_at)$(MKDIR_P) sys 2272 $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
2229 $(AM_V_GEN)rm -f $@-t $@ && \ 2273 $(AM_V_at)$(SED_HEADER_STDOUT) \
2230 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 2274 -e 's|@''GUARD_PREFIX''@|GL|g' \
2231 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2232 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 2275 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2233 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 2276 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2234 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 2277 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
@@ -2259,9 +2302,8 @@ sys/socket.h: sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_
2259 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 2302 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2260 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ 2303 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2261 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ 2304 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2262 < $(srcdir)/sys_socket.in.h; \ 2305 $(srcdir)/sys_socket.in.h > $@-t
2263 } > $@-t && \ 2306 $(AM_V_at)mv $@-t $@
2264 mv -f $@-t $@
2265MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t 2307MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
2266MOSTLYCLEANDIRS += sys 2308MOSTLYCLEANDIRS += sys
2267 2309
@@ -2276,16 +2318,16 @@ BUILT_SOURCES += sys/stat.h
2276# We need the following in order to create <sys/stat.h> when the system 2318# We need the following in order to create <sys/stat.h> when the system
2277# has one that is incomplete. 2319# has one that is incomplete.
2278sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 2320sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2279 $(AM_V_at)$(MKDIR_P) sys 2321 $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
2280 $(AM_V_GEN)rm -f $@-t $@ && \ 2322 $(AM_V_at)$(SED_HEADER_STDOUT) \
2281 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 2323 -e 's|@''GUARD_PREFIX''@|GL|g' \
2282 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2283 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 2324 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2284 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 2325 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2285 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 2326 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2286 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \ 2327 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
2287 -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \ 2328 -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
2288 -e 's|@''WINDOWS_STAT_TIMESPEC''@|$(WINDOWS_STAT_TIMESPEC)|g' \ 2329 -e 's|@''WINDOWS_STAT_TIMESPEC''@|$(WINDOWS_STAT_TIMESPEC)|g' \
2330 -e 's/@''GNULIB_CHMOD''@/$(GL_GNULIB_CHMOD)/g' \
2289 -e 's/@''GNULIB_FCHMODAT''@/$(GL_GNULIB_FCHMODAT)/g' \ 2331 -e 's/@''GNULIB_FCHMODAT''@/$(GL_GNULIB_FCHMODAT)/g' \
2290 -e 's/@''GNULIB_FSTAT''@/$(GL_GNULIB_FSTAT)/g' \ 2332 -e 's/@''GNULIB_FSTAT''@/$(GL_GNULIB_FSTAT)/g' \
2291 -e 's/@''GNULIB_FSTATAT''@/$(GL_GNULIB_FSTATAT)/g' \ 2333 -e 's/@''GNULIB_FSTATAT''@/$(GL_GNULIB_FSTATAT)/g' \
@@ -2317,6 +2359,7 @@ sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNU
2317 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \ 2359 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
2318 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \ 2360 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
2319 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \ 2361 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
2362 -e 's|@''REPLACE_CHMOD''@|$(REPLACE_CHMOD)|g' \
2320 -e 's|@''REPLACE_FCHMODAT''@|$(REPLACE_FCHMODAT)|g' \ 2363 -e 's|@''REPLACE_FCHMODAT''@|$(REPLACE_FCHMODAT)|g' \
2321 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \ 2364 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
2322 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \ 2365 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
@@ -2332,9 +2375,8 @@ sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNU
2332 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 2375 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2333 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ 2376 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2334 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ 2377 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2335 < $(srcdir)/sys_stat.in.h; \ 2378 $(srcdir)/sys_stat.in.h > $@-t
2336 } > $@-t && \ 2379 $(AM_V_at)mv $@-t $@
2337 mv $@-t $@
2338MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t 2380MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
2339MOSTLYCLEANDIRS += sys 2381MOSTLYCLEANDIRS += sys
2340 2382
@@ -2349,19 +2391,17 @@ BUILT_SOURCES += sys/types.h
2349# We need the following in order to create <sys/types.h> when the system 2391# We need the following in order to create <sys/types.h> when the system
2350# doesn't have one that works with the given compiler. 2392# doesn't have one that works with the given compiler.
2351sys/types.h: sys_types.in.h $(top_builddir)/config.status 2393sys/types.h: sys_types.in.h $(top_builddir)/config.status
2352 $(AM_V_at)$(MKDIR_P) sys 2394 $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
2353 $(AM_V_GEN)rm -f $@-t $@ && \ 2395 $(AM_V_at)$(SED_HEADER_STDOUT) \
2354 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 2396 -e 's|@''GUARD_PREFIX''@|GL|g' \
2355 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2356 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 2397 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2357 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 2398 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2358 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 2399 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2359 -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \ 2400 -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
2360 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ 2401 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
2361 -e 's|@''WINDOWS_STAT_INODES''@|$(WINDOWS_STAT_INODES)|g' \ 2402 -e 's|@''WINDOWS_STAT_INODES''@|$(WINDOWS_STAT_INODES)|g' \
2362 < $(srcdir)/sys_types.in.h; \ 2403 $(srcdir)/sys_types.in.h > $@-t
2363 } > $@-t && \ 2404 $(AM_V_at)mv $@-t $@
2364 mv $@-t $@
2365MOSTLYCLEANFILES += sys/types.h sys/types.h-t 2405MOSTLYCLEANFILES += sys/types.h sys/types.h-t
2366 2406
2367EXTRA_DIST += sys_types.in.h 2407EXTRA_DIST += sys_types.in.h
@@ -2375,18 +2415,16 @@ BUILT_SOURCES += sys/uio.h
2375# We need the following in order to create <sys/uio.h> when the system 2415# We need the following in order to create <sys/uio.h> when the system
2376# doesn't have one that works with the given compiler. 2416# doesn't have one that works with the given compiler.
2377sys/uio.h: sys_uio.in.h $(top_builddir)/config.status 2417sys/uio.h: sys_uio.in.h $(top_builddir)/config.status
2378 $(AM_V_at)$(MKDIR_P) sys 2418 $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
2379 $(AM_V_GEN)rm -f $@-t $@ && \ 2419 $(AM_V_at)$(SED_HEADER_STDOUT) \
2380 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 2420 -e 's|@''GUARD_PREFIX''@|GL|g' \
2381 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2382 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 2421 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2383 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 2422 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2384 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 2423 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2385 -e 's|@''NEXT_SYS_UIO_H''@|$(NEXT_SYS_UIO_H)|g' \ 2424 -e 's|@''NEXT_SYS_UIO_H''@|$(NEXT_SYS_UIO_H)|g' \
2386 -e 's|@''HAVE_SYS_UIO_H''@|$(HAVE_SYS_UIO_H)|g' \ 2425 -e 's|@''HAVE_SYS_UIO_H''@|$(HAVE_SYS_UIO_H)|g' \
2387 < $(srcdir)/sys_uio.in.h; \ 2426 $(srcdir)/sys_uio.in.h > $@-t
2388 } > $@-t && \ 2427 $(AM_V_at)mv $@-t $@
2389 mv -f $@-t $@
2390MOSTLYCLEANFILES += sys/uio.h sys/uio.h-t 2428MOSTLYCLEANFILES += sys/uio.h sys/uio.h-t
2391MOSTLYCLEANDIRS += sys 2429MOSTLYCLEANDIRS += sys
2392 2430
@@ -2407,9 +2445,8 @@ BUILT_SOURCES += time.h
2407# We need the following in order to create <time.h> when the system 2445# We need the following in order to create <time.h> when the system
2408# doesn't have one that works with the given compiler. 2446# doesn't have one that works with the given compiler.
2409time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 2447time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2410 $(AM_V_GEN)rm -f $@-t $@ && \ 2448 $(gl_V_at)$(SED_HEADER_STDOUT) \
2411 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 2449 -e 's|@''GUARD_PREFIX''@|GL|g' \
2412 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2413 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 2450 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2414 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 2451 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2415 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 2452 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
@@ -2422,6 +2459,7 @@ time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(
2422 -e 's/@''GNULIB_STRPTIME''@/$(GL_GNULIB_STRPTIME)/g' \ 2459 -e 's/@''GNULIB_STRPTIME''@/$(GL_GNULIB_STRPTIME)/g' \
2423 -e 's/@''GNULIB_TIMEGM''@/$(GL_GNULIB_TIMEGM)/g' \ 2460 -e 's/@''GNULIB_TIMEGM''@/$(GL_GNULIB_TIMEGM)/g' \
2424 -e 's/@''GNULIB_TIMESPEC_GET''@/$(GL_GNULIB_TIMESPEC_GET)/g' \ 2461 -e 's/@''GNULIB_TIMESPEC_GET''@/$(GL_GNULIB_TIMESPEC_GET)/g' \
2462 -e 's/@''GNULIB_TIMESPEC_GETRES''@/$(GL_GNULIB_TIMESPEC_GETRES)/g' \
2425 -e 's/@''GNULIB_TIME_R''@/$(GL_GNULIB_TIME_R)/g' \ 2463 -e 's/@''GNULIB_TIME_R''@/$(GL_GNULIB_TIME_R)/g' \
2426 -e 's/@''GNULIB_TIME_RZ''@/$(GL_GNULIB_TIME_RZ)/g' \ 2464 -e 's/@''GNULIB_TIME_RZ''@/$(GL_GNULIB_TIME_RZ)/g' \
2427 -e 's/@''GNULIB_TZSET''@/$(GL_GNULIB_TZSET)/g' \ 2465 -e 's/@''GNULIB_TZSET''@/$(GL_GNULIB_TZSET)/g' \
@@ -2431,6 +2469,7 @@ time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(
2431 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \ 2469 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
2432 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \ 2470 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
2433 -e 's|@''HAVE_TIMESPEC_GET''@|$(HAVE_TIMESPEC_GET)|g' \ 2471 -e 's|@''HAVE_TIMESPEC_GET''@|$(HAVE_TIMESPEC_GET)|g' \
2472 -e 's|@''HAVE_TIMESPEC_GETRES''@|$(HAVE_TIMESPEC_GETRES)|g' \
2434 -e 's|@''HAVE_TIMEZONE_T''@|$(HAVE_TIMEZONE_T)|g' \ 2473 -e 's|@''HAVE_TIMEZONE_T''@|$(HAVE_TIMEZONE_T)|g' \
2435 -e 's|@''REPLACE_CTIME''@|$(REPLACE_CTIME)|g' \ 2474 -e 's|@''REPLACE_CTIME''@|$(REPLACE_CTIME)|g' \
2436 -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \ 2475 -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \
@@ -2449,9 +2488,8 @@ time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(
2449 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 2488 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2450 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ 2489 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2451 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ 2490 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2452 < $(srcdir)/time.in.h; \ 2491 $(srcdir)/time.in.h > $@-t
2453 } > $@-t && \ 2492 $(AM_V_at)mv $@-t $@
2454 mv $@-t $@
2455MOSTLYCLEANFILES += time.h time.h-t 2493MOSTLYCLEANFILES += time.h time.h-t
2456 2494
2457EXTRA_DIST += time.in.h 2495EXTRA_DIST += time.in.h
@@ -2460,19 +2498,19 @@ EXTRA_DIST += time.in.h
2460 2498
2461## begin gnulib module time_r 2499## begin gnulib module time_r
2462 2500
2463 2501if GL_COND_OBJ_TIME_R
2464EXTRA_DIST += time_r.c 2502libgnu_a_SOURCES += time_r.c
2465 2503endif
2466EXTRA_libgnu_a_SOURCES += time_r.c
2467 2504
2468## end gnulib module time_r 2505## end gnulib module time_r
2469 2506
2470## begin gnulib module timegm 2507## begin gnulib module timegm
2471 2508
2509if GL_COND_OBJ_TIMEGM
2510libgnu_a_SOURCES += timegm.c
2511endif
2472 2512
2473EXTRA_DIST += mktime-internal.h timegm.c 2513EXTRA_DIST += mktime-internal.h
2474
2475EXTRA_libgnu_a_SOURCES += timegm.c
2476 2514
2477## end gnulib module timegm 2515## end gnulib module timegm
2478 2516
@@ -2484,9 +2522,8 @@ libgnu_a_SOURCES += unistd.c
2484# We need the following in order to create an empty placeholder for 2522# We need the following in order to create an empty placeholder for
2485# <unistd.h> when the system doesn't have one. 2523# <unistd.h> when the system doesn't have one.
2486unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 2524unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2487 $(AM_V_GEN)rm -f $@-t $@ && \ 2525 $(gl_V_at)$(SED_HEADER_STDOUT) \
2488 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 2526 -e 's|@''GUARD_PREFIX''@|GL|g' \
2489 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2490 -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \ 2527 -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
2491 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 2528 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2492 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 2529 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
@@ -2527,6 +2564,7 @@ unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
2527 -e 's/@''GNULIB_GETOPT_POSIX''@/$(GL_GNULIB_GETOPT_POSIX)/g' \ 2564 -e 's/@''GNULIB_GETOPT_POSIX''@/$(GL_GNULIB_GETOPT_POSIX)/g' \
2528 -e 's/@''GNULIB_GETPAGESIZE''@/$(GL_GNULIB_GETPAGESIZE)/g' \ 2565 -e 's/@''GNULIB_GETPAGESIZE''@/$(GL_GNULIB_GETPAGESIZE)/g' \
2529 -e 's/@''GNULIB_GETPASS''@/$(GL_GNULIB_GETPASS)/g' \ 2566 -e 's/@''GNULIB_GETPASS''@/$(GL_GNULIB_GETPASS)/g' \
2567 -e 's/@''GNULIB_GETPASS_GNU''@/$(GL_GNULIB_GETPASS_GNU)/g' \
2530 -e 's/@''GNULIB_GETUSERSHELL''@/$(GL_GNULIB_GETUSERSHELL)/g' \ 2568 -e 's/@''GNULIB_GETUSERSHELL''@/$(GL_GNULIB_GETUSERSHELL)/g' \
2531 -e 's/@''GNULIB_GROUP_MEMBER''@/$(GL_GNULIB_GROUP_MEMBER)/g' \ 2569 -e 's/@''GNULIB_GROUP_MEMBER''@/$(GL_GNULIB_GROUP_MEMBER)/g' \
2532 -e 's/@''GNULIB_ISATTY''@/$(GL_GNULIB_ISATTY)/g' \ 2570 -e 's/@''GNULIB_ISATTY''@/$(GL_GNULIB_ISATTY)/g' \
@@ -2628,6 +2666,7 @@ unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
2628 sed -e 's|@''REPLACE_ACCESS''@|$(REPLACE_ACCESS)|g' \ 2666 sed -e 's|@''REPLACE_ACCESS''@|$(REPLACE_ACCESS)|g' \
2629 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \ 2667 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
2630 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \ 2668 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
2669 -e 's|@''REPLACE_COPY_FILE_RANGE''@|$(REPLACE_COPY_FILE_RANGE)|g' \
2631 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \ 2670 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
2632 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \ 2671 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
2633 -e 's|@''REPLACE_EXECL''@|$(REPLACE_EXECL)|g' \ 2672 -e 's|@''REPLACE_EXECL''@|$(REPLACE_EXECL)|g' \
@@ -2647,6 +2686,7 @@ unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
2647 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \ 2686 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
2648 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \ 2687 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
2649 -e 's|@''REPLACE_GETPASS''@|$(REPLACE_GETPASS)|g' \ 2688 -e 's|@''REPLACE_GETPASS''@|$(REPLACE_GETPASS)|g' \
2689 -e 's|@''REPLACE_GETPASS_FOR_GETPASS_GNU''@|$(REPLACE_GETPASS_FOR_GETPASS_GNU)|g' \
2650 -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \ 2690 -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
2651 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \ 2691 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
2652 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \ 2692 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
@@ -2672,9 +2712,9 @@ unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
2672 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \ 2712 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
2673 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 2713 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2674 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ 2714 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2675 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ 2715 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2676 } > $@-t && \ 2716 > $@-t
2677 mv $@-t $@ 2717 $(AM_V_at)mv $@-t $@
2678MOSTLYCLEANFILES += unistd.h unistd.h-t 2718MOSTLYCLEANFILES += unistd.h unistd.h-t
2679 2719
2680EXTRA_DIST += unistd.in.h 2720EXTRA_DIST += unistd.in.h
@@ -2690,10 +2730,9 @@ EXTRA_DIST += unlocked-io.h
2690 2730
2691## begin gnulib module unsetenv 2731## begin gnulib module unsetenv
2692 2732
2693 2733if GL_COND_OBJ_UNSETENV
2694EXTRA_DIST += unsetenv.c 2734libgnu_a_SOURCES += unsetenv.c
2695 2735endif
2696EXTRA_libgnu_a_SOURCES += unsetenv.c
2697 2736
2698## end gnulib module unsetenv 2737## end gnulib module unsetenv
2699 2738
@@ -2738,9 +2777,8 @@ BUILT_SOURCES += wchar.h
2738# We need the following in order to create <wchar.h> when the system 2777# We need the following in order to create <wchar.h> when the system
2739# version does not work standalone. 2778# version does not work standalone.
2740wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 2779wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2741 $(AM_V_GEN)rm -f $@-t $@ && \ 2780 $(gl_V_at)$(SED_HEADER_STDOUT) \
2742 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 2781 -e 's|@''GUARD_PREFIX''@|GL|g' \
2743 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2744 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 2782 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2745 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 2783 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2746 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 2784 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
@@ -2855,9 +2893,9 @@ wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H)
2855 -e 's|@''REPLACE_WCSTOK''@|$(REPLACE_WCSTOK)|g' \ 2893 -e 's|@''REPLACE_WCSTOK''@|$(REPLACE_WCSTOK)|g' \
2856 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 2894 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2857 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ 2895 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2858 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ 2896 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2859 } > $@-t && \ 2897 > $@-t
2860 mv $@-t $@ 2898 $(AM_V_at)mv $@-t $@
2861MOSTLYCLEANFILES += wchar.h wchar.h-t 2899MOSTLYCLEANFILES += wchar.h wchar.h-t
2862 2900
2863EXTRA_DIST += wchar.in.h 2901EXTRA_DIST += wchar.in.h
@@ -2866,10 +2904,9 @@ EXTRA_DIST += wchar.in.h
2866 2904
2867## begin gnulib module wcrtomb 2905## begin gnulib module wcrtomb
2868 2906
2869 2907if GL_COND_OBJ_WCRTOMB
2870EXTRA_DIST += wcrtomb.c 2908libgnu_a_SOURCES += wcrtomb.c
2871 2909endif
2872EXTRA_libgnu_a_SOURCES += wcrtomb.c
2873 2910
2874## end gnulib module wcrtomb 2911## end gnulib module wcrtomb
2875 2912
@@ -2881,9 +2918,8 @@ libgnu_a_SOURCES += wctype-h.c
2881# We need the following in order to create <wctype.h> when the system 2918# We need the following in order to create <wctype.h> when the system
2882# doesn't have one that works with the given compiler. 2919# doesn't have one that works with the given compiler.
2883wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) 2920wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
2884 $(AM_V_GEN)rm -f $@-t $@ && \ 2921 $(gl_V_at)$(SED_HEADER_STDOUT) \
2885 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 2922 -e 's|@''GUARD_PREFIX''@|GL|g' \
2886 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2887 -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \ 2923 -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
2888 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 2924 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2889 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 2925 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
@@ -2910,9 +2946,8 @@ wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H
2910 -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \ 2946 -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
2911 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 2947 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2912 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ 2948 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2913 < $(srcdir)/wctype.in.h; \ 2949 $(srcdir)/wctype.in.h > $@-t
2914 } > $@-t && \ 2950 $(AM_V_at)mv $@-t $@
2915 mv $@-t $@
2916MOSTLYCLEANFILES += wctype.h wctype.h-t 2951MOSTLYCLEANFILES += wctype.h wctype.h-t
2917 2952
2918EXTRA_DIST += wctype.in.h 2953EXTRA_DIST += wctype.in.h
@@ -2921,37 +2956,41 @@ EXTRA_DIST += wctype.in.h
2921 2956
2922## begin gnulib module windows-mutex 2957## begin gnulib module windows-mutex
2923 2958
2959if GL_COND_OBJ_WINDOWS_MUTEX
2960libgnu_a_SOURCES += windows-mutex.c
2961endif
2924 2962
2925EXTRA_DIST += windows-initguard.h windows-mutex.c windows-mutex.h 2963EXTRA_DIST += windows-initguard.h windows-mutex.h
2926
2927EXTRA_libgnu_a_SOURCES += windows-mutex.c
2928 2964
2929## end gnulib module windows-mutex 2965## end gnulib module windows-mutex
2930 2966
2931## begin gnulib module windows-once 2967## begin gnulib module windows-once
2932 2968
2969if GL_COND_OBJ_WINDOWS_ONCE
2970libgnu_a_SOURCES += windows-once.c
2971endif
2933 2972
2934EXTRA_DIST += windows-once.c windows-once.h 2973EXTRA_DIST += windows-once.h
2935
2936EXTRA_libgnu_a_SOURCES += windows-once.c
2937 2974
2938## end gnulib module windows-once 2975## end gnulib module windows-once
2939 2976
2940## begin gnulib module windows-recmutex 2977## begin gnulib module windows-recmutex
2941 2978
2979if GL_COND_OBJ_WINDOWS_RECMUTEX
2980libgnu_a_SOURCES += windows-recmutex.c
2981endif
2942 2982
2943EXTRA_DIST += windows-initguard.h windows-recmutex.c windows-recmutex.h 2983EXTRA_DIST += windows-initguard.h windows-recmutex.h
2944
2945EXTRA_libgnu_a_SOURCES += windows-recmutex.c
2946 2984
2947## end gnulib module windows-recmutex 2985## end gnulib module windows-recmutex
2948 2986
2949## begin gnulib module windows-rwlock 2987## begin gnulib module windows-rwlock
2950 2988
2989if GL_COND_OBJ_WINDOWS_RWLOCK
2990libgnu_a_SOURCES += windows-rwlock.c
2991endif
2951 2992
2952EXTRA_DIST += windows-initguard.h windows-rwlock.c windows-rwlock.h 2993EXTRA_DIST += windows-initguard.h windows-rwlock.h
2953
2954EXTRA_libgnu_a_SOURCES += windows-rwlock.c
2955 2994
2956## end gnulib module windows-rwlock 2995## end gnulib module windows-rwlock
2957 2996
@@ -2992,3 +3031,7 @@ mostlyclean-local: mostlyclean-generic
2992 fi; \ 3031 fi; \
2993 done; \ 3032 done; \
2994 : 3033 :
3034distclean-local: distclean-gnulib-libobjs
3035distclean-gnulib-libobjs:
3036 -rm -f @gl_LIBOBJDEPS@
3037maintainer-clean-local: distclean-gnulib-libobjs