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