VirtualBox

source: kBuild/vendor/sed/current/lib/gnulib.mk@ 3611

Last change on this file since 3611 was 3611, checked in by bird, 7 months ago

vendor/sed/current: GNU sed 4.9 (sed-4.9.tar.xz sha256:6e226b732e1cd739464ad6862bd1a1aba42d7982922da7a53519631d24975181)

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

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette