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