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