Debian Codegraph @

lib/Makefile.gnulib

raw
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2025 Free Software Foundation, Inc.
4 #
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this file. If not, see <https://www.gnu.org/licenses/>.
17 #
18 # As a special exception to the GNU General Public License,
19 # this file may be distributed as part of a program that
20 # contains a configuration script generated by Autoconf, under
21 # the same distribution terms as the rest of that program.
22 #
23 # Generated by gnulib-tool.
24 # Reproduce by:
25 # gnulib-tool --import \
26 # --local-dir=gnulib-local \
27 # --lib=libgp \
28 # --source-base=lib \
29 # --m4-base=lib/gnulib-m4 \
30 # --doc-base=doc \
31 # --tests-base=tests \
32 # --aux-dir=build-aux \
33 # --makefile-name=Makefile.gnulib \
34 # --no-conditional-dependencies \
35 # --no-libtool \
36 # --macro-prefix=gl \
37 # filename \
38 # getopt-gnu \
39 # hash-map \
40 # map-c++ \
41 # package-version \
42 # read-file
43
44
45 MOSTLYCLEANFILES += core *.stackdump
46 # No GNU Make output.
47
48
49 libgp_a_SOURCES =
50 libgp_a_CFLAGS = $(AM_CFLAGS) $(GL_CFLAG_GNULIB_WARNINGS) $(GL_CFLAG_ALLOW_WARNINGS)
51 libgp_a_LIBADD = $(gl_libgp_LIBOBJS)
52 libgp_a_DEPENDENCIES = $(gl_libgp_LIBOBJS)
53 EXTRA_libgp_a_SOURCES =
54
55 ## begin gnulib module absolute-header
56
57 # Use this preprocessor expression to decide whether #include_next works.
58 # Do not rely on a 'configure'-time test for this, since the expression
59 # might appear in an installed header, which is used by some other compiler.
60 HAVE_INCLUDE_NEXT = (__GNUC__ || __clang__ || 60000000 <= __DECC_VER)
61
62 ## end gnulib module absolute-header
63
64 ## begin gnulib module alloca-opt
65
66 BUILT_SOURCES += $(ALLOCA_H)
67
68 # We need the following in order to create <alloca.h> when the system
69 # doesn't have one that works with the given compiler.
70 if GL_GENERATE_ALLOCA_H
71 alloca.h: alloca.in.h $(top_builddir)/config.status
72 $(gl_V_at)$(SED_HEADER_STDOUT) \
73 -e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' \
74 $(srcdir)/alloca.in.h > $@-t
75 $(AM_V_at)mv $@-t $@
76 else
77 alloca.h: $(top_builddir)/config.status
78 rm -f $@
79 endif
80 MOSTLYCLEANFILES += alloca.h alloca.h-t
81
82 EXTRA_DIST += alloca.in.h
83
84 ## end gnulib module alloca-opt
85
86 ## begin gnulib module assert-h
87
88 BUILT_SOURCES += $(ASSERT_H)
89
90 # We need the following in order to create <assert.h> when the system
91 # doesn't have one that works with the given compiler.
92 if GL_GENERATE_ASSERT_H
93 assert.h: assert.in.h verify.h $(top_builddir)/config.status
94 $(gl_V_at){ $(SED_HEADER_STDOUT) \
95 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
96 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
97 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
98 -e 's|@''NEXT_ASSERT_H''@|$(NEXT_ASSERT_H)|g' \
99 < $(srcdir)/assert.in.h && \
100 sed -e '/@assert.h omit start@/,/@assert.h omit end@/d' \
101 -e 's|_gl_verify|_gl_static_assert|g' \
102 -e 's|_GL_VERIFY|_GL_STATIC_ASSERT|g' \
103 -e 's|_GL\(_STATIC_ASSERT_H\)|_GL\1|g' \
104 < $(srcdir)/verify.h; \
105 } > $@-t
106 $(AM_V_at)mv $@-t $@
107 else
108 assert.h: $(top_builddir)/config.status
109 rm -f $@
110 endif
111 MOSTLYCLEANFILES += assert.h assert.h-t
112
113 EXTRA_DIST += assert.in.h verify.h
114
115 ## end gnulib module assert-h
116
117 ## begin gnulib module attribute
118
119
120 EXTRA_DIST += attribute.h
121
122 ## end gnulib module attribute
123
124 ## begin gnulib module basename-lgpl
125
126 libgp_a_SOURCES += basename-lgpl.c
127
128 EXTRA_DIST += basename-lgpl.h
129
130 ## end gnulib module basename-lgpl
131
132 ## begin gnulib module cloexec
133
134 libgp_a_SOURCES += cloexec.c
135
136 EXTRA_DIST += cloexec.h
137
138 ## end gnulib module cloexec
139
140 ## begin gnulib module close
141
142 if GL_COND_OBJ_CLOSE
143 libgp_a_SOURCES += close.c
144 endif
145
146 ## end gnulib module close
147
148 ## begin gnulib module dup2
149
150 if GL_COND_OBJ_DUP2
151 libgp_a_SOURCES += dup2.c
152 endif
153
154 ## end gnulib module dup2
155
156 ## begin gnulib module errno-h
157
158 BUILT_SOURCES += $(ERRNO_H)
159
160 # We need the following in order to create <errno.h> when the system
161 # doesn't have one that is POSIX compliant.
162 if GL_GENERATE_ERRNO_H
163 errno.h: errno.in.h $(top_builddir)/config.status
164 $(gl_V_at)$(SED_HEADER_STDOUT) \
165 -e 's|@''GUARD_PREFIX''@|GL|g' \
166 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
167 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
168 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
169 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
170 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
171 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
172 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
173 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
174 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
175 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
176 $(srcdir)/errno.in.h > $@-t
177 $(AM_V_at)mv $@-t $@
178 else
179 errno.h: $(top_builddir)/config.status
180 rm -f $@
181 endif
182 MOSTLYCLEANFILES += errno.h errno.h-t
183
184 EXTRA_DIST += errno.in.h
185
186 ## end gnulib module errno-h
187
188 ## begin gnulib module error
189
190 if GL_COND_OBJ_ERROR
191 libgp_a_SOURCES += error.c
192 endif
193
194 ## end gnulib module error
195
196 ## begin gnulib module error-h
197
198 BUILT_SOURCES += error.h
199
200 # We need the following in order to override <error.h>.
201 error.h: error.in.h $(top_builddir)/config.status $(CXXDEFS_H)
202 $(gl_V_at)$(SED_HEADER_STDOUT) \
203 -e 's|@''GUARD_PREFIX''@|GL|g' \
204 -e 's|@''HAVE_ERROR_H''@|$(HAVE_ERROR_H)|g' \
205 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
206 -e 's|@''NEXT_ERROR_H''@|$(NEXT_ERROR_H)|g' \
207 -e 's|@''HAVE_ERROR''@|$(HAVE_ERROR)|g' \
208 -e 's|@''HAVE_ERROR_AT_LINE''@|$(HAVE_ERROR_AT_LINE)|g' \
209 -e 's|@''REPLACE_ERROR''@|$(REPLACE_ERROR)|g' \
210 -e 's|@''REPLACE_ERROR_AT_LINE''@|$(REPLACE_ERROR_AT_LINE)|g' \
211 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
212 $(srcdir)/error.in.h > $@-t
213 $(AM_V_at)mv $@-t $@
214 MOSTLYCLEANFILES += error.h error.h-t
215
216 EXTRA_DIST += error.in.h
217
218 ## end gnulib module error-h
219
220 ## begin gnulib module exitfail
221
222 libgp_a_SOURCES += exitfail.c
223
224 EXTRA_DIST += exitfail.h
225
226 ## end gnulib module exitfail
227
228 ## begin gnulib module fcntl
229
230 if GL_COND_OBJ_FCNTL
231 libgp_a_SOURCES += fcntl.c
232 endif
233
234 ## end gnulib module fcntl
235
236 ## begin gnulib module fcntl-h
237
238 BUILT_SOURCES += fcntl.h
239
240 # We need the following in order to create <fcntl.h> when the system
241 # doesn't have one that works with the given compiler.
242 fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
243 $(gl_V_at)$(SED_HEADER_STDOUT) \
244 -e 's|@''GUARD_PREFIX''@|GL|g' \
245 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
246 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
247 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
248 -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
249 -e 's/@''GNULIB_CREAT''@/$(GL_GNULIB_CREAT)/g' \
250 -e 's/@''GNULIB_FCNTL''@/$(GL_GNULIB_FCNTL)/g' \
251 -e 's/@''GNULIB_NONBLOCKING''@/$(GL_GNULIB_NONBLOCKING)/g' \
252 -e 's/@''GNULIB_OPEN''@/$(GL_GNULIB_OPEN)/g' \
253 -e 's/@''GNULIB_OPENAT''@/$(GL_GNULIB_OPENAT)/g' \
254 -e 's/@''GNULIB_MDA_CREAT''@/$(GL_GNULIB_MDA_CREAT)/g' \
255 -e 's/@''GNULIB_MDA_OPEN''@/$(GL_GNULIB_MDA_OPEN)/g' \
256 -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
257 -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
258 -e 's|@''REPLACE_CREAT''@|$(REPLACE_CREAT)|g' \
259 -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
260 -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
261 -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
262 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
263 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
264 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
265 $(srcdir)/fcntl.in.h > $@-t
266 $(AM_V_at)mv $@-t $@
267 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
268
269 EXTRA_DIST += fcntl.in.h
270
271 ## end gnulib module fcntl-h
272
273 ## begin gnulib module fd-hook
274
275 libgp_a_SOURCES += fd-hook.c
276
277 EXTRA_DIST += fd-hook.h
278
279 ## end gnulib module fd-hook
280
281 ## begin gnulib module filename
282
283
284 EXTRA_DIST += filename.h
285
286 ## end gnulib module filename
287
288 ## begin gnulib module fopen
289
290
291 EXTRA_DIST += fopen.c
292
293 EXTRA_libgp_a_SOURCES += fopen.c
294
295 ## end gnulib module fopen
296
297 ## begin gnulib module fopen-gnu
298
299
300 EXTRA_DIST += fopen.c
301
302 EXTRA_libgp_a_SOURCES += fopen.c
303
304 ## end gnulib module fopen-gnu
305
306 ## begin gnulib module free-posix
307
308 if GL_COND_OBJ_FREE
309 libgp_a_SOURCES += free.c
310 endif
311
312 ## end gnulib module free-posix
313
314 ## begin gnulib module fstat
315
316 if GL_COND_OBJ_FSTAT
317 libgp_a_SOURCES += fstat.c
318 endif
319
320 EXTRA_DIST += stat-w32.c stat-w32.h
321
322 EXTRA_libgp_a_SOURCES += stat-w32.c
323
324 ## end gnulib module fstat
325
326 ## begin gnulib module ftell
327
328 if GL_COND_OBJ_FTELL
329 libgp_a_SOURCES += ftell.c
330 endif
331
332 ## end gnulib module ftell
333
334 ## begin gnulib module ftello
335
336 if GL_COND_OBJ_FTELLO
337 libgp_a_SOURCES += ftello.c
338 endif
339
340 EXTRA_DIST += stdio-impl.h
341
342 ## end gnulib module ftello
343
344 ## begin gnulib module gen-header
345
346 # In 'sed', replace the pattern space with a "DO NOT EDIT" comment.
347 SED_HEADER_NOEDIT = s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,
348
349 # '$(SED_HEADER_STDOUT) -e "..."' runs 'sed' but first outputs "DO NOT EDIT".
350 SED_HEADER_STDOUT = sed -e 1h -e '1$(SED_HEADER_NOEDIT)' -e 1G
351
352 # '$(SED_HEADER_TO_AT_t) FILE' copies FILE to $@-t, prepending a leading
353 # "DO_NOT_EDIT". Although this could be done more simply via:
354 # SED_HEADER_TO_AT_t = $(SED_HEADER_STDOUT) > $@-t
355 # the -n and 'w' avoid a fork+exec, at least when GNU Make is used.
356 SED_HEADER_TO_AT_t = $(SED_HEADER_STDOUT) -n -e 'w $@-t'
357
358 # Use $(gl_V_at) instead of $(AM_V_GEN) or $(AM_V_at) on a line that
359 # is its recipe's first line if and only if @NMD@ lines are absent.
360 gl_V_at = $(AM_V_GEN)
361
362 ## end gnulib module gen-header
363
364 ## begin gnulib module getdtablesize
365
366 if GL_COND_OBJ_GETDTABLESIZE
367 libgp_a_SOURCES += getdtablesize.c
368 endif
369
370 ## end gnulib module getdtablesize
371
372 ## begin gnulib module getopt-posix
373
374 BUILT_SOURCES += $(GETOPT_H) $(GETOPT_CDEFS_H)
375
376 # We need the following in order to create <getopt.h> when the system
377 # doesn't have one that works with the given compiler.
378 if GL_GENERATE_GETOPT_H
379 getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
380 $(gl_V_at)$(SED_HEADER_STDOUT) \
381 -e 's|@''GUARD_PREFIX''@|GL|g' \
382 -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
383 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
384 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
385 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
386 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
387 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
388 $(srcdir)/getopt.in.h > $@-t
389 $(AM_V_at)mv $@-t $@
390 else
391 getopt.h: $(top_builddir)/config.status
392 rm -f $@
393 endif
394
395 if GL_GENERATE_GETOPT_CDEFS_H
396 getopt-cdefs.h: getopt-cdefs.in.h $(top_builddir)/config.status
397 $(AM_V_GEN)$(SED_HEADER_STDOUT) \
398 -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
399 $(srcdir)/getopt-cdefs.in.h > $@-t
400 $(AM_V_at)mv $@-t $@
401 else
402 getopt-cdefs.h: $(top_builddir)/config.status
403 rm -f $@
404 endif
405
406 MOSTLYCLEANFILES += getopt.h getopt.h-t getopt-cdefs.h getopt-cdefs.h-t
407
408 if GL_COND_OBJ_GETOPT
409 libgp_a_SOURCES += getopt.c getopt1.c
410 endif
411
412 EXTRA_DIST += getopt-cdefs.in.h getopt-core.h getopt-ext.h getopt-pfx-core.h getopt-pfx-ext.h getopt.in.h getopt_int.h
413
414 ## end gnulib module getopt-posix
415
416 ## begin gnulib module getprogname
417
418 if GL_COND_OBJ_GETPROGNAME
419 libgp_a_SOURCES += getprogname.c
420 endif
421
422 EXTRA_DIST += getprogname.h
423
424 ## end gnulib module getprogname
425
426 ## begin gnulib module gettext-h
427
428 libgp_a_SOURCES += gettext.h
429
430 ## end gnulib module gettext-h
431
432 ## begin gnulib module hash-map
433
434 libgp_a_SOURCES += gl_hash_map.h gl_hash_map.c gl_anyhash1.h gl_anyhash2.h gl_anyhash_primes.h
435
436 ## end gnulib module hash-map
437
438 ## begin gnulib module idx
439
440 libgp_a_SOURCES += idx.h
441
442 ## end gnulib module idx
443
444 ## begin gnulib module intprops
445
446
447 EXTRA_DIST += intprops-internal.h intprops.h
448
449 ## end gnulib module intprops
450
451 ## begin gnulib module inttypes-h-incomplete
452
453 BUILT_SOURCES += inttypes.h
454
455 # We need the following in order to create <inttypes.h> when the system
456 # doesn't have one that works with the given compiler.
457 inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
458 $(gl_V_at)$(SED_HEADER_STDOUT) \
459 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
460 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
461 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
462 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
463 -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
464 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
465 -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
466 -e 's/@''GNULIB_IMAXABS''@/$(GL_GNULIB_IMAXABS)/g' \
467 -e 's/@''GNULIB_IMAXDIV''@/$(GL_GNULIB_IMAXDIV)/g' \
468 -e 's/@''GNULIB_STRTOIMAX''@/$(GL_GNULIB_STRTOIMAX)/g' \
469 -e 's/@''GNULIB_STRTOUMAX''@/$(GL_GNULIB_STRTOUMAX)/g' \
470 -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
471 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
472 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
473 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
474 -e 's/@''HAVE_IMAXDIV_T''@/$(HAVE_IMAXDIV_T)/g' \
475 -e 's/@''REPLACE_IMAXABS''@/$(REPLACE_IMAXABS)/g' \
476 -e 's/@''REPLACE_IMAXDIV''@/$(REPLACE_IMAXDIV)/g' \
477 -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
478 -e 's/@''REPLACE_STRTOUMAX''@/$(REPLACE_STRTOUMAX)/g' \
479 -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
480 -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
481 -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
482 -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
483 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
484 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
485 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
486 $(srcdir)/inttypes.in.h > $@-t
487 $(AM_V_at)mv $@-t $@
488 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
489
490 EXTRA_DIST += inttypes.in.h
491
492 ## end gnulib module inttypes-h-incomplete
493
494 ## begin gnulib module limits-h
495
496 BUILT_SOURCES += $(LIMITS_H)
497
498 # We need the following in order to create <limits.h> when the system
499 # doesn't have one that is compatible with GNU.
500 if GL_GENERATE_LIMITS_H
501 limits.h: limits.in.h $(top_builddir)/config.status
502 $(gl_V_at)$(SED_HEADER_STDOUT) \
503 -e 's|@''GUARD_PREFIX''@|GL|g' \
504 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
505 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
506 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
507 -e 's|@''NEXT_LIMITS_H''@|$(NEXT_LIMITS_H)|g' \
508 $(srcdir)/limits.in.h > $@-t
509 $(AM_V_at)mv $@-t $@
510 else
511 limits.h: $(top_builddir)/config.status
512 rm -f $@
513 endif
514 MOSTLYCLEANFILES += limits.h limits.h-t
515
516 EXTRA_DIST += limits.in.h
517
518 ## end gnulib module limits-h
519
520 ## begin gnulib module locale-h
521
522 BUILT_SOURCES += locale.h
523
524 # We need the following in order to create <locale.h> when the system
525 # doesn't have one that provides all definitions.
526 locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
527 $(gl_V_at)$(SED_HEADER_STDOUT) \
528 -e 's|@''GUARD_PREFIX''@|GL|g' \
529 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
530 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
531 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
532 -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
533 -e 's|@''HAVE_LOCALE_T''@|$(HAVE_LOCALE_T)|g' \
534 -e 's|@''HAVE_WINDOWS_LOCALE_T''@|$(HAVE_WINDOWS_LOCALE_T)|g' \
535 -e 's/@''GNULIB_LOCALECONV''@/$(GL_GNULIB_LOCALECONV)/g' \
536 -e 's/@''GNULIB_SETLOCALE''@/$(GL_GNULIB_SETLOCALE)/g' \
537 -e 's/@''GNULIB_SETLOCALE_NULL''@/$(GL_GNULIB_SETLOCALE_NULL)/g' \
538 -e 's/@''GNULIB_NEWLOCALE''@/$(GL_GNULIB_NEWLOCALE)/g' \
539 -e 's/@''GNULIB_DUPLOCALE''@/$(GL_GNULIB_DUPLOCALE)/g' \
540 -e 's/@''GNULIB_FREELOCALE''@/$(GL_GNULIB_FREELOCALE)/g' \
541 -e 's/@''GNULIB_GETLOCALENAME_L''@/$(GL_GNULIB_GETLOCALENAME_L)/g' \
542 -e 's/@''GNULIB_GETLOCALENAME_L_UNSAFE''@/$(GL_GNULIB_GETLOCALENAME_L_UNSAFE)/g' \
543 -e 's/@''GNULIB_LOCALENAME_UNSAFE''@/$(GL_GNULIB_LOCALENAME_UNSAFE)/g' \
544 -e 's|@''HAVE_NEWLOCALE''@|$(HAVE_NEWLOCALE)|g' \
545 -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
546 -e 's|@''HAVE_FREELOCALE''@|$(HAVE_FREELOCALE)|g' \
547 -e 's|@''HAVE_GETLOCALENAME_L''@|$(HAVE_GETLOCALENAME_L)|g' \
548 -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
549 -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \
550 -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
551 -e 's|@''REPLACE_NEWLOCALE''@|$(REPLACE_NEWLOCALE)|g' \
552 -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
553 -e 's|@''REPLACE_FREELOCALE''@|$(REPLACE_FREELOCALE)|g' \
554 -e 's|@''REPLACE_GETLOCALENAME_L''@|$(REPLACE_GETLOCALENAME_L)|g' \
555 -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \
556 -e 's|@''LOCALENAME_ENHANCE_LOCALE_FUNCS''@|$(LOCALENAME_ENHANCE_LOCALE_FUNCS)|g' \
557 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
558 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
559 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
560 $(srcdir)/locale.in.h > $@-t
561 $(AM_V_at)mv $@-t $@
562 MOSTLYCLEANFILES += locale.h locale.h-t
563
564 EXTRA_DIST += locale.in.h
565
566 ## end gnulib module locale-h
567
568 ## begin gnulib module lseek
569
570 if GL_COND_OBJ_LSEEK
571 libgp_a_SOURCES += lseek.c
572 endif
573
574 ## end gnulib module lseek
575
576 ## begin gnulib module malloc-posix
577
578
579 EXTRA_DIST += malloc.c
580
581 EXTRA_libgp_a_SOURCES += malloc.c
582
583 ## end gnulib module malloc-posix
584
585 ## begin gnulib module malloca
586
587 libgp_a_SOURCES += malloca.c
588
589 EXTRA_DIST += malloca.h
590
591 ## end gnulib module malloca
592
593 ## begin gnulib module map
594
595 libgp_a_SOURCES += gl_map.h gl_map.c
596
597 ## end gnulib module map
598
599 ## begin gnulib module map-c++
600
601
602 EXTRA_DIST += gl_map.hh
603
604 ## end gnulib module map-c++
605
606 ## begin gnulib module memset_explicit
607
608 if GL_COND_OBJ_MEMSET_EXPLICIT
609 libgp_a_SOURCES += memset_explicit.c
610 endif
611
612 ## end gnulib module memset_explicit
613
614 ## begin gnulib module msvc-inval
615
616 if GL_COND_OBJ_MSVC_INVAL
617 libgp_a_SOURCES += msvc-inval.c
618 endif
619
620 EXTRA_DIST += msvc-inval.h
621
622 ## end gnulib module msvc-inval
623
624 ## begin gnulib module msvc-nothrow
625
626 if GL_COND_OBJ_MSVC_NOTHROW
627 libgp_a_SOURCES += msvc-nothrow.c
628 endif
629
630 EXTRA_DIST += msvc-nothrow.h
631
632 ## end gnulib module msvc-nothrow
633
634 ## begin gnulib module open
635
636 if GL_COND_OBJ_OPEN
637 libgp_a_SOURCES += open.c
638 endif
639
640 ## end gnulib module open
641
642 ## begin gnulib module pathmax
643
644
645 EXTRA_DIST += pathmax.h
646
647 ## end gnulib module pathmax
648
649 ## begin gnulib module read-file
650
651 libgp_a_SOURCES += read-file.c
652
653 EXTRA_DIST += read-file.h
654
655 ## end gnulib module read-file
656
657 ## begin gnulib module realloc-posix
658
659 if GL_COND_OBJ_REALLOC_POSIX
660 libgp_a_SOURCES += realloc.c
661 endif
662
663 ## end gnulib module realloc-posix
664
665 ## begin gnulib module size_max
666
667 libgp_a_SOURCES += size_max.h
668
669 ## end gnulib module size_max
670
671 ## begin gnulib module snippet/_Noreturn
672
673 # Because this Makefile snippet defines a variable used by other
674 # gnulib Makefile snippets, it must be present in all makefiles that
675 # need it. This is ensured by the applicability 'all' defined above.
676
677 _NORETURN_H=$(srcdir)/_Noreturn.h
678
679 EXTRA_DIST += _Noreturn.h
680
681 ## end gnulib module snippet/_Noreturn
682
683 ## begin gnulib module snippet/arg-nonnull
684
685 # Because this Makefile snippet defines a variable used by other
686 # gnulib Makefile snippets, it must be present in all makefiles that
687 # need it. This is ensured by the applicability 'all' defined above.
688
689 ARG_NONNULL_H=$(srcdir)/arg-nonnull.h
690
691 EXTRA_DIST += arg-nonnull.h
692
693 ## end gnulib module snippet/arg-nonnull
694
695 ## begin gnulib module snippet/c++defs
696
697 # Because this Makefile snippet defines a variable used by other
698 # gnulib Makefile snippets, it must be present in all makefiles that
699 # need it. This is ensured by the applicability 'all' defined above.
700
701 CXXDEFS_H=$(srcdir)/c++defs.h
702
703 EXTRA_DIST += c++defs.h
704
705 ## end gnulib module snippet/c++defs
706
707 ## begin gnulib module snippet/warn-on-use
708
709 # Because this Makefile snippet defines a variable used by other
710 # gnulib Makefile snippets, it must be present in all makefiles that
711 # need it. This is ensured by the applicability 'all' defined above.
712
713 WARN_ON_USE_H=$(srcdir)/warn-on-use.h
714
715 EXTRA_DIST += warn-on-use.h
716
717 ## end gnulib module snippet/warn-on-use
718
719 ## begin gnulib module stat
720
721 if GL_COND_OBJ_STAT
722 libgp_a_SOURCES += stat.c
723 endif
724
725 EXTRA_DIST += stat-w32.c stat-w32.h
726
727 EXTRA_libgp_a_SOURCES += stat-w32.c
728
729 ## end gnulib module stat
730
731 ## begin gnulib module stat-time
732
733 libgp_a_SOURCES += stat-time.c
734
735 EXTRA_DIST += stat-time.h
736
737 ## end gnulib module stat-time
738
739 ## begin gnulib module stdckdint-h
740
741 BUILT_SOURCES += $(STDCKDINT_H)
742
743 # We need the following in order to create <stdckdint.h> when the system
744 # doesn't have one that works with the given compiler.
745 if GL_GENERATE_STDCKDINT_H
746 stdckdint.h: stdckdint.in.h $(top_builddir)/config.status
747 $(gl_V_at)$(SED_HEADER_STDOUT) \
748 $(srcdir)/stdckdint.in.h > $@-t
749 $(AM_V_at)mv $@-t $@
750 else
751 stdckdint.h: $(top_builddir)/config.status
752 rm -f $@
753 endif
754 MOSTLYCLEANFILES += stdckdint.h stdckdint.h-t
755
756 EXTRA_DIST += intprops-internal.h stdckdint.in.h
757
758 ## end gnulib module stdckdint-h
759
760 ## begin gnulib module stddef-h
761
762 BUILT_SOURCES += $(STDDEF_H)
763
764 # We need the following in order to create <stddef.h> when the system
765 # doesn't have one that works with the given compiler.
766 if GL_GENERATE_STDDEF_H
767 stddef.h: stddef.in.h $(top_builddir)/config.status
768 $(gl_V_at)$(SED_HEADER_STDOUT) \
769 -e 's|@''GUARD_PREFIX''@|GL|g' \
770 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
771 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
772 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
773 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
774 -e 's|@''NULLPTR_T_NEEDS_STDDEF''@|$(NULLPTR_T_NEEDS_STDDEF)|g' \
775 -e 's|@''STDDEF_NOT_IDEMPOTENT''@|$(STDDEF_NOT_IDEMPOTENT)|g' \
776 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
777 -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \
778 $(srcdir)/stddef.in.h > $@-t
779 $(AM_V_at)mv $@-t $@
780 else
781 stddef.h: $(top_builddir)/config.status
782 rm -f $@
783 endif
784 MOSTLYCLEANFILES += stddef.h stddef.h-t
785
786 EXTRA_DIST += stddef.in.h
787
788 ## end gnulib module stddef-h
789
790 ## begin gnulib module stdint-h
791
792 BUILT_SOURCES += $(STDINT_H)
793
794 # We need the following in order to create <stdint.h> when the system
795 # doesn't have one that works with the given compiler.
796 if GL_GENERATE_STDINT_H
797 stdint.h: stdint.in.h $(top_builddir)/config.status
798 $(gl_V_at)$(SED_HEADER_STDOUT) \
799 -e 's|@''GUARD_PREFIX''@|GL|g' \
800 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
801 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
802 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
803 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
804 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
805 -e 's/@''HAVE_C99_STDINT_H''@/$(HAVE_C99_STDINT_H)/g' \
806 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
807 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
808 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
809 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
810 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
811 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
812 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
813 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
814 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
815 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
816 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
817 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
818 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
819 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
820 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
821 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
822 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
823 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
824 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
825 -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \
826 $(srcdir)/stdint.in.h > $@-t
827 $(AM_V_at)mv $@-t $@
828 else
829 stdint.h: $(top_builddir)/config.status
830 rm -f $@
831 endif
832 MOSTLYCLEANFILES += stdint.h stdint.h-t
833
834 EXTRA_DIST += stdint.in.h
835
836 ## end gnulib module stdint-h
837
838 ## begin gnulib module stdio-h
839
840 BUILT_SOURCES += stdio.h
841
842 # We need the following in order to create <stdio.h> when the system
843 # doesn't have one that works with the given compiler.
844 stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
845 $(gl_V_at)$(SED_HEADER_STDOUT) \
846 -e 's|@''GUARD_PREFIX''@|GL|g' \
847 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
848 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
849 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
850 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
851 -e 's/@''GNULIB_DPRINTF''@/$(GL_GNULIB_DPRINTF)/g' \
852 -e 's/@''GNULIB_DZPRINTF''@/$(GL_GNULIB_DZPRINTF)/g' \
853 -e 's/@''GNULIB_FCLOSE''@/$(GL_GNULIB_FCLOSE)/g' \
854 -e 's/@''GNULIB_FDOPEN''@/$(GL_GNULIB_FDOPEN)/g' \
855 -e 's/@''GNULIB_FFLUSH''@/$(GL_GNULIB_FFLUSH)/g' \
856 -e 's/@''GNULIB_FGETC''@/$(GL_GNULIB_FGETC)/g' \
857 -e 's/@''GNULIB_FGETS''@/$(GL_GNULIB_FGETS)/g' \
858 -e 's/@''GNULIB_FOPEN''@/$(GL_GNULIB_FOPEN)/g' \
859 -e 's/@''GNULIB_FOPEN_GNU''@/$(GL_GNULIB_FOPEN_GNU)/g' \
860 -e 's/@''GNULIB_FPRINTF''@/$(GL_GNULIB_FPRINTF)/g' \
861 -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GL_GNULIB_FPRINTF_POSIX)/g' \
862 -e 's/@''GNULIB_FPURGE''@/$(GL_GNULIB_FPURGE)/g' \
863 -e 's/@''GNULIB_FPUTC''@/$(GL_GNULIB_FPUTC)/g' \
864 -e 's/@''GNULIB_FPUTS''@/$(GL_GNULIB_FPUTS)/g' \
865 -e 's/@''GNULIB_FREAD''@/$(GL_GNULIB_FREAD)/g' \
866 -e 's/@''GNULIB_FREOPEN''@/$(GL_GNULIB_FREOPEN)/g' \
867 -e 's/@''GNULIB_FSCANF''@/$(GL_GNULIB_FSCANF)/g' \
868 -e 's/@''GNULIB_FSEEK''@/$(GL_GNULIB_FSEEK)/g' \
869 -e 's/@''GNULIB_FSEEKO''@/$(GL_GNULIB_FSEEKO)/g' \
870 -e 's/@''GNULIB_FTELL''@/$(GL_GNULIB_FTELL)/g' \
871 -e 's/@''GNULIB_FTELLO''@/$(GL_GNULIB_FTELLO)/g' \
872 -e 's/@''GNULIB_FWRITE''@/$(GL_GNULIB_FWRITE)/g' \
873 -e 's/@''GNULIB_FZPRINTF''@/$(GL_GNULIB_FZPRINTF)/g' \
874 -e 's/@''GNULIB_GETC''@/$(GL_GNULIB_GETC)/g' \
875 -e 's/@''GNULIB_GETCHAR''@/$(GL_GNULIB_GETCHAR)/g' \
876 -e 's/@''GNULIB_GETDELIM''@/$(GL_GNULIB_GETDELIM)/g' \
877 -e 's/@''GNULIB_GETLINE''@/$(GL_GNULIB_GETLINE)/g' \
878 -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GL_GNULIB_OBSTACK_PRINTF)/g' \
879 -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GL_GNULIB_OBSTACK_PRINTF_POSIX)/g' \
880 -e 's/@''GNULIB_OBSTACK_ZPRINTF''@/$(GL_GNULIB_OBSTACK_ZPRINTF)/g' \
881 -e 's/@''GNULIB_PCLOSE''@/$(GL_GNULIB_PCLOSE)/g' \
882 -e 's/@''GNULIB_PERROR''@/$(GL_GNULIB_PERROR)/g' \
883 -e 's/@''GNULIB_POPEN''@/$(GL_GNULIB_POPEN)/g' \
884 -e 's/@''GNULIB_PRINTF''@/$(GL_GNULIB_PRINTF)/g' \
885 -e 's/@''GNULIB_PRINTF_POSIX''@/$(GL_GNULIB_PRINTF_POSIX)/g' \
886 -e 's/@''GNULIB_PUTC''@/$(GL_GNULIB_PUTC)/g' \
887 -e 's/@''GNULIB_PUTCHAR''@/$(GL_GNULIB_PUTCHAR)/g' \
888 -e 's/@''GNULIB_PUTS''@/$(GL_GNULIB_PUTS)/g' \
889 -e 's/@''GNULIB_REMOVE''@/$(GL_GNULIB_REMOVE)/g' \
890 -e 's/@''GNULIB_RENAME''@/$(GL_GNULIB_RENAME)/g' \
891 -e 's/@''GNULIB_RENAMEAT''@/$(GL_GNULIB_RENAMEAT)/g' \
892 -e 's/@''GNULIB_SCANF''@/$(GL_GNULIB_SCANF)/g' \
893 -e 's/@''GNULIB_SNPRINTF''@/$(GL_GNULIB_SNPRINTF)/g' \
894 -e 's/@''GNULIB_SNZPRINTF''@/$(GL_GNULIB_SNZPRINTF)/g' \
895 -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GL_GNULIB_SPRINTF_POSIX)/g' \
896 -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GL_GNULIB_STDIO_H_NONBLOCKING)/g' \
897 -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GL_GNULIB_STDIO_H_SIGPIPE)/g' \
898 -e 's/@''GNULIB_SZPRINTF''@/$(GL_GNULIB_SZPRINTF)/g' \
899 -e 's/@''GNULIB_TMPFILE''@/$(GL_GNULIB_TMPFILE)/g' \
900 -e 's/@''GNULIB_VASPRINTF''@/$(GL_GNULIB_VASPRINTF)/g' \
901 -e 's/@''GNULIB_VASZPRINTF''@/$(GL_GNULIB_VASZPRINTF)/g' \
902 -e 's/@''GNULIB_VDPRINTF''@/$(GL_GNULIB_VDPRINTF)/g' \
903 -e 's/@''GNULIB_VDZPRINTF''@/$(GL_GNULIB_VDZPRINTF)/g' \
904 -e 's/@''GNULIB_VFPRINTF''@/$(GL_GNULIB_VFPRINTF)/g' \
905 -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GL_GNULIB_VFPRINTF_POSIX)/g' \
906 -e 's/@''GNULIB_VFZPRINTF''@/$(GL_GNULIB_VFZPRINTF)/g' \
907 -e 's/@''GNULIB_VFSCANF''@/$(GL_GNULIB_VFSCANF)/g' \
908 -e 's/@''GNULIB_VSCANF''@/$(GL_GNULIB_VSCANF)/g' \
909 -e 's/@''GNULIB_VPRINTF''@/$(GL_GNULIB_VPRINTF)/g' \
910 -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GL_GNULIB_VPRINTF_POSIX)/g' \
911 -e 's/@''GNULIB_VSNPRINTF''@/$(GL_GNULIB_VSNPRINTF)/g' \
912 -e 's/@''GNULIB_VSNZPRINTF''@/$(GL_GNULIB_VSNZPRINTF)/g' \
913 -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GL_GNULIB_VSPRINTF_POSIX)/g' \
914 -e 's/@''GNULIB_VSZPRINTF''@/$(GL_GNULIB_VSZPRINTF)/g' \
915 -e 's/@''GNULIB_VZPRINTF''@/$(GL_GNULIB_VZPRINTF)/g' \
916 -e 's/@''GNULIB_ZPRINTF''@/$(GL_GNULIB_ZPRINTF)/g' \
917 -e 's/@''GNULIB_MDA_FCLOSEALL''@/$(GL_GNULIB_MDA_FCLOSEALL)/g' \
918 -e 's/@''GNULIB_MDA_FDOPEN''@/$(GL_GNULIB_MDA_FDOPEN)/g' \
919 -e 's/@''GNULIB_MDA_FILENO''@/$(GL_GNULIB_MDA_FILENO)/g' \
920 -e 's/@''GNULIB_MDA_GETW''@/$(GL_GNULIB_MDA_GETW)/g' \
921 -e 's/@''GNULIB_MDA_PUTW''@/$(GL_GNULIB_MDA_PUTW)/g' \
922 -e 's/@''GNULIB_MDA_TEMPNAM''@/$(GL_GNULIB_MDA_TEMPNAM)/g' \
923 < $(srcdir)/stdio.in.h > $@-t1
924 $(AM_V_at)sed \
925 -e 's|@''HAVE_DECL_FCLOSEALL''@|$(HAVE_DECL_FCLOSEALL)|g' \
926 -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
927 -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
928 -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
929 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
930 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
931 -e 's|@''HAVE_DECL_GETW''@|$(HAVE_DECL_GETW)|g' \
932 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
933 -e 's|@''HAVE_DECL_PUTW''@|$(HAVE_DECL_PUTW)|g' \
934 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
935 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
936 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
937 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
938 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
939 -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
940 -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
941 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
942 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
943 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
944 < $@-t1 > $@-t2
945 $(AM_V_at)sed \
946 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
947 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
948 -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
949 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
950 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
951 -e 's|@''REPLACE_FOPEN_FOR_FOPEN_GNU''@|$(REPLACE_FOPEN_FOR_FOPEN_GNU)|g' \
952 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
953 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
954 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
955 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
956 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
957 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
958 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
959 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
960 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
961 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
962 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
963 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
964 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
965 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
966 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
967 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
968 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
969 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
970 -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
971 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
972 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
973 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
974 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
975 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
976 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
977 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
978 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
979 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
980 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
981 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
982 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
983 < $@-t2 > $@-t3
984 $(AM_V_at)rm -f $@-t1 $@-t2
985 $(AM_V_at)mv $@-t3 $@
986 MOSTLYCLEANFILES += stdio.h stdio.h-t1 stdio.h-t2 stdio.h-t3
987
988 if GL_COND_OBJ_STDIO_READ
989 libgp_a_SOURCES += stdio-read.c
990 endif
991 if GL_COND_OBJ_STDIO_WRITE
992 libgp_a_SOURCES += stdio-write.c
993 endif
994
995 EXTRA_DIST += stdio.in.h
996
997 ## end gnulib module stdio-h
998
999 ## begin gnulib module stdlib-h
1000
1001 BUILT_SOURCES += stdlib.h
1002 libgp_a_SOURCES += stdlib.c
1003
1004 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1005 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1006 $(gl_V_at)$(SED_HEADER_STDOUT) \
1007 -e 's|@''GUARD_PREFIX''@|GL|g' \
1008 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1009 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1010 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1011 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1012 -e 's/@''GNULIB__EXIT''@/$(GL_GNULIB__EXIT)/g' \
1013 -e 's/@''GNULIB_ABORT_DEBUG''@/$(GL_GNULIB_ABORT_DEBUG)/g' \
1014 -e 's/@''GNULIB_ALIGNED_ALLOC''@/$(GL_GNULIB_ALIGNED_ALLOC)/g' \
1015 -e 's/@''GNULIB_ATOLL''@/$(GL_GNULIB_ATOLL)/g' \
1016 -e 's/@''GNULIB_CALLOC_GNU''@/$(GL_GNULIB_CALLOC_GNU)/g' \
1017 -e 's/@''GNULIB_CALLOC_POSIX''@/$(GL_GNULIB_CALLOC_POSIX)/g' \
1018 -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GL_GNULIB_CANONICALIZE_FILE_NAME)/g' \
1019 -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \
1020 -e 's/@''GNULIB_GETLOADAVG''@/$(GL_GNULIB_GETLOADAVG)/g' \
1021 -e 's/@''GNULIB_GETPROGNAME''@/$(GL_GNULIB_GETPROGNAME)/g' \
1022 -e 's/@''GNULIB_GETSUBOPT''@/$(GL_GNULIB_GETSUBOPT)/g' \
1023 -e 's/@''GNULIB_GRANTPT''@/$(GL_GNULIB_GRANTPT)/g' \
1024 -e 's/@''GNULIB_MALLOC_GNU''@/$(GL_GNULIB_MALLOC_GNU)/g' \
1025 -e 's/@''GNULIB_MALLOC_POSIX''@/$(GL_GNULIB_MALLOC_POSIX)/g' \
1026 -e 's/@''GNULIB_MBSTOWCS''@/$(GL_GNULIB_MBSTOWCS)/g' \
1027 -e 's/@''GNULIB_MBTOWC''@/$(GL_GNULIB_MBTOWC)/g' \
1028 -e 's/@''GNULIB_MKDTEMP''@/$(GL_GNULIB_MKDTEMP)/g' \
1029 -e 's/@''GNULIB_MKOSTEMP''@/$(GL_GNULIB_MKOSTEMP)/g' \
1030 -e 's/@''GNULIB_MKOSTEMPS''@/$(GL_GNULIB_MKOSTEMPS)/g' \
1031 -e 's/@''GNULIB_MKSTEMP''@/$(GL_GNULIB_MKSTEMP)/g' \
1032 -e 's/@''GNULIB_MKSTEMPS''@/$(GL_GNULIB_MKSTEMPS)/g' \
1033 -e 's/@''GNULIB_POSIX_MEMALIGN''@/$(GL_GNULIB_POSIX_MEMALIGN)/g' \
1034 -e 's/@''GNULIB_POSIX_OPENPT''@/$(GL_GNULIB_POSIX_OPENPT)/g' \
1035 -e 's/@''GNULIB_PTSNAME''@/$(GL_GNULIB_PTSNAME)/g' \
1036 -e 's/@''GNULIB_PTSNAME_R''@/$(GL_GNULIB_PTSNAME_R)/g' \
1037 -e 's/@''GNULIB_PUTENV''@/$(GL_GNULIB_PUTENV)/g' \
1038 -e 's/@''GNULIB_QSORT_R''@/$(GL_GNULIB_QSORT_R)/g' \
1039 -e 's/@''GNULIB_RAND''@/$(GL_GNULIB_RAND)/g' \
1040 -e 's/@''GNULIB_RANDOM''@/$(GL_GNULIB_RANDOM)/g' \
1041 -e 's/@''GNULIB_RANDOM_R''@/$(GL_GNULIB_RANDOM_R)/g' \
1042 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GL_GNULIB_REALLOC_POSIX)/g' \
1043 -e 's/@''GNULIB_REALLOCARRAY''@/$(GL_GNULIB_REALLOCARRAY)/g' \
1044 -e 's/@''GNULIB_REALPATH''@/$(GL_GNULIB_REALPATH)/g' \
1045 -e 's/@''GNULIB_RPMATCH''@/$(GL_GNULIB_RPMATCH)/g' \
1046 -e 's/@''GNULIB_SECURE_GETENV''@/$(GL_GNULIB_SECURE_GETENV)/g' \
1047 -e 's/@''GNULIB_SETENV''@/$(GL_GNULIB_SETENV)/g' \
1048 -e 's/@''GNULIB_STACK_TRACE''@/$(GL_GNULIB_STACK_TRACE)/g' \
1049 -e 's/@''GNULIB_STRTOD''@/$(GL_GNULIB_STRTOD)/g' \
1050 -e 's/@''GNULIB_STRTOF''@/$(GL_GNULIB_STRTOF)/g' \
1051 -e 's/@''GNULIB_STRTOL''@/$(GL_GNULIB_STRTOL)/g' \
1052 -e 's/@''GNULIB_STRTOLD''@/$(GL_GNULIB_STRTOLD)/g' \
1053 -e 's/@''GNULIB_STRTOLL''@/$(GL_GNULIB_STRTOLL)/g' \
1054 -e 's/@''GNULIB_STRTOUL''@/$(GL_GNULIB_STRTOUL)/g' \
1055 -e 's/@''GNULIB_STRTOULL''@/$(GL_GNULIB_STRTOULL)/g' \
1056 -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GL_GNULIB_SYSTEM_POSIX)/g' \
1057 -e 's/@''GNULIB_UNLOCKPT''@/$(GL_GNULIB_UNLOCKPT)/g' \
1058 -e 's/@''GNULIB_UNSETENV''@/$(GL_GNULIB_UNSETENV)/g' \
1059 -e 's/@''GNULIB_WCTOMB''@/$(GL_GNULIB_WCTOMB)/g' \
1060 -e 's/@''GNULIB_MDA_ECVT''@/$(GL_GNULIB_MDA_ECVT)/g' \
1061 -e 's/@''GNULIB_MDA_FCVT''@/$(GL_GNULIB_MDA_FCVT)/g' \
1062 -e 's/@''GNULIB_MDA_GCVT''@/$(GL_GNULIB_MDA_GCVT)/g' \
1063 -e 's/@''GNULIB_MDA_MKTEMP''@/$(GL_GNULIB_MDA_MKTEMP)/g' \
1064 -e 's/@''GNULIB_MDA_PUTENV''@/$(GL_GNULIB_MDA_PUTENV)/g' \
1065 < $(srcdir)/stdlib.in.h > $@-t1
1066 $(AM_V_at)sed \
1067 -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
1068 -e 's|@''HAVE_ALIGNED_ALLOC''@|$(HAVE_ALIGNED_ALLOC)|g' \
1069 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1070 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1071 -e 's|@''HAVE_DECL_ECVT''@|$(HAVE_DECL_ECVT)|g' \
1072 -e 's|@''HAVE_DECL_FCVT''@|$(HAVE_DECL_FCVT)|g' \
1073 -e 's|@''HAVE_DECL_GCVT''@|$(HAVE_DECL_GCVT)|g' \
1074 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1075 -e 's|@''HAVE_DECL_PROGRAM_INVOCATION_NAME''@|$(HAVE_DECL_PROGRAM_INVOCATION_NAME)|g' \
1076 -e 's|@''HAVE_GETPROGNAME''@|$(HAVE_GETPROGNAME)|g' \
1077 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1078 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1079 -e 's|@''HAVE_INITSTATE''@|$(HAVE_INITSTATE)|g' \
1080 -e 's|@''HAVE_DECL_INITSTATE''@|$(HAVE_DECL_INITSTATE)|g' \
1081 -e 's|@''HAVE_MBTOWC''@|$(HAVE_MBTOWC)|g' \
1082 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1083 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1084 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1085 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1086 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1087 -e 's|@''HAVE_POSIX_MEMALIGN''@|$(HAVE_POSIX_MEMALIGN)|g' \
1088 -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
1089 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
1090 -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
1091 -e 's|@''HAVE_QSORT_R''@|$(HAVE_QSORT_R)|g' \
1092 -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
1093 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1094 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1095 -e 's|@''HAVE_REALLOCARRAY''@|$(HAVE_REALLOCARRAY)|g' \
1096 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1097 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1098 -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
1099 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
1100 -e 's|@''HAVE_SETSTATE''@|$(HAVE_SETSTATE)|g' \
1101 -e 's|@''HAVE_DECL_SETSTATE''@|$(HAVE_DECL_SETSTATE)|g' \
1102 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1103 -e 's|@''HAVE_STRTOF''@|$(HAVE_STRTOF)|g' \
1104 -e 's|@''HAVE_STRTOL''@|$(HAVE_STRTOL)|g' \
1105 -e 's|@''HAVE_STRTOLD''@|$(HAVE_STRTOLD)|g' \
1106 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1107 -e 's|@''HAVE_STRTOUL''@|$(HAVE_STRTOUL)|g' \
1108 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1109 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1110 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1111 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1112 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
1113 < $@-t1 > $@-t2
1114 $(AM_V_at)sed \
1115 -e 's|@''REPLACE__EXIT''@|$(REPLACE__EXIT)|g' \
1116 -e 's|@''REPLACE_ABORT''@|$(REPLACE_ABORT)|g' \
1117 -e 's|@''REPLACE_ALIGNED_ALLOC''@|$(REPLACE_ALIGNED_ALLOC)|g' \
1118 -e 's|@''REPLACE_CALLOC_FOR_CALLOC_GNU''@|$(REPLACE_CALLOC_FOR_CALLOC_GNU)|g' \
1119 -e 's|@''REPLACE_CALLOC_FOR_CALLOC_POSIX''@|$(REPLACE_CALLOC_FOR_CALLOC_POSIX)|g' \
1120 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1121 -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \
1122 -e 's|@''REPLACE_GETLOADAVG''@|$(REPLACE_GETLOADAVG)|g' \
1123 -e 's|@''REPLACE_GETPROGNAME''@|$(REPLACE_GETPROGNAME)|g' \
1124 -e 's|@''REPLACE_GETSUBOPT''@|$(REPLACE_GETSUBOPT)|g' \
1125 -e 's|@''REPLACE_INITSTATE''@|$(REPLACE_INITSTATE)|g' \
1126 -e 's|@''REPLACE_MALLOC_FOR_MALLOC_GNU''@|$(REPLACE_MALLOC_FOR_MALLOC_GNU)|g' \
1127 -e 's|@''REPLACE_MALLOC_FOR_MALLOC_POSIX''@|$(REPLACE_MALLOC_FOR_MALLOC_POSIX)|g' \
1128 -e 's|@''REPLACE_MB_CUR_MAX''@|$(REPLACE_MB_CUR_MAX)|g' \
1129 -e 's|@''REPLACE_MBSTOWCS''@|$(REPLACE_MBSTOWCS)|g' \
1130 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
1131 -e 's|@''REPLACE_MKOSTEMP''@|$(REPLACE_MKOSTEMP)|g' \
1132 -e 's|@''REPLACE_MKOSTEMPS''@|$(REPLACE_MKOSTEMPS)|g' \
1133 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1134 -e 's|@''REPLACE_POSIX_MEMALIGN''@|$(REPLACE_POSIX_MEMALIGN)|g' \
1135 -e 's|@''REPLACE_POSIX_OPENPT''@|$(REPLACE_POSIX_OPENPT)|g' \
1136 -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
1137 -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
1138 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1139 -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \
1140 -e 's|@''REPLACE_RAND''@|$(REPLACE_RAND)|g' \
1141 -e 's|@''REPLACE_RANDOM''@|$(REPLACE_RANDOM)|g' \
1142 -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
1143 -e 's|@''REPLACE_REALLOC_FOR_REALLOC_POSIX''@|$(REPLACE_REALLOC_FOR_REALLOC_POSIX)|g' \
1144 -e 's|@''REPLACE_REALLOCARRAY''@|$(REPLACE_REALLOCARRAY)|g' \
1145 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1146 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1147 -e 's|@''REPLACE_SETSTATE''@|$(REPLACE_SETSTATE)|g' \
1148 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1149 -e 's|@''REPLACE_STRTOF''@|$(REPLACE_STRTOF)|g' \
1150 -e 's|@''REPLACE_STRTOL''@|$(REPLACE_STRTOL)|g' \
1151 -e 's|@''REPLACE_STRTOLD''@|$(REPLACE_STRTOLD)|g' \
1152 -e 's|@''REPLACE_STRTOLL''@|$(REPLACE_STRTOLL)|g' \
1153 -e 's|@''REPLACE_STRTOUL''@|$(REPLACE_STRTOUL)|g' \
1154 -e 's|@''REPLACE_STRTOULL''@|$(REPLACE_STRTOULL)|g' \
1155 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
1156 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
1157 -e 's|@''CAN_PRINT_STACK_TRACE''@|$(CAN_PRINT_STACK_TRACE)|g' \
1158 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1159 -e '/definition of _Noreturn/r $(_NORETURN_H)' \
1160 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1161 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1162 < $@-t2 > $@-t3
1163 $(AM_V_at)rm -f $@-t1 $@-t2
1164 $(AM_V_at)mv $@-t3 $@
1165 MOSTLYCLEANFILES += stdlib.h stdlib.h-t1 stdlib.h-t2 stdlib.h-t3
1166
1167 EXTRA_DIST += stdlib.in.h
1168
1169 ## end gnulib module stdlib-h
1170
1171 ## begin gnulib module strerror
1172
1173 if GL_COND_OBJ_STRERROR
1174 libgp_a_SOURCES += strerror.c
1175 endif
1176
1177 ## end gnulib module strerror
1178
1179 ## begin gnulib module strerror-override
1180
1181 if GL_COND_OBJ_STRERROR_OVERRIDE
1182 libgp_a_SOURCES += strerror-override.c
1183 endif
1184
1185 EXTRA_DIST += strerror-override.h
1186
1187 ## end gnulib module strerror-override
1188
1189 ## begin gnulib module string-h
1190
1191 BUILT_SOURCES += string.h
1192
1193 # We need the following in order to create <string.h> when the system
1194 # doesn't have one that works with the given compiler.
1195 string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1196 $(gl_V_at)$(SED_HEADER_STDOUT) \
1197 -e 's|@''GUARD_PREFIX''@|GL|g' \
1198 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1199 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1200 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1201 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1202 -e 's/@''GNULIB_EXPLICIT_BZERO''@/$(GL_GNULIB_EXPLICIT_BZERO)/g' \
1203 -e 's/@''GNULIB_FFSL''@/$(GL_GNULIB_FFSL)/g' \
1204 -e 's/@''GNULIB_FFSLL''@/$(GL_GNULIB_FFSLL)/g' \
1205 -e 's/@''GNULIB_MBSLEN''@/$(GL_GNULIB_MBSLEN)/g' \
1206 -e 's/@''GNULIB_MBSNLEN''@/$(GL_GNULIB_MBSNLEN)/g' \
1207 -e 's/@''GNULIB_MBSCHR''@/$(GL_GNULIB_MBSCHR)/g' \
1208 -e 's/@''GNULIB_MBSRCHR''@/$(GL_GNULIB_MBSRCHR)/g' \
1209 -e 's/@''GNULIB_MBSSTR''@/$(GL_GNULIB_MBSSTR)/g' \
1210 -e 's/@''GNULIB_MBSCASECMP''@/$(GL_GNULIB_MBSCASECMP)/g' \
1211 -e 's/@''GNULIB_MBSNCASECMP''@/$(GL_GNULIB_MBSNCASECMP)/g' \
1212 -e 's/@''GNULIB_MBSPCASECMP''@/$(GL_GNULIB_MBSPCASECMP)/g' \
1213 -e 's/@''GNULIB_MBSCASESTR''@/$(GL_GNULIB_MBSCASESTR)/g' \
1214 -e 's/@''GNULIB_MBSCSPN''@/$(GL_GNULIB_MBSCSPN)/g' \
1215 -e 's/@''GNULIB_MBSPBRK''@/$(GL_GNULIB_MBSPBRK)/g' \
1216 -e 's/@''GNULIB_MBSSPN''@/$(GL_GNULIB_MBSSPN)/g' \
1217 -e 's/@''GNULIB_MBSSEP''@/$(GL_GNULIB_MBSSEP)/g' \
1218 -e 's/@''GNULIB_MBSTOK_R''@/$(GL_GNULIB_MBSTOK_R)/g' \
1219 -e 's/@''GNULIB_MBS_ENDSWITH''@/$(GL_GNULIB_MBS_ENDSWITH)/g' \
1220 -e 's/@''GNULIB_MBS_STARTSWITH''@/$(GL_GNULIB_MBS_STARTSWITH)/g' \
1221 -e 's/@''GNULIB_MEMCHR''@/$(GL_GNULIB_MEMCHR)/g' \
1222 -e 's/@''GNULIB_MEMMEM''@/$(GL_GNULIB_MEMMEM)/g' \
1223 -e 's/@''GNULIB_MEMPCPY''@/$(GL_GNULIB_MEMPCPY)/g' \
1224 -e 's/@''GNULIB_MEMRCHR''@/$(GL_GNULIB_MEMRCHR)/g' \
1225 -e 's/@''GNULIB_MEMSET_EXPLICIT''@/$(GL_GNULIB_MEMSET_EXPLICIT)/g' \
1226 -e 's/@''GNULIB_RAWMEMCHR''@/$(GL_GNULIB_RAWMEMCHR)/g' \
1227 -e 's/@''GNULIB_STPCPY''@/$(GL_GNULIB_STPCPY)/g' \
1228 -e 's/@''GNULIB_STPNCPY''@/$(GL_GNULIB_STPNCPY)/g' \
1229 -e 's/@''GNULIB_STRCHRNUL''@/$(GL_GNULIB_STRCHRNUL)/g' \
1230 -e 's/@''GNULIB_STRDUP''@/$(GL_GNULIB_STRDUP)/g' \
1231 -e 's/@''GNULIB_STRNCAT''@/$(GL_GNULIB_STRNCAT)/g' \
1232 -e 's/@''GNULIB_STRNDUP''@/$(GL_GNULIB_STRNDUP)/g' \
1233 -e 's/@''GNULIB_STRNLEN''@/$(GL_GNULIB_STRNLEN)/g' \
1234 -e 's/@''GNULIB_STRPBRK''@/$(GL_GNULIB_STRPBRK)/g' \
1235 -e 's/@''GNULIB_STRSEP''@/$(GL_GNULIB_STRSEP)/g' \
1236 -e 's/@''GNULIB_STRSTR''@/$(GL_GNULIB_STRSTR)/g' \
1237 -e 's/@''GNULIB_STRCASESTR''@/$(GL_GNULIB_STRCASESTR)/g' \
1238 -e 's/@''GNULIB_STRTOK_R''@/$(GL_GNULIB_STRTOK_R)/g' \
1239 -e 's/@''GNULIB_STR_ENDSWITH''@/$(GL_GNULIB_STR_ENDSWITH)/g' \
1240 -e 's/@''GNULIB_STR_STARTSWITH''@/$(GL_GNULIB_STR_STARTSWITH)/g' \
1241 -e 's/@''GNULIB_STRERROR''@/$(GL_GNULIB_STRERROR)/g' \
1242 -e 's/@''GNULIB_STRERROR_R''@/$(GL_GNULIB_STRERROR_R)/g' \
1243 -e 's/@''GNULIB_STRERROR_L''@/$(GL_GNULIB_STRERROR_L)/g' \
1244 -e 's/@''GNULIB_STRERRORNAME_NP''@/$(GL_GNULIB_STRERRORNAME_NP)/g' \
1245 -e 's/@''GNULIB_SIGABBREV_NP''@/$(GL_GNULIB_SIGABBREV_NP)/g' \
1246 -e 's/@''GNULIB_SIGDESCR_NP''@/$(GL_GNULIB_SIGDESCR_NP)/g' \
1247 -e 's/@''GNULIB_STRSIGNAL''@/$(GL_GNULIB_STRSIGNAL)/g' \
1248 -e 's/@''GNULIB_STRVERSCMP''@/$(GL_GNULIB_STRVERSCMP)/g' \
1249 -e 's/@''GNULIB_MDA_MEMCCPY''@/$(GL_GNULIB_MDA_MEMCCPY)/g' \
1250 -e 's/@''GNULIB_MDA_STRDUP''@/$(GL_GNULIB_MDA_STRDUP)/g' \
1251 -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \
1252 < $(srcdir)/string.in.h > $@-t1
1253 $(AM_V_at)sed \
1254 -e 's|@''HAVE_EXPLICIT_BZERO''@|$(HAVE_EXPLICIT_BZERO)|g' \
1255 -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
1256 -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
1257 -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
1258 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1259 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1260 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1261 -e 's|@''HAVE_MEMSET_EXPLICIT''@|$(HAVE_MEMSET_EXPLICIT)|g' \
1262 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1263 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1264 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1265 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1266 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1267 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1268 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1269 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1270 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1271 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1272 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1273 -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
1274 -e 's|@''HAVE_STRERROR_L''@|$(HAVE_STRERROR_L)|g' \
1275 -e 's|@''HAVE_STRERRORNAME_NP''@|$(HAVE_STRERRORNAME_NP)|g' \
1276 -e 's|@''HAVE_SIGABBREV_NP''@|$(HAVE_SIGABBREV_NP)|g' \
1277 -e 's|@''HAVE_SIGDESCR_NP''@|$(HAVE_SIGDESCR_NP)|g' \
1278 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1279 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1280 -e 's|@''REPLACE_FFSLL''@|$(REPLACE_FFSLL)|g' \
1281 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
1282 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1283 -e 's|@''REPLACE_MEMPCPY''@|$(REPLACE_MEMPCPY)|g' \
1284 -e 's|@''REPLACE_MEMSET_EXPLICIT''@|$(REPLACE_MEMSET_EXPLICIT)|g' \
1285 -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \
1286 -e 's|@''REPLACE_STPCPY''@|$(REPLACE_STPCPY)|g' \
1287 -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
1288 -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
1289 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1290 -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
1291 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1292 -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
1293 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1294 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1295 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1296 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1297 -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
1298 -e 's|@''REPLACE_STRERROR_L''@|$(REPLACE_STRERROR_L)|g' \
1299 -e 's|@''REPLACE_STRERRORNAME_NP''@|$(REPLACE_STRERRORNAME_NP)|g' \
1300 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1301 -e 's|@''REPLACE_STRVERSCMP''@|$(REPLACE_STRVERSCMP)|g' \
1302 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1303 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1304 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1305 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1306 < $@-t1 > $@-t2
1307 $(AM_V_at)rm -f $@-t1
1308 $(AM_V_at)mv $@-t2 $@
1309 MOSTLYCLEANFILES += string.h string.h-t1 string.h-t2
1310
1311 EXTRA_DIST += string.in.h
1312
1313 ## end gnulib module string-h
1314
1315 ## begin gnulib module sys_stat-h
1316
1317 BUILT_SOURCES += sys/stat.h
1318
1319 # We need the following in order to create <sys/stat.h> when the system
1320 # has one that is incomplete.
1321 sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1322 $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
1323 $(AM_V_at)$(SED_HEADER_STDOUT) \
1324 -e 's|@''GUARD_PREFIX''@|GL|g' \
1325 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1326 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1327 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1328 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1329 -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
1330 -e 's|@''WINDOWS_STAT_TIMESPEC''@|$(WINDOWS_STAT_TIMESPEC)|g' \
1331 -e 's/@''GNULIB_CHMOD''@/$(GL_GNULIB_CHMOD)/g' \
1332 -e 's/@''GNULIB_FCHMODAT''@/$(GL_GNULIB_FCHMODAT)/g' \
1333 -e 's/@''GNULIB_FSTAT''@/$(GL_GNULIB_FSTAT)/g' \
1334 -e 's/@''GNULIB_FSTATAT''@/$(GL_GNULIB_FSTATAT)/g' \
1335 -e 's/@''GNULIB_FUTIMENS''@/$(GL_GNULIB_FUTIMENS)/g' \
1336 -e 's/@''GNULIB_GETUMASK''@/$(GL_GNULIB_GETUMASK)/g' \
1337 -e 's/@''GNULIB_LCHMOD''@/$(GL_GNULIB_LCHMOD)/g' \
1338 -e 's/@''GNULIB_LSTAT''@/$(GL_GNULIB_LSTAT)/g' \
1339 -e 's/@''GNULIB_MKDIR''@/$(GL_GNULIB_MKDIR)/g' \
1340 -e 's/@''GNULIB_MKDIRAT''@/$(GL_GNULIB_MKDIRAT)/g' \
1341 -e 's/@''GNULIB_MKFIFO''@/$(GL_GNULIB_MKFIFO)/g' \
1342 -e 's/@''GNULIB_MKFIFOAT''@/$(GL_GNULIB_MKFIFOAT)/g' \
1343 -e 's/@''GNULIB_MKNOD''@/$(GL_GNULIB_MKNOD)/g' \
1344 -e 's/@''GNULIB_MKNODAT''@/$(GL_GNULIB_MKNODAT)/g' \
1345 -e 's/@''GNULIB_STAT''@/$(GL_GNULIB_STAT)/g' \
1346 -e 's/@''GNULIB_UTIMENSAT''@/$(GL_GNULIB_UTIMENSAT)/g' \
1347 -e 's/@''GNULIB_OVERRIDES_STRUCT_STAT''@/$(GL_GNULIB_OVERRIDES_STRUCT_STAT)/g' \
1348 -e 's/@''GNULIB_MDA_CHMOD''@/$(GL_GNULIB_MDA_CHMOD)/g' \
1349 -e 's/@''GNULIB_MDA_MKDIR''@/$(GL_GNULIB_MDA_MKDIR)/g' \
1350 -e 's/@''GNULIB_MDA_UMASK''@/$(GL_GNULIB_MDA_UMASK)/g' \
1351 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1352 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1353 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1354 -e 's|@''HAVE_GETUMASK''@|$(HAVE_GETUMASK)|g' \
1355 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1356 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1357 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1358 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1359 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1360 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1361 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1362 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1363 -e 's|@''REPLACE_CHMOD''@|$(REPLACE_CHMOD)|g' \
1364 -e 's|@''REPLACE_FCHMODAT''@|$(REPLACE_FCHMODAT)|g' \
1365 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1366 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1367 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1368 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1369 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1370 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1371 -e 's|@''REPLACE_MKFIFOAT''@|$(REPLACE_MKFIFOAT)|g' \
1372 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1373 -e 's|@''REPLACE_MKNODAT''@|$(REPLACE_MKNODAT)|g' \
1374 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1375 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1376 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1377 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1378 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1379 $(srcdir)/sys_stat.in.h > $@-t
1380 $(AM_V_at)mv $@-t $@
1381 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1382 MOSTLYCLEANDIRS += sys
1383
1384 EXTRA_DIST += sys_stat.in.h
1385
1386 ## end gnulib module sys_stat-h
1387
1388 ## begin gnulib module sys_types-h
1389
1390 BUILT_SOURCES += sys/types.h
1391
1392 # We need the following in order to create <sys/types.h> when the system
1393 # doesn't have one that works with the given compiler.
1394 sys/types.h: sys_types.in.h $(top_builddir)/config.status
1395 $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
1396 $(AM_V_at)$(SED_HEADER_STDOUT) \
1397 -e 's|@''GUARD_PREFIX''@|GL|g' \
1398 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1399 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1400 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1401 -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
1402 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
1403 -e 's|@''HAVE_OFF64_T''@|$(HAVE_OFF64_T)|g' \
1404 -e 's|@''WINDOWS_STAT_INODES''@|$(WINDOWS_STAT_INODES)|g' \
1405 -e 's|@''HAVE_BLKSIZE_T''@|$(HAVE_BLKSIZE_T)|g' \
1406 -e 's|@''HAVE_BLKCNT_T''@|$(HAVE_BLKCNT_T)|g' \
1407 $(srcdir)/sys_types.in.h > $@-t
1408 $(AM_V_at)mv $@-t $@
1409 MOSTLYCLEANFILES += sys/types.h sys/types.h-t
1410 MOSTLYCLEANDIRS += sys
1411
1412 EXTRA_DIST += sys_types.in.h
1413
1414 ## end gnulib module sys_types-h
1415
1416 ## begin gnulib module time-h
1417
1418 BUILT_SOURCES += time.h
1419
1420 # We need the following in order to create <time.h> when the system
1421 # doesn't have one that works with the given compiler.
1422 time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1423 $(gl_V_at)$(SED_HEADER_STDOUT) \
1424 -e 's|@''GUARD_PREFIX''@|GL|g' \
1425 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1426 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1427 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1428 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1429 -e 's/@''GNULIB_CTIME''@/$(GL_GNULIB_CTIME)/g' \
1430 -e 's/@''GNULIB_LOCALTIME''@/$(GL_GNULIB_LOCALTIME)/g' \
1431 -e 's/@''GNULIB_MKTIME''@/$(GL_GNULIB_MKTIME)/g' \
1432 -e 's/@''GNULIB_NANOSLEEP''@/$(GL_GNULIB_NANOSLEEP)/g' \
1433 -e 's/@''GNULIB_STRFTIME''@/$(GL_GNULIB_STRFTIME)/g' \
1434 -e 's/@''GNULIB_STRPTIME''@/$(GL_GNULIB_STRPTIME)/g' \
1435 -e 's/@''GNULIB_TIME''@/$(GL_GNULIB_TIME)/g' \
1436 -e 's/@''GNULIB_TIMEGM''@/$(GL_GNULIB_TIMEGM)/g' \
1437 -e 's/@''GNULIB_TIMESPEC_GET''@/$(GL_GNULIB_TIMESPEC_GET)/g' \
1438 -e 's/@''GNULIB_TIMESPEC_GETRES''@/$(GL_GNULIB_TIMESPEC_GETRES)/g' \
1439 -e 's/@''GNULIB_TIME_R''@/$(GL_GNULIB_TIME_R)/g' \
1440 -e 's/@''GNULIB_TIME_RZ''@/$(GL_GNULIB_TIME_RZ)/g' \
1441 -e 's/@''GNULIB_TZNAME''@/$(GL_GNULIB_TZNAME)/g' \
1442 -e 's/@''GNULIB_TZSET''@/$(GL_GNULIB_TZSET)/g' \
1443 -e 's/@''GNULIB_MDA_TZSET''@/$(GL_GNULIB_MDA_TZSET)/g' \
1444 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
1445 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1446 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1447 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
1448 -e 's|@''HAVE_TIMESPEC_GET''@|$(HAVE_TIMESPEC_GET)|g' \
1449 -e 's|@''HAVE_TIMESPEC_GETRES''@|$(HAVE_TIMESPEC_GETRES)|g' \
1450 -e 's|@''HAVE_TIMEZONE_T''@|$(HAVE_TIMEZONE_T)|g' \
1451 -e 's|@''HAVE_TZALLOC''@|$(HAVE_TZALLOC)|g' \
1452 -e 's|@''REPLACE_CTIME''@|$(REPLACE_CTIME)|g' \
1453 -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \
1454 -e 's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \
1455 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1456 -e 's|@''REPLACE_LOCALTIME_RZ''@|$(REPLACE_LOCALTIME_RZ)|g' \
1457 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1458 -e 's|@''REPLACE_MKTIME_Z''@|$(REPLACE_MKTIME_Z)|g' \
1459 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1460 -e 's|@''REPLACE_STRFTIME''@|$(REPLACE_STRFTIME)|g' \
1461 -e 's|@''REPLACE_TIME''@|$(REPLACE_TIME)|g' \
1462 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1463 -e 's|@''REPLACE_TIMESPEC_GET''@|$(REPLACE_TIMESPEC_GET)|g' \
1464 -e 's|@''REPLACE_TIMESPEC_GETRES''@|$(REPLACE_TIMESPEC_GETRES)|g' \
1465 -e 's|@''REPLACE_TZSET''@|$(REPLACE_TZSET)|g' \
1466 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1467 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1468 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1469 -e 's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|$(UNISTD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1470 -e 's|@''TIME_H_DEFINES_TIME_UTC''@|$(TIME_H_DEFINES_TIME_UTC)|g' \
1471 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1472 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1473 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1474 $(srcdir)/time.in.h > $@-t
1475 $(AM_V_at)mv $@-t $@
1476 MOSTLYCLEANFILES += time.h time.h-t
1477
1478 EXTRA_DIST += time.in.h
1479
1480 ## end gnulib module time-h
1481
1482 ## begin gnulib module unistd-h
1483
1484 BUILT_SOURCES += unistd.h
1485 libgp_a_SOURCES += unistd.c
1486
1487 # We need the following in order to create an empty placeholder for
1488 # <unistd.h> when the system doesn't have one.
1489 unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1490 $(gl_V_at)$(SED_HEADER_STDOUT) \
1491 -e 's|@''GUARD_PREFIX''@|GL|g' \
1492 -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1493 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1494 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1495 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1496 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1497 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
1498 -e 's/@''GNULIB_ACCESS''@/$(GL_GNULIB_ACCESS)/g' \
1499 -e 's/@''GNULIB_CHDIR''@/$(GL_GNULIB_CHDIR)/g' \
1500 -e 's/@''GNULIB_CHOWN''@/$(GL_GNULIB_CHOWN)/g' \
1501 -e 's/@''GNULIB_CLOSE''@/$(GL_GNULIB_CLOSE)/g' \
1502 -e 's/@''GNULIB_COPY_FILE_RANGE''@/$(GL_GNULIB_COPY_FILE_RANGE)/g' \
1503 -e 's/@''GNULIB_DUP''@/$(GL_GNULIB_DUP)/g' \
1504 -e 's/@''GNULIB_DUP2''@/$(GL_GNULIB_DUP2)/g' \
1505 -e 's/@''GNULIB_DUP3''@/$(GL_GNULIB_DUP3)/g' \
1506 -e 's/@''GNULIB_ENVIRON''@/$(GL_GNULIB_ENVIRON)/g' \
1507 -e 's/@''GNULIB_EUIDACCESS''@/$(GL_GNULIB_EUIDACCESS)/g' \
1508 -e 's/@''GNULIB_EXECL''@/$(GL_GNULIB_EXECL)/g' \
1509 -e 's/@''GNULIB_EXECLE''@/$(GL_GNULIB_EXECLE)/g' \
1510 -e 's/@''GNULIB_EXECLP''@/$(GL_GNULIB_EXECLP)/g' \
1511 -e 's/@''GNULIB_EXECV''@/$(GL_GNULIB_EXECV)/g' \
1512 -e 's/@''GNULIB_EXECVE''@/$(GL_GNULIB_EXECVE)/g' \
1513 -e 's/@''GNULIB_EXECVP''@/$(GL_GNULIB_EXECVP)/g' \
1514 -e 's/@''GNULIB_EXECVPE''@/$(GL_GNULIB_EXECVPE)/g' \
1515 -e 's/@''GNULIB_FACCESSAT''@/$(GL_GNULIB_FACCESSAT)/g' \
1516 -e 's/@''GNULIB_FCHDIR''@/$(GL_GNULIB_FCHDIR)/g' \
1517 -e 's/@''GNULIB_FCHOWNAT''@/$(GL_GNULIB_FCHOWNAT)/g' \
1518 -e 's/@''GNULIB_FDATASYNC''@/$(GL_GNULIB_FDATASYNC)/g' \
1519 -e 's/@''GNULIB_FSYNC''@/$(GL_GNULIB_FSYNC)/g' \
1520 -e 's/@''GNULIB_FTRUNCATE''@/$(GL_GNULIB_FTRUNCATE)/g' \
1521 < $(srcdir)/unistd.in.h > $@-t1
1522 $(AM_V_at)sed \
1523 -e 's/@''GNULIB_GETCWD''@/$(GL_GNULIB_GETCWD)/g' \
1524 -e 's/@''GNULIB_GETDOMAINNAME''@/$(GL_GNULIB_GETDOMAINNAME)/g' \
1525 -e 's/@''GNULIB_GETDTABLESIZE''@/$(GL_GNULIB_GETDTABLESIZE)/g' \
1526 -e 's/@''GNULIB_GETENTROPY''@/$(GL_GNULIB_GETENTROPY)/g' \
1527 -e 's/@''GNULIB_GETGROUPS''@/$(GL_GNULIB_GETGROUPS)/g' \
1528 -e 's/@''GNULIB_GETHOSTNAME''@/$(GL_GNULIB_GETHOSTNAME)/g' \
1529 -e 's/@''GNULIB_GETLOGIN''@/$(GL_GNULIB_GETLOGIN)/g' \
1530 -e 's/@''GNULIB_GETLOGIN_R''@/$(GL_GNULIB_GETLOGIN_R)/g' \
1531 -e 's/@''GNULIB_GETOPT_POSIX''@/$(GL_GNULIB_GETOPT_POSIX)/g' \
1532 -e 's/@''GNULIB_GETPAGESIZE''@/$(GL_GNULIB_GETPAGESIZE)/g' \
1533 -e 's/@''GNULIB_GETPASS''@/$(GL_GNULIB_GETPASS)/g' \
1534 -e 's/@''GNULIB_GETPASS_GNU''@/$(GL_GNULIB_GETPASS_GNU)/g' \
1535 -e 's/@''GNULIB_GETUSERSHELL''@/$(GL_GNULIB_GETUSERSHELL)/g' \
1536 -e 's/@''GNULIB_GROUP_MEMBER''@/$(GL_GNULIB_GROUP_MEMBER)/g' \
1537 -e 's/@''GNULIB_ISATTY''@/$(GL_GNULIB_ISATTY)/g' \
1538 -e 's/@''GNULIB_LCHOWN''@/$(GL_GNULIB_LCHOWN)/g' \
1539 -e 's/@''GNULIB_LINK''@/$(GL_GNULIB_LINK)/g' \
1540 -e 's/@''GNULIB_LINKAT''@/$(GL_GNULIB_LINKAT)/g' \
1541 -e 's/@''GNULIB_LSEEK''@/$(GL_GNULIB_LSEEK)/g' \
1542 -e 's/@''GNULIB_PIPE''@/$(GL_GNULIB_PIPE)/g' \
1543 -e 's/@''GNULIB_PIPE2''@/$(GL_GNULIB_PIPE2)/g' \
1544 -e 's/@''GNULIB_PREAD''@/$(GL_GNULIB_PREAD)/g' \
1545 -e 's/@''GNULIB_PWRITE''@/$(GL_GNULIB_PWRITE)/g' \
1546 -e 's/@''GNULIB_READ''@/$(GL_GNULIB_READ)/g' \
1547 -e 's/@''GNULIB_READLINK''@/$(GL_GNULIB_READLINK)/g' \
1548 -e 's/@''GNULIB_READLINKAT''@/$(GL_GNULIB_READLINKAT)/g' \
1549 -e 's/@''GNULIB_RMDIR''@/$(GL_GNULIB_RMDIR)/g' \
1550 -e 's/@''GNULIB_SETHOSTNAME''@/$(GL_GNULIB_SETHOSTNAME)/g' \
1551 -e 's/@''GNULIB_SLEEP''@/$(GL_GNULIB_SLEEP)/g' \
1552 -e 's/@''GNULIB_SYMLINK''@/$(GL_GNULIB_SYMLINK)/g' \
1553 -e 's/@''GNULIB_SYMLINKAT''@/$(GL_GNULIB_SYMLINKAT)/g' \
1554 -e 's/@''GNULIB_TRUNCATE''@/$(GL_GNULIB_TRUNCATE)/g' \
1555 -e 's/@''GNULIB_TTYNAME_R''@/$(GL_GNULIB_TTYNAME_R)/g' \
1556 -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GL_GNULIB_UNISTD_H_GETOPT)/g' \
1557 -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GL_GNULIB_UNISTD_H_NONBLOCKING)/g' \
1558 -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GL_GNULIB_UNISTD_H_SIGPIPE)/g' \
1559 -e 's/@''GNULIB_UNLINK''@/$(GL_GNULIB_UNLINK)/g' \
1560 -e 's/@''GNULIB_UNLINKAT''@/$(GL_GNULIB_UNLINKAT)/g' \
1561 -e 's/@''GNULIB_USLEEP''@/$(GL_GNULIB_USLEEP)/g' \
1562 -e 's/@''GNULIB_WRITE''@/$(GL_GNULIB_WRITE)/g' \
1563 -e 's/@''GNULIB_MDA_ACCESS''@/$(GL_GNULIB_MDA_ACCESS)/g' \
1564 -e 's/@''GNULIB_MDA_CHDIR''@/$(GL_GNULIB_MDA_CHDIR)/g' \
1565 -e 's/@''GNULIB_MDA_CLOSE''@/$(GL_GNULIB_MDA_CLOSE)/g' \
1566 -e 's/@''GNULIB_MDA_DUP''@/$(GL_GNULIB_MDA_DUP)/g' \
1567 -e 's/@''GNULIB_MDA_DUP2''@/$(GL_GNULIB_MDA_DUP2)/g' \
1568 -e 's/@''GNULIB_MDA_EXECL''@/$(GL_GNULIB_MDA_EXECL)/g' \
1569 -e 's/@''GNULIB_MDA_EXECLE''@/$(GL_GNULIB_MDA_EXECLE)/g' \
1570 -e 's/@''GNULIB_MDA_EXECLP''@/$(GL_GNULIB_MDA_EXECLP)/g' \
1571 -e 's/@''GNULIB_MDA_EXECV''@/$(GL_GNULIB_MDA_EXECV)/g' \
1572 -e 's/@''GNULIB_MDA_EXECVE''@/$(GL_GNULIB_MDA_EXECVE)/g' \
1573 -e 's/@''GNULIB_MDA_EXECVP''@/$(GL_GNULIB_MDA_EXECVP)/g' \
1574 -e 's/@''GNULIB_MDA_EXECVPE''@/$(GL_GNULIB_MDA_EXECVPE)/g' \
1575 -e 's/@''GNULIB_MDA_GETCWD''@/$(GL_GNULIB_MDA_GETCWD)/g' \
1576 -e 's/@''GNULIB_MDA_GETPID''@/$(GL_GNULIB_MDA_GETPID)/g' \
1577 -e 's/@''GNULIB_MDA_ISATTY''@/$(GL_GNULIB_MDA_ISATTY)/g' \
1578 -e 's/@''GNULIB_MDA_LSEEK''@/$(GL_GNULIB_MDA_LSEEK)/g' \
1579 -e 's/@''GNULIB_MDA_READ''@/$(GL_GNULIB_MDA_READ)/g' \
1580 -e 's/@''GNULIB_MDA_RMDIR''@/$(GL_GNULIB_MDA_RMDIR)/g' \
1581 -e 's/@''GNULIB_MDA_SWAB''@/$(GL_GNULIB_MDA_SWAB)/g' \
1582 -e 's/@''GNULIB_MDA_UNLINK''@/$(GL_GNULIB_MDA_UNLINK)/g' \
1583 -e 's/@''GNULIB_MDA_WRITE''@/$(GL_GNULIB_MDA_WRITE)/g' \
1584 < $@-t1 > $@-t2
1585 $(AM_V_at)sed \
1586 -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1587 -e 's|@''HAVE_COPY_FILE_RANGE''@|$(HAVE_COPY_FILE_RANGE)|g' \
1588 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1589 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1590 -e 's|@''HAVE_EXECVPE''@|$(HAVE_EXECVPE)|g' \
1591 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1592 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1593 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1594 -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
1595 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1596 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1597 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1598 -e 's|@''HAVE_GETENTROPY''@|$(HAVE_GETENTROPY)|g' \
1599 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1600 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1601 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1602 -e 's|@''HAVE_GETPASS''@|$(HAVE_GETPASS)|g' \
1603 -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
1604 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1605 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1606 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1607 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
1608 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1609 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1610 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1611 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1612 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1613 -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
1614 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1615 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1616 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1617 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1618 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1619 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1620 -e 's|@''HAVE_DECL_EXECVPE''@|$(HAVE_DECL_EXECVPE)|g' \
1621 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
1622 -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
1623 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
1624 -e 's|@''HAVE_DECL_GETLOGIN''@|$(HAVE_DECL_GETLOGIN)|g' \
1625 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1626 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1627 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
1628 -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
1629 -e 's|@''HAVE_DECL_TRUNCATE''@|$(HAVE_DECL_TRUNCATE)|g' \
1630 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
1631 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1632 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1633 < $@-t2 > $@-t3
1634 $(AM_V_at)sed \
1635 -e 's|@''REPLACE_ACCESS''@|$(REPLACE_ACCESS)|g' \
1636 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1637 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1638 -e 's|@''REPLACE_COPY_FILE_RANGE''@|$(REPLACE_COPY_FILE_RANGE)|g' \
1639 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1640 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1641 -e 's|@''REPLACE_DUP3''@|$(REPLACE_DUP3)|g' \
1642 -e 's|@''REPLACE_EXECL''@|$(REPLACE_EXECL)|g' \
1643 -e 's|@''REPLACE_EXECLE''@|$(REPLACE_EXECLE)|g' \
1644 -e 's|@''REPLACE_EXECLP''@|$(REPLACE_EXECLP)|g' \
1645 -e 's|@''REPLACE_EXECV''@|$(REPLACE_EXECV)|g' \
1646 -e 's|@''REPLACE_EXECVE''@|$(REPLACE_EXECVE)|g' \
1647 -e 's|@''REPLACE_EXECVP''@|$(REPLACE_EXECVP)|g' \
1648 -e 's|@''REPLACE_EXECVPE''@|$(REPLACE_EXECVPE)|g' \
1649 -e 's|@''REPLACE_FACCESSAT''@|$(REPLACE_FACCESSAT)|g' \
1650 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
1651 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1652 -e 's|@''REPLACE_FDATASYNC''@|$(REPLACE_FDATASYNC)|g' \
1653 -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
1654 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1655 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
1656 -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \
1657 -e 's|@''REPLACE_GETENTROPY''@|$(REPLACE_GETENTROPY)|g' \
1658 -e 's|@''REPLACE_GETLOGIN''@|$(REPLACE_GETLOGIN)|g' \
1659 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
1660 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1661 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1662 -e 's|@''REPLACE_GETPASS''@|$(REPLACE_GETPASS)|g' \
1663 -e 's|@''REPLACE_GETPASS_FOR_GETPASS_GNU''@|$(REPLACE_GETPASS_FOR_GETPASS_GNU)|g' \
1664 -e 's|@''REPLACE_GETUSERSHELL''@|$(REPLACE_GETUSERSHELL)|g' \
1665 -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
1666 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1667 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1668 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1669 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1670 -e 's|@''REPLACE_PIPE2''@|$(REPLACE_PIPE2)|g' \
1671 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1672 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
1673 -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
1674 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1675 -e 's|@''REPLACE_READLINKAT''@|$(REPLACE_READLINKAT)|g' \
1676 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1677 -e 's|@''REPLACE_SETHOSTNAME''@|$(REPLACE_SETHOSTNAME)|g' \
1678 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1679 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1680 -e 's|@''REPLACE_SYMLINKAT''@|$(REPLACE_SYMLINKAT)|g' \
1681 -e 's|@''REPLACE_TRUNCATE''@|$(REPLACE_TRUNCATE)|g' \
1682 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
1683 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1684 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1685 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1686 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1687 -e 's|@''UNISTD_H_HAVE_SYS_RANDOM_H''@|$(UNISTD_H_HAVE_SYS_RANDOM_H)|g' \
1688 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1689 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1690 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1691 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1692 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1693 < $@-t3 > $@-t4
1694 $(AM_V_at)rm -f $@-t1 $@-t2 $@-t3
1695 $(AM_V_at)mv $@-t4 $@
1696 MOSTLYCLEANFILES += unistd.h unistd.h-t1 unistd.h-t2 unistd.h-t3 unistd.h-t4
1697
1698 EXTRA_DIST += unistd.in.h
1699
1700 ## end gnulib module unistd-h
1701
1702 ## begin gnulib module wchar-h
1703
1704 BUILT_SOURCES += wchar.h
1705
1706 # We need the following in order to create <wchar.h> when the system
1707 # version does not work standalone.
1708 wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1709 $(gl_V_at)$(SED_HEADER_STDOUT) \
1710 -e 's|@''GUARD_PREFIX''@|GL|g' \
1711 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1712 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1713 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1714 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
1715 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1716 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1717 -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \
1718 -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \
1719 -e 's/@''GNULIB_BTOWC''@/$(GL_GNULIB_BTOWC)/g' \
1720 -e 's/@''GNULIB_WCTOB''@/$(GL_GNULIB_WCTOB)/g' \
1721 -e 's/@''GNULIB_MBSINIT''@/$(GL_GNULIB_MBSINIT)/g' \
1722 -e 's/@''GNULIB_MBSZERO''@/$(GL_GNULIB_MBSZERO)/g' \
1723 -e 's/@''GNULIB_MBRTOWC''@/$(GL_GNULIB_MBRTOWC)/g' \
1724 -e 's/@''GNULIB_MBRLEN''@/$(GL_GNULIB_MBRLEN)/g' \
1725 -e 's/@''GNULIB_MBSRTOWCS''@/$(GL_GNULIB_MBSRTOWCS)/g' \
1726 -e 's/@''GNULIB_MBSNRTOWCS''@/$(GL_GNULIB_MBSNRTOWCS)/g' \
1727 -e 's/@''GNULIB_WCRTOMB''@/$(GL_GNULIB_WCRTOMB)/g' \
1728 -e 's/@''GNULIB_WCSRTOMBS''@/$(GL_GNULIB_WCSRTOMBS)/g' \
1729 -e 's/@''GNULIB_WCSNRTOMBS''@/$(GL_GNULIB_WCSNRTOMBS)/g' \
1730 -e 's/@''GNULIB_WCWIDTH''@/$(GL_GNULIB_WCWIDTH)/g' \
1731 -e 's/@''GNULIB_WMEMCHR''@/$(GL_GNULIB_WMEMCHR)/g' \
1732 -e 's/@''GNULIB_WMEMCMP''@/$(GL_GNULIB_WMEMCMP)/g' \
1733 -e 's/@''GNULIB_WMEMCPY''@/$(GL_GNULIB_WMEMCPY)/g' \
1734 -e 's/@''GNULIB_WMEMMOVE''@/$(GL_GNULIB_WMEMMOVE)/g' \
1735 -e 's/@''GNULIB_WMEMPCPY''@/$(GL_GNULIB_WMEMPCPY)/g' \
1736 -e 's/@''GNULIB_WMEMSET''@/$(GL_GNULIB_WMEMSET)/g' \
1737 -e 's/@''GNULIB_WCSLEN''@/$(GL_GNULIB_WCSLEN)/g' \
1738 -e 's/@''GNULIB_WCSNLEN''@/$(GL_GNULIB_WCSNLEN)/g' \
1739 -e 's/@''GNULIB_WCSCPY''@/$(GL_GNULIB_WCSCPY)/g' \
1740 -e 's/@''GNULIB_WCPCPY''@/$(GL_GNULIB_WCPCPY)/g' \
1741 -e 's/@''GNULIB_WCSNCPY''@/$(GL_GNULIB_WCSNCPY)/g' \
1742 -e 's/@''GNULIB_WCPNCPY''@/$(GL_GNULIB_WCPNCPY)/g' \
1743 -e 's/@''GNULIB_WCSCAT''@/$(GL_GNULIB_WCSCAT)/g' \
1744 -e 's/@''GNULIB_WCSNCAT''@/$(GL_GNULIB_WCSNCAT)/g' \
1745 -e 's/@''GNULIB_WCSCMP''@/$(GL_GNULIB_WCSCMP)/g' \
1746 -e 's/@''GNULIB_WCSNCMP''@/$(GL_GNULIB_WCSNCMP)/g' \
1747 -e 's/@''GNULIB_WCSCASECMP''@/$(GL_GNULIB_WCSCASECMP)/g' \
1748 -e 's/@''GNULIB_WCSNCASECMP''@/$(GL_GNULIB_WCSNCASECMP)/g' \
1749 -e 's/@''GNULIB_WCSCOLL''@/$(GL_GNULIB_WCSCOLL)/g' \
1750 -e 's/@''GNULIB_WCSXFRM''@/$(GL_GNULIB_WCSXFRM)/g' \
1751 -e 's/@''GNULIB_WCSDUP''@/$(GL_GNULIB_WCSDUP)/g' \
1752 -e 's/@''GNULIB_WCSCHR''@/$(GL_GNULIB_WCSCHR)/g' \
1753 -e 's/@''GNULIB_WCSRCHR''@/$(GL_GNULIB_WCSRCHR)/g' \
1754 -e 's/@''GNULIB_WCSCSPN''@/$(GL_GNULIB_WCSCSPN)/g' \
1755 -e 's/@''GNULIB_WCSSPN''@/$(GL_GNULIB_WCSSPN)/g' \
1756 -e 's/@''GNULIB_WCSPBRK''@/$(GL_GNULIB_WCSPBRK)/g' \
1757 -e 's/@''GNULIB_WCSSTR''@/$(GL_GNULIB_WCSSTR)/g' \
1758 -e 's/@''GNULIB_WCSTOK''@/$(GL_GNULIB_WCSTOK)/g' \
1759 -e 's/@''GNULIB_WCSWIDTH''@/$(GL_GNULIB_WCSWIDTH)/g' \
1760 -e 's/@''GNULIB_WCSFTIME''@/$(GL_GNULIB_WCSFTIME)/g' \
1761 -e 's/@''GNULIB_WGETCWD''@/$(GL_GNULIB_WGETCWD)/g' \
1762 -e 's/@''GNULIB_MDA_WCSDUP''@/$(GL_GNULIB_MDA_WCSDUP)/g' \
1763 -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \
1764 < $(srcdir)/wchar.in.h > $@-t1
1765 $(AM_V_at)sed \
1766 -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1767 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1768 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1769 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1770 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1771 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1772 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1773 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1774 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1775 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1776 -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
1777 -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
1778 -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
1779 -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
1780 -e 's|@''HAVE_WMEMPCPY''@|$(HAVE_WMEMPCPY)|g' \
1781 -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
1782 -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
1783 -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
1784 -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
1785 -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
1786 -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
1787 -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
1788 -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
1789 -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
1790 -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
1791 -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
1792 -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
1793 -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
1794 -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
1795 -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
1796 -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
1797 -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
1798 -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
1799 -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
1800 -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
1801 -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
1802 -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
1803 -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
1804 -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
1805 -e 's|@''HAVE_WCSFTIME''@|$(HAVE_WCSFTIME)|g' \
1806 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1807 -e 's|@''HAVE_DECL_WCSDUP''@|$(HAVE_DECL_WCSDUP)|g' \
1808 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1809 < $@-t1 > $@-t2
1810 $(AM_V_at)sed \
1811 -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1812 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1813 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1814 -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \
1815 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1816 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1817 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1818 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1819 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1820 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1821 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1822 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1823 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1824 -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
1825 -e 's|@''REPLACE_WCSFTIME''@|$(REPLACE_WCSFTIME)|g' \
1826 -e 's|@''REPLACE_WCSCMP''@|$(REPLACE_WCSCMP)|g' \
1827 -e 's|@''REPLACE_WCSNCAT''@|$(REPLACE_WCSNCAT)|g' \
1828 -e 's|@''REPLACE_WCSNCMP''@|$(REPLACE_WCSNCMP)|g' \
1829 -e 's|@''REPLACE_WCSSTR''@|$(REPLACE_WCSSTR)|g' \
1830 -e 's|@''REPLACE_WCSTOK''@|$(REPLACE_WCSTOK)|g' \
1831 -e 's|@''REPLACE_WMEMCMP''@|$(REPLACE_WMEMCMP)|g' \
1832 -e 's|@''REPLACE_WMEMPCPY''@|$(REPLACE_WMEMPCPY)|g' \
1833 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1834 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1835 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1836 < $@-t2 > $@-t3
1837 $(AM_V_at)rm -f $@-t1 $@-t2
1838 $(AM_V_at)mv $@-t3 $@
1839 MOSTLYCLEANFILES += wchar.h wchar.h-t1 wchar.h-t2 wchar.h-t3
1840
1841 EXTRA_DIST += wchar.in.h
1842
1843 ## end gnulib module wchar-h
1844
1845 ## begin gnulib module xalloc-die
1846
1847 libgp_a_SOURCES += xalloc-die.c
1848
1849 EXTRA_DIST += xalloc.h
1850
1851 ## end gnulib module xalloc-die
1852
1853 ## begin gnulib module xalloc-oversized
1854
1855
1856 EXTRA_DIST += xalloc-oversized.h
1857
1858 ## end gnulib module xalloc-oversized
1859
1860 ## begin gnulib module xmap
1861
1862 libgp_a_SOURCES += gl_xmap.h gl_xmap.c
1863
1864 ## end gnulib module xmap
1865
1866 ## begin gnulib module xsize
1867
1868 libgp_a_SOURCES += xsize.h xsize.c
1869
1870 ## end gnulib module xsize
1871
1872
1873 mostlyclean-local: mostlyclean-generic
1874 @for dir in '' $(MOSTLYCLEANDIRS); do \
1875 if test -n "$$dir" && test -d $$dir; then \
1876 echo "rmdir $$dir"; rmdir $$dir; \
1877 fi; \
1878 done; \
1879 :
1880 distclean-local: distclean-gnulib-libobjs
1881 distclean-gnulib-libobjs:
1882 -rm -f @gl_libgp_LIBOBJDEPS@
1883 maintainer-clean-local: distclean-gnulib-libobjs