Import 'lstat' and 'mkstemp' modules from Gnulib.
[bpt/guile.git] / lib / Makefile.am
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2014 Free Software Foundation, Inc.
4 #
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this file. If not, see <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
21 # the same distribution terms as the rest of that program.
22 #
23 # Generated by gnulib-tool.
24 # Reproduce by: gnulib-tool --import --dir=. --local-dir=gnulib-local --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --lgpl=3 --no-conditional-dependencies --libtool --macro-prefix=gl --no-vc-files accept alignof alloca-opt announce-gen autobuild bind byteswap c-strcase canonicalize-lgpl ceil clock-time close connect copysign dirfd duplocale environ extensions flock floor fpieee frexp fstat full-read full-write func gendocs getaddrinfo getlogin getpeername getsockname getsockopt git-version-gen gitlog-to-changelog gnu-web-doc-update gnupload havelib iconv_open-utf inet_ntop inet_pton isfinite isinf isnan ldexp lib-symbol-versions lib-symbol-visibility libunistring listen localcharset locale log1p lstat maintainer-makefile malloc-gnu malloca mkstemp nl_langinfo nproc open pipe-posix pipe2 poll putenv recv recvfrom regex rename select send sendto setenv setsockopt shutdown socket stat-time stdlib strftime striconveh string sys_stat time times trunc verify vsnprintf warnings wchar
25
26 AUTOMAKE_OPTIONS = 1.9.6 gnits subdir-objects
27
28 SUBDIRS =
29 noinst_HEADERS =
30 noinst_LIBRARIES =
31 noinst_LTLIBRARIES =
32 EXTRA_DIST =
33 BUILT_SOURCES =
34 SUFFIXES =
35 MOSTLYCLEANFILES = core *.stackdump
36 MOSTLYCLEANDIRS =
37 CLEANFILES =
38 DISTCLEANFILES =
39 MAINTAINERCLEANFILES =
40
41 AM_CPPFLAGS =
42 AM_CFLAGS =
43
44 noinst_LTLIBRARIES += libgnu.la
45
46 libgnu_la_SOURCES =
47 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
48 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
49 EXTRA_libgnu_la_SOURCES =
50 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
51 libgnu_la_LDFLAGS += -no-undefined
52 libgnu_la_LDFLAGS += $(CEIL_LIBM)
53 libgnu_la_LDFLAGS += $(COPYSIGN_LIBM)
54 libgnu_la_LDFLAGS += $(FLOOR_LIBM)
55 libgnu_la_LDFLAGS += $(FREXP_LIBM)
56 libgnu_la_LDFLAGS += $(GETADDRINFO_LIB)
57 libgnu_la_LDFLAGS += $(HOSTENT_LIB)
58 libgnu_la_LDFLAGS += $(INET_NTOP_LIB)
59 libgnu_la_LDFLAGS += $(INET_PTON_LIB)
60 libgnu_la_LDFLAGS += $(ISNAND_LIBM)
61 libgnu_la_LDFLAGS += $(ISNANF_LIBM)
62 libgnu_la_LDFLAGS += $(ISNANL_LIBM)
63 libgnu_la_LDFLAGS += $(LDEXP_LIBM)
64 libgnu_la_LDFLAGS += $(LIBSOCKET)
65 libgnu_la_LDFLAGS += $(LIB_CLOCK_GETTIME)
66 libgnu_la_LDFLAGS += $(LIB_POLL)
67 libgnu_la_LDFLAGS += $(LIB_SELECT)
68 libgnu_la_LDFLAGS += $(LOG1P_LIBM)
69 libgnu_la_LDFLAGS += $(LOG_LIBM)
70 libgnu_la_LDFLAGS += $(LTLIBICONV)
71 libgnu_la_LDFLAGS += $(LTLIBINTL)
72 libgnu_la_LDFLAGS += $(LTLIBTHREAD)
73 libgnu_la_LDFLAGS += $(LTLIBUNISTRING)
74 libgnu_la_LDFLAGS += $(ROUND_LIBM)
75 libgnu_la_LDFLAGS += $(SERVENT_LIB)
76 libgnu_la_LDFLAGS += $(TRUNC_LIBM)
77
78 ## begin gnulib module absolute-header
79
80 # Use this preprocessor expression to decide whether #include_next works.
81 # Do not rely on a 'configure'-time test for this, since the expression
82 # might appear in an installed header, which is used by some other compiler.
83 HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
84
85 ## end gnulib module absolute-header
86
87 ## begin gnulib module accept
88
89
90 EXTRA_DIST += accept.c w32sock.h
91
92 EXTRA_libgnu_la_SOURCES += accept.c
93
94 ## end gnulib module accept
95
96 ## begin gnulib module alignof
97
98
99 EXTRA_DIST += alignof.h
100
101 ## end gnulib module alignof
102
103 ## begin gnulib module alloca
104
105
106 libgnu_la_LIBADD += @LTALLOCA@
107 libgnu_la_DEPENDENCIES += @LTALLOCA@
108 EXTRA_DIST += alloca.c
109
110 EXTRA_libgnu_la_SOURCES += alloca.c
111
112 ## end gnulib module alloca
113
114 ## begin gnulib module alloca-opt
115
116 BUILT_SOURCES += $(ALLOCA_H)
117
118 # We need the following in order to create <alloca.h> when the system
119 # doesn't have one that works with the given compiler.
120 if GL_GENERATE_ALLOCA_H
121 alloca.h: alloca.in.h $(top_builddir)/config.status
122 $(AM_V_GEN)rm -f $@-t $@ && \
123 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
124 cat $(srcdir)/alloca.in.h; \
125 } > $@-t && \
126 mv -f $@-t $@
127 else
128 alloca.h: $(top_builddir)/config.status
129 rm -f $@
130 endif
131 MOSTLYCLEANFILES += alloca.h alloca.h-t
132
133 EXTRA_DIST += alloca.in.h
134
135 ## end gnulib module alloca-opt
136
137 ## begin gnulib module announce-gen
138
139
140 EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen
141
142 ## end gnulib module announce-gen
143
144 ## begin gnulib module arpa_inet
145
146 BUILT_SOURCES += arpa/inet.h
147
148 # We need the following in order to create <arpa/inet.h> when the system
149 # doesn't have one.
150 arpa/inet.h: arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
151 $(AM_V_at)$(MKDIR_P) arpa
152 $(AM_V_GEN)rm -f $@-t $@ && \
153 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
154 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
155 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
156 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
157 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
158 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
159 -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
160 -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
161 -e 's/@''GNULIB_INET_NTOP''@/$(GNULIB_INET_NTOP)/g' \
162 -e 's/@''GNULIB_INET_PTON''@/$(GNULIB_INET_PTON)/g' \
163 -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
164 -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
165 -e 's|@''REPLACE_INET_NTOP''@|$(REPLACE_INET_NTOP)|g' \
166 -e 's|@''REPLACE_INET_PTON''@|$(REPLACE_INET_PTON)|g' \
167 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
168 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
169 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
170 < $(srcdir)/arpa_inet.in.h; \
171 } > $@-t && \
172 mv $@-t $@
173 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
174 MOSTLYCLEANDIRS += arpa
175
176 EXTRA_DIST += arpa_inet.in.h
177
178 ## end gnulib module arpa_inet
179
180 ## begin gnulib module binary-io
181
182 libgnu_la_SOURCES += binary-io.h binary-io.c
183
184 ## end gnulib module binary-io
185
186 ## begin gnulib module bind
187
188
189 EXTRA_DIST += bind.c w32sock.h
190
191 EXTRA_libgnu_la_SOURCES += bind.c
192
193 ## end gnulib module bind
194
195 ## begin gnulib module btowc
196
197
198 EXTRA_DIST += btowc.c
199
200 EXTRA_libgnu_la_SOURCES += btowc.c
201
202 ## end gnulib module btowc
203
204 ## begin gnulib module byteswap
205
206 BUILT_SOURCES += $(BYTESWAP_H)
207
208 # We need the following in order to create <byteswap.h> when the system
209 # doesn't have one.
210 if GL_GENERATE_BYTESWAP_H
211 byteswap.h: byteswap.in.h $(top_builddir)/config.status
212 $(AM_V_GEN)rm -f $@-t $@ && \
213 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
214 cat $(srcdir)/byteswap.in.h; \
215 } > $@-t && \
216 mv -f $@-t $@
217 else
218 byteswap.h: $(top_builddir)/config.status
219 rm -f $@
220 endif
221 MOSTLYCLEANFILES += byteswap.h byteswap.h-t
222
223 EXTRA_DIST += byteswap.in.h
224
225 ## end gnulib module byteswap
226
227 ## begin gnulib module c-ctype
228
229 libgnu_la_SOURCES += c-ctype.h c-ctype.c
230
231 ## end gnulib module c-ctype
232
233 ## begin gnulib module c-strcase
234
235 libgnu_la_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
236
237 ## end gnulib module c-strcase
238
239 ## begin gnulib module c-strcaseeq
240
241
242 EXTRA_DIST += c-strcaseeq.h
243
244 ## end gnulib module c-strcaseeq
245
246 ## begin gnulib module canonicalize-lgpl
247
248
249 EXTRA_DIST += canonicalize-lgpl.c
250
251 EXTRA_libgnu_la_SOURCES += canonicalize-lgpl.c
252
253 ## end gnulib module canonicalize-lgpl
254
255 ## begin gnulib module ceil
256
257
258 EXTRA_DIST += ceil.c
259
260 EXTRA_libgnu_la_SOURCES += ceil.c
261
262 ## end gnulib module ceil
263
264 ## begin gnulib module close
265
266
267 EXTRA_DIST += close.c
268
269 EXTRA_libgnu_la_SOURCES += close.c
270
271 ## end gnulib module close
272
273 ## begin gnulib module configmake
274
275 # Listed in the same order as the GNU makefile conventions, and
276 # provided by autoconf 2.59c+ or 2.70.
277 # The Automake-defined pkg* macros are appended, in the order
278 # listed in the Automake 1.10a+ documentation.
279 configmake.h: Makefile
280 $(AM_V_GEN)rm -f $@-t && \
281 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
282 echo '#define PREFIX "$(prefix)"'; \
283 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
284 echo '#define BINDIR "$(bindir)"'; \
285 echo '#define SBINDIR "$(sbindir)"'; \
286 echo '#define LIBEXECDIR "$(libexecdir)"'; \
287 echo '#define DATAROOTDIR "$(datarootdir)"'; \
288 echo '#define DATADIR "$(datadir)"'; \
289 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
290 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
291 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
292 echo '#define RUNSTATEDIR "$(runstatedir)"'; \
293 echo '#define INCLUDEDIR "$(includedir)"'; \
294 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
295 echo '#define DOCDIR "$(docdir)"'; \
296 echo '#define INFODIR "$(infodir)"'; \
297 echo '#define HTMLDIR "$(htmldir)"'; \
298 echo '#define DVIDIR "$(dvidir)"'; \
299 echo '#define PDFDIR "$(pdfdir)"'; \
300 echo '#define PSDIR "$(psdir)"'; \
301 echo '#define LIBDIR "$(libdir)"'; \
302 echo '#define LISPDIR "$(lispdir)"'; \
303 echo '#define LOCALEDIR "$(localedir)"'; \
304 echo '#define MANDIR "$(mandir)"'; \
305 echo '#define MANEXT "$(manext)"'; \
306 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
307 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
308 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
309 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
310 } | sed '/""/d' > $@-t && \
311 mv -f $@-t $@
312
313 BUILT_SOURCES += configmake.h
314 CLEANFILES += configmake.h configmake.h-t
315
316 ## end gnulib module configmake
317
318 ## begin gnulib module connect
319
320
321 EXTRA_DIST += connect.c w32sock.h
322
323 EXTRA_libgnu_la_SOURCES += connect.c
324
325 ## end gnulib module connect
326
327 ## begin gnulib module copysign
328
329
330 EXTRA_DIST += copysign.c
331
332 EXTRA_libgnu_la_SOURCES += copysign.c
333
334 ## end gnulib module copysign
335
336 ## begin gnulib module dirent
337
338 BUILT_SOURCES += dirent.h
339
340 # We need the following in order to create <dirent.h> when the system
341 # doesn't have one that works with the given compiler.
342 dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
343 $(AM_V_GEN)rm -f $@-t $@ && \
344 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
345 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
346 -e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \
347 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
348 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
349 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
350 -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
351 -e 's/@''GNULIB_OPENDIR''@/$(GNULIB_OPENDIR)/g' \
352 -e 's/@''GNULIB_READDIR''@/$(GNULIB_READDIR)/g' \
353 -e 's/@''GNULIB_REWINDDIR''@/$(GNULIB_REWINDDIR)/g' \
354 -e 's/@''GNULIB_CLOSEDIR''@/$(GNULIB_CLOSEDIR)/g' \
355 -e 's/@''GNULIB_DIRFD''@/$(GNULIB_DIRFD)/g' \
356 -e 's/@''GNULIB_FDOPENDIR''@/$(GNULIB_FDOPENDIR)/g' \
357 -e 's/@''GNULIB_SCANDIR''@/$(GNULIB_SCANDIR)/g' \
358 -e 's/@''GNULIB_ALPHASORT''@/$(GNULIB_ALPHASORT)/g' \
359 -e 's/@''HAVE_OPENDIR''@/$(HAVE_OPENDIR)/g' \
360 -e 's/@''HAVE_READDIR''@/$(HAVE_READDIR)/g' \
361 -e 's/@''HAVE_REWINDDIR''@/$(HAVE_REWINDDIR)/g' \
362 -e 's/@''HAVE_CLOSEDIR''@/$(HAVE_CLOSEDIR)/g' \
363 -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \
364 -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \
365 -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \
366 -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \
367 -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \
368 -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \
369 -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \
370 -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \
371 -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \
372 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
373 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
374 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
375 < $(srcdir)/dirent.in.h; \
376 } > $@-t && \
377 mv $@-t $@
378 MOSTLYCLEANFILES += dirent.h dirent.h-t
379
380 EXTRA_DIST += dirent.in.h
381
382 ## end gnulib module dirent
383
384 ## begin gnulib module dirfd
385
386
387 EXTRA_DIST += dirfd.c
388
389 EXTRA_libgnu_la_SOURCES += dirfd.c
390
391 ## end gnulib module dirfd
392
393 ## begin gnulib module dirname-lgpl
394
395 libgnu_la_SOURCES += dirname-lgpl.c basename-lgpl.c stripslash.c
396
397 EXTRA_DIST += dirname.h
398
399 ## end gnulib module dirname-lgpl
400
401 ## begin gnulib module dosname
402
403
404 EXTRA_DIST += dosname.h
405
406 ## end gnulib module dosname
407
408 ## begin gnulib module dup2
409
410
411 EXTRA_DIST += dup2.c
412
413 EXTRA_libgnu_la_SOURCES += dup2.c
414
415 ## end gnulib module dup2
416
417 ## begin gnulib module duplocale
418
419
420 EXTRA_DIST += duplocale.c
421
422 EXTRA_libgnu_la_SOURCES += duplocale.c
423
424 ## end gnulib module duplocale
425
426 ## begin gnulib module errno
427
428 BUILT_SOURCES += $(ERRNO_H)
429
430 # We need the following in order to create <errno.h> when the system
431 # doesn't have one that is POSIX compliant.
432 if GL_GENERATE_ERRNO_H
433 errno.h: errno.in.h $(top_builddir)/config.status
434 $(AM_V_GEN)rm -f $@-t $@ && \
435 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
436 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
437 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
438 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
439 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
440 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
441 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
442 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
443 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
444 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
445 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
446 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
447 < $(srcdir)/errno.in.h; \
448 } > $@-t && \
449 mv $@-t $@
450 else
451 errno.h: $(top_builddir)/config.status
452 rm -f $@
453 endif
454 MOSTLYCLEANFILES += errno.h errno.h-t
455
456 EXTRA_DIST += errno.in.h
457
458 ## end gnulib module errno
459
460 ## begin gnulib module fcntl-h
461
462 BUILT_SOURCES += fcntl.h
463
464 # We need the following in order to create <fcntl.h> when the system
465 # doesn't have one that works with the given compiler.
466 fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
467 $(AM_V_GEN)rm -f $@-t $@ && \
468 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
469 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
470 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
471 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
472 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
473 -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
474 -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \
475 -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \
476 -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \
477 -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \
478 -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
479 -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
480 -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
481 -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
482 -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
483 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
484 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
485 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
486 < $(srcdir)/fcntl.in.h; \
487 } > $@-t && \
488 mv $@-t $@
489 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
490
491 EXTRA_DIST += fcntl.in.h
492
493 ## end gnulib module fcntl-h
494
495 ## begin gnulib module fd-hook
496
497 libgnu_la_SOURCES += fd-hook.c
498
499 EXTRA_DIST += fd-hook.h
500
501 ## end gnulib module fd-hook
502
503 ## begin gnulib module float
504
505 BUILT_SOURCES += $(FLOAT_H)
506
507 # We need the following in order to create <float.h> when the system
508 # doesn't have one that works with the given compiler.
509 if GL_GENERATE_FLOAT_H
510 float.h: float.in.h $(top_builddir)/config.status
511 $(AM_V_GEN)rm -f $@-t $@ && \
512 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
513 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
514 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
515 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
516 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
517 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
518 -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
519 < $(srcdir)/float.in.h; \
520 } > $@-t && \
521 mv $@-t $@
522 else
523 float.h: $(top_builddir)/config.status
524 rm -f $@
525 endif
526 MOSTLYCLEANFILES += float.h float.h-t
527
528 EXTRA_DIST += float.c float.in.h itold.c
529
530 EXTRA_libgnu_la_SOURCES += float.c itold.c
531
532 ## end gnulib module float
533
534 ## begin gnulib module flock
535
536
537 EXTRA_DIST += flock.c
538
539 EXTRA_libgnu_la_SOURCES += flock.c
540
541 ## end gnulib module flock
542
543 ## begin gnulib module floor
544
545
546 EXTRA_DIST += floor.c
547
548 EXTRA_libgnu_la_SOURCES += floor.c
549
550 ## end gnulib module floor
551
552 ## begin gnulib module frexp
553
554
555 EXTRA_DIST += frexp.c
556
557 EXTRA_libgnu_la_SOURCES += frexp.c
558
559 ## end gnulib module frexp
560
561 ## begin gnulib module fstat
562
563
564 EXTRA_DIST += fstat.c
565
566 EXTRA_libgnu_la_SOURCES += fstat.c
567
568 ## end gnulib module fstat
569
570 ## begin gnulib module full-read
571
572 libgnu_la_SOURCES += full-read.h full-read.c
573
574 EXTRA_DIST += full-write.c
575
576 EXTRA_libgnu_la_SOURCES += full-write.c
577
578 ## end gnulib module full-read
579
580 ## begin gnulib module full-write
581
582 libgnu_la_SOURCES += full-write.h full-write.c
583
584 ## end gnulib module full-write
585
586 ## begin gnulib module gendocs
587
588
589 EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
590
591 ## end gnulib module gendocs
592
593 ## begin gnulib module getaddrinfo
594
595
596 EXTRA_DIST += gai_strerror.c getaddrinfo.c
597
598 EXTRA_libgnu_la_SOURCES += gai_strerror.c getaddrinfo.c
599
600 ## end gnulib module getaddrinfo
601
602 ## begin gnulib module getlogin
603
604
605 EXTRA_DIST += getlogin.c
606
607 EXTRA_libgnu_la_SOURCES += getlogin.c
608
609 ## end gnulib module getlogin
610
611 ## begin gnulib module getpeername
612
613
614 EXTRA_DIST += getpeername.c w32sock.h
615
616 EXTRA_libgnu_la_SOURCES += getpeername.c
617
618 ## end gnulib module getpeername
619
620 ## begin gnulib module getsockname
621
622
623 EXTRA_DIST += getsockname.c w32sock.h
624
625 EXTRA_libgnu_la_SOURCES += getsockname.c
626
627 ## end gnulib module getsockname
628
629 ## begin gnulib module getsockopt
630
631
632 EXTRA_DIST += getsockopt.c w32sock.h
633
634 EXTRA_libgnu_la_SOURCES += getsockopt.c
635
636 ## end gnulib module getsockopt
637
638 ## begin gnulib module gettext-h
639
640 libgnu_la_SOURCES += gettext.h
641
642 ## end gnulib module gettext-h
643
644 ## begin gnulib module gettimeofday
645
646
647 EXTRA_DIST += gettimeofday.c
648
649 EXTRA_libgnu_la_SOURCES += gettimeofday.c
650
651 ## end gnulib module gettimeofday
652
653 ## begin gnulib module git-version-gen
654
655
656 EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen
657
658 ## end gnulib module git-version-gen
659
660 ## begin gnulib module gitlog-to-changelog
661
662
663 EXTRA_DIST += $(top_srcdir)/build-aux/gitlog-to-changelog
664
665 ## end gnulib module gitlog-to-changelog
666
667 ## begin gnulib module gnu-web-doc-update
668
669
670 EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update
671
672 ## end gnulib module gnu-web-doc-update
673
674 ## begin gnulib module gnumakefile
675
676 distclean-local: clean-GNUmakefile
677 clean-GNUmakefile:
678 test '$(srcdir)' = . || rm -f $(top_builddir)/GNUmakefile
679
680 EXTRA_DIST += $(top_srcdir)/GNUmakefile
681
682 ## end gnulib module gnumakefile
683
684 ## begin gnulib module gnupload
685
686
687 EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
688
689 ## end gnulib module gnupload
690
691 ## begin gnulib module gperf
692
693 GPERF = gperf
694
695 ## end gnulib module gperf
696
697 ## begin gnulib module havelib
698
699
700 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
701
702 ## end gnulib module havelib
703
704 ## begin gnulib module iconv-h
705
706 BUILT_SOURCES += $(ICONV_H)
707
708 # We need the following in order to create <iconv.h> when the system
709 # doesn't have one that works with the given compiler.
710 if GL_GENERATE_ICONV_H
711 iconv.h: iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
712 $(AM_V_GEN)rm -f $@-t $@ && \
713 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
714 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
715 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
716 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
717 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
718 -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
719 -e 's/@''GNULIB_ICONV''@/$(GNULIB_ICONV)/g' \
720 -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
721 -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
722 -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
723 -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
724 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
725 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
726 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
727 < $(srcdir)/iconv.in.h; \
728 } > $@-t && \
729 mv $@-t $@
730 else
731 iconv.h: $(top_builddir)/config.status
732 rm -f $@
733 endif
734 MOSTLYCLEANFILES += iconv.h iconv.h-t
735
736 EXTRA_DIST += iconv.in.h
737
738 ## end gnulib module iconv-h
739
740 ## begin gnulib module iconv_open
741
742 iconv_open-aix.h: iconv_open-aix.gperf
743 $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
744 mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
745 iconv_open-hpux.h: iconv_open-hpux.gperf
746 $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
747 mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
748 iconv_open-irix.h: iconv_open-irix.gperf
749 $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
750 mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
751 iconv_open-osf.h: iconv_open-osf.gperf
752 $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
753 mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
754 iconv_open-solaris.h: iconv_open-solaris.gperf
755 $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
756 mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
757 BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
758 MOSTLYCLEANFILES += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t iconv_open-solaris.h-t
759 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
760 EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
761
762 EXTRA_DIST += iconv.c iconv_close.c iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open-solaris.gperf iconv_open.c
763
764 EXTRA_libgnu_la_SOURCES += iconv.c iconv_close.c iconv_open.c
765
766 ## end gnulib module iconv_open
767
768 ## begin gnulib module inet_ntop
769
770
771 EXTRA_DIST += inet_ntop.c
772
773 EXTRA_libgnu_la_SOURCES += inet_ntop.c
774
775 ## end gnulib module inet_ntop
776
777 ## begin gnulib module inet_pton
778
779
780 EXTRA_DIST += inet_pton.c
781
782 EXTRA_libgnu_la_SOURCES += inet_pton.c
783
784 ## end gnulib module inet_pton
785
786 ## begin gnulib module isfinite
787
788
789 EXTRA_DIST += isfinite.c
790
791 EXTRA_libgnu_la_SOURCES += isfinite.c
792
793 ## end gnulib module isfinite
794
795 ## begin gnulib module isinf
796
797
798 EXTRA_DIST += isinf.c
799
800 EXTRA_libgnu_la_SOURCES += isinf.c
801
802 ## end gnulib module isinf
803
804 ## begin gnulib module isnand
805
806
807 EXTRA_DIST += float+.h isnan.c isnand.c
808
809 EXTRA_libgnu_la_SOURCES += isnan.c isnand.c
810
811 ## end gnulib module isnand
812
813 ## begin gnulib module isnand-nolibm
814
815
816 EXTRA_DIST += float+.h isnan.c isnand-nolibm.h isnand.c
817
818 EXTRA_libgnu_la_SOURCES += isnan.c isnand.c
819
820 ## end gnulib module isnand-nolibm
821
822 ## begin gnulib module isnanf
823
824
825 EXTRA_DIST += float+.h isnan.c isnanf.c
826
827 EXTRA_libgnu_la_SOURCES += isnan.c isnanf.c
828
829 ## end gnulib module isnanf
830
831 ## begin gnulib module isnanf-nolibm
832
833
834 EXTRA_DIST += float+.h isnan.c isnanf-nolibm.h isnanf.c
835
836 EXTRA_libgnu_la_SOURCES += isnan.c isnanf.c
837
838 ## end gnulib module isnanf-nolibm
839
840 ## begin gnulib module isnanl
841
842
843 EXTRA_DIST += float+.h isnan.c isnanl.c
844
845 EXTRA_libgnu_la_SOURCES += isnan.c isnanl.c
846
847 ## end gnulib module isnanl
848
849 ## begin gnulib module isnanl-nolibm
850
851
852 EXTRA_DIST += float+.h isnan.c isnanl-nolibm.h isnanl.c
853
854 EXTRA_libgnu_la_SOURCES += isnan.c isnanl.c
855
856 ## end gnulib module isnanl-nolibm
857
858 ## begin gnulib module langinfo
859
860 BUILT_SOURCES += langinfo.h
861
862 # We need the following in order to create an empty placeholder for
863 # <langinfo.h> when the system doesn't have one.
864 langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
865 $(AM_V_GEN)rm -f $@-t $@ && \
866 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
867 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
868 -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
869 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
870 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
871 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
872 -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
873 -e 's/@''GNULIB_NL_LANGINFO''@/$(GNULIB_NL_LANGINFO)/g' \
874 -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
875 -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \
876 -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
877 -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \
878 -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
879 -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
880 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
881 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
882 < $(srcdir)/langinfo.in.h; \
883 } > $@-t && \
884 mv $@-t $@
885 MOSTLYCLEANFILES += langinfo.h langinfo.h-t
886
887 EXTRA_DIST += langinfo.in.h
888
889 ## end gnulib module langinfo
890
891 ## begin gnulib module lib-symbol-visibility
892
893 # The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the
894 # compilation of all sources that make up the library. This line here does it
895 # only for the gnulib part of it. The developer is responsible for adding
896 # $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library.
897 AM_CFLAGS += $(CFLAG_VISIBILITY)
898
899 ## end gnulib module lib-symbol-visibility
900
901 ## begin gnulib module libunistring
902
903
904 EXTRA_DIST += libunistring.valgrind
905
906 ## end gnulib module libunistring
907
908 ## begin gnulib module listen
909
910
911 EXTRA_DIST += listen.c w32sock.h
912
913 EXTRA_libgnu_la_SOURCES += listen.c
914
915 ## end gnulib module listen
916
917 ## begin gnulib module localcharset
918
919 libgnu_la_SOURCES += localcharset.h localcharset.c
920
921 # We need the following in order to install a simple file in $(libdir)
922 # which is shared with other installed packages. We use a list of referencing
923 # packages so that "make uninstall" will remove the file if and only if it
924 # is not used by another installed package.
925 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
926 # avoid installing it.
927
928 all-local: charset.alias ref-add.sed ref-del.sed
929
930 charset_alias = $(DESTDIR)$(libdir)/charset.alias
931 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
932 install-exec-local: install-exec-localcharset
933 install-exec-localcharset: all-local
934 if test $(GLIBC21) = no; then \
935 case '$(host_os)' in \
936 darwin[56]*) \
937 need_charset_alias=true ;; \
938 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
939 need_charset_alias=false ;; \
940 *) \
941 need_charset_alias=true ;; \
942 esac ; \
943 else \
944 need_charset_alias=false ; \
945 fi ; \
946 if $$need_charset_alias; then \
947 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
948 fi ; \
949 if test -f $(charset_alias); then \
950 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
951 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
952 rm -f $(charset_tmp) ; \
953 else \
954 if $$need_charset_alias; then \
955 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
956 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
957 rm -f $(charset_tmp) ; \
958 fi ; \
959 fi
960
961 uninstall-local: uninstall-localcharset
962 uninstall-localcharset: all-local
963 if test -f $(charset_alias); then \
964 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
965 if grep '^# Packages using this file: $$' $(charset_tmp) \
966 > /dev/null; then \
967 rm -f $(charset_alias); \
968 else \
969 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
970 fi; \
971 rm -f $(charset_tmp); \
972 fi
973
974 charset.alias: config.charset
975 $(AM_V_GEN)rm -f t-$@ $@ && \
976 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
977 mv t-$@ $@
978
979 SUFFIXES += .sed .sin
980 .sin.sed:
981 $(AM_V_GEN)rm -f t-$@ $@ && \
982 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
983 mv t-$@ $@
984
985 CLEANFILES += charset.alias ref-add.sed ref-del.sed
986
987 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
988
989 ## end gnulib module localcharset
990
991 ## begin gnulib module locale
992
993 BUILT_SOURCES += locale.h
994
995 # We need the following in order to create <locale.h> when the system
996 # doesn't have one that provides all definitions.
997 locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
998 $(AM_V_GEN)rm -f $@-t $@ && \
999 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1000 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1001 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1002 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1003 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1004 -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
1005 -e 's/@''GNULIB_LOCALECONV''@/$(GNULIB_LOCALECONV)/g' \
1006 -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \
1007 -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \
1008 -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
1009 -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
1010 -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \
1011 -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
1012 -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
1013 -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \
1014 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1015 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1016 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1017 < $(srcdir)/locale.in.h; \
1018 } > $@-t && \
1019 mv $@-t $@
1020 MOSTLYCLEANFILES += locale.h locale.h-t
1021
1022 EXTRA_DIST += locale.in.h
1023
1024 ## end gnulib module locale
1025
1026 ## begin gnulib module localeconv
1027
1028
1029 EXTRA_DIST += localeconv.c
1030
1031 EXTRA_libgnu_la_SOURCES += localeconv.c
1032
1033 ## end gnulib module localeconv
1034
1035 ## begin gnulib module lock
1036
1037 libgnu_la_SOURCES += glthread/lock.h glthread/lock.c
1038
1039 ## end gnulib module lock
1040
1041 ## begin gnulib module log
1042
1043
1044 EXTRA_DIST += log.c
1045
1046 EXTRA_libgnu_la_SOURCES += log.c
1047
1048 ## end gnulib module log
1049
1050 ## begin gnulib module log1p
1051
1052
1053 EXTRA_DIST += log1p.c
1054
1055 EXTRA_libgnu_la_SOURCES += log1p.c
1056
1057 ## end gnulib module log1p
1058
1059 ## begin gnulib module lstat
1060
1061
1062 EXTRA_DIST += lstat.c
1063
1064 EXTRA_libgnu_la_SOURCES += lstat.c
1065
1066 ## end gnulib module lstat
1067
1068 ## begin gnulib module maintainer-makefile
1069
1070 EXTRA_DIST += $(top_srcdir)/maint.mk
1071
1072 ## end gnulib module maintainer-makefile
1073
1074 ## begin gnulib module malloc-gnu
1075
1076
1077 EXTRA_DIST += malloc.c
1078
1079 EXTRA_libgnu_la_SOURCES += malloc.c
1080
1081 ## end gnulib module malloc-gnu
1082
1083 ## begin gnulib module malloc-posix
1084
1085
1086 EXTRA_DIST += malloc.c
1087
1088 EXTRA_libgnu_la_SOURCES += malloc.c
1089
1090 ## end gnulib module malloc-posix
1091
1092 ## begin gnulib module malloca
1093
1094 libgnu_la_SOURCES += malloca.c
1095
1096 EXTRA_DIST += malloca.h malloca.valgrind
1097
1098 ## end gnulib module malloca
1099
1100 ## begin gnulib module math
1101
1102 BUILT_SOURCES += math.h
1103 libgnu_la_SOURCES += math.c
1104
1105 # We need the following in order to create <math.h> when the system
1106 # doesn't have one that works with the given compiler.
1107 math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1108 $(AM_V_GEN)rm -f $@-t $@ && \
1109 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1110 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1111 -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
1112 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1113 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1114 -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \
1115 -e 's/@''GNULIB_ACOSF''@/$(GNULIB_ACOSF)/g' \
1116 -e 's/@''GNULIB_ACOSL''@/$(GNULIB_ACOSL)/g' \
1117 -e 's/@''GNULIB_ASINF''@/$(GNULIB_ASINF)/g' \
1118 -e 's/@''GNULIB_ASINL''@/$(GNULIB_ASINL)/g' \
1119 -e 's/@''GNULIB_ATANF''@/$(GNULIB_ATANF)/g' \
1120 -e 's/@''GNULIB_ATANL''@/$(GNULIB_ATANL)/g' \
1121 -e 's/@''GNULIB_ATAN2F''@/$(GNULIB_ATAN2F)/g' \
1122 -e 's/@''GNULIB_CBRT''@/$(GNULIB_CBRT)/g' \
1123 -e 's/@''GNULIB_CBRTF''@/$(GNULIB_CBRTF)/g' \
1124 -e 's/@''GNULIB_CBRTL''@/$(GNULIB_CBRTL)/g' \
1125 -e 's/@''GNULIB_CEIL''@/$(GNULIB_CEIL)/g' \
1126 -e 's/@''GNULIB_CEILF''@/$(GNULIB_CEILF)/g' \
1127 -e 's/@''GNULIB_CEILL''@/$(GNULIB_CEILL)/g' \
1128 -e 's/@''GNULIB_COPYSIGN''@/$(GNULIB_COPYSIGN)/g' \
1129 -e 's/@''GNULIB_COPYSIGNF''@/$(GNULIB_COPYSIGNF)/g' \
1130 -e 's/@''GNULIB_COPYSIGNL''@/$(GNULIB_COPYSIGNL)/g' \
1131 -e 's/@''GNULIB_COSF''@/$(GNULIB_COSF)/g' \
1132 -e 's/@''GNULIB_COSL''@/$(GNULIB_COSL)/g' \
1133 -e 's/@''GNULIB_COSHF''@/$(GNULIB_COSHF)/g' \
1134 -e 's/@''GNULIB_EXPF''@/$(GNULIB_EXPF)/g' \
1135 -e 's/@''GNULIB_EXPL''@/$(GNULIB_EXPL)/g' \
1136 -e 's/@''GNULIB_EXP2''@/$(GNULIB_EXP2)/g' \
1137 -e 's/@''GNULIB_EXP2F''@/$(GNULIB_EXP2F)/g' \
1138 -e 's/@''GNULIB_EXP2L''@/$(GNULIB_EXP2L)/g' \
1139 -e 's/@''GNULIB_EXPM1''@/$(GNULIB_EXPM1)/g' \
1140 -e 's/@''GNULIB_EXPM1F''@/$(GNULIB_EXPM1F)/g' \
1141 -e 's/@''GNULIB_EXPM1L''@/$(GNULIB_EXPM1L)/g' \
1142 -e 's/@''GNULIB_FABSF''@/$(GNULIB_FABSF)/g' \
1143 -e 's/@''GNULIB_FABSL''@/$(GNULIB_FABSL)/g' \
1144 -e 's/@''GNULIB_FLOOR''@/$(GNULIB_FLOOR)/g' \
1145 -e 's/@''GNULIB_FLOORF''@/$(GNULIB_FLOORF)/g' \
1146 -e 's/@''GNULIB_FLOORL''@/$(GNULIB_FLOORL)/g' \
1147 -e 's/@''GNULIB_FMA''@/$(GNULIB_FMA)/g' \
1148 -e 's/@''GNULIB_FMAF''@/$(GNULIB_FMAF)/g' \
1149 -e 's/@''GNULIB_FMAL''@/$(GNULIB_FMAL)/g' \
1150 -e 's/@''GNULIB_FMOD''@/$(GNULIB_FMOD)/g' \
1151 -e 's/@''GNULIB_FMODF''@/$(GNULIB_FMODF)/g' \
1152 -e 's/@''GNULIB_FMODL''@/$(GNULIB_FMODL)/g' \
1153 -e 's/@''GNULIB_FREXPF''@/$(GNULIB_FREXPF)/g' \
1154 -e 's/@''GNULIB_FREXP''@/$(GNULIB_FREXP)/g' \
1155 -e 's/@''GNULIB_FREXPL''@/$(GNULIB_FREXPL)/g' \
1156 -e 's/@''GNULIB_HYPOT''@/$(GNULIB_HYPOT)/g' \
1157 -e 's/@''GNULIB_HYPOTF''@/$(GNULIB_HYPOTF)/g' \
1158 -e 's/@''GNULIB_HYPOTL''@/$(GNULIB_HYPOTL)/g' \
1159 < $(srcdir)/math.in.h | \
1160 sed -e 's/@''GNULIB_ILOGB''@/$(GNULIB_ILOGB)/g' \
1161 -e 's/@''GNULIB_ILOGBF''@/$(GNULIB_ILOGBF)/g' \
1162 -e 's/@''GNULIB_ILOGBL''@/$(GNULIB_ILOGBL)/g' \
1163 -e 's/@''GNULIB_ISFINITE''@/$(GNULIB_ISFINITE)/g' \
1164 -e 's/@''GNULIB_ISINF''@/$(GNULIB_ISINF)/g' \
1165 -e 's/@''GNULIB_ISNAN''@/$(GNULIB_ISNAN)/g' \
1166 -e 's/@''GNULIB_ISNANF''@/$(GNULIB_ISNANF)/g' \
1167 -e 's/@''GNULIB_ISNAND''@/$(GNULIB_ISNAND)/g' \
1168 -e 's/@''GNULIB_ISNANL''@/$(GNULIB_ISNANL)/g' \
1169 -e 's/@''GNULIB_LDEXPF''@/$(GNULIB_LDEXPF)/g' \
1170 -e 's/@''GNULIB_LDEXPL''@/$(GNULIB_LDEXPL)/g' \
1171 -e 's/@''GNULIB_LOG''@/$(GNULIB_LOG)/g' \
1172 -e 's/@''GNULIB_LOGF''@/$(GNULIB_LOGF)/g' \
1173 -e 's/@''GNULIB_LOGL''@/$(GNULIB_LOGL)/g' \
1174 -e 's/@''GNULIB_LOG10''@/$(GNULIB_LOG10)/g' \
1175 -e 's/@''GNULIB_LOG10F''@/$(GNULIB_LOG10F)/g' \
1176 -e 's/@''GNULIB_LOG10L''@/$(GNULIB_LOG10L)/g' \
1177 -e 's/@''GNULIB_LOG1P''@/$(GNULIB_LOG1P)/g' \
1178 -e 's/@''GNULIB_LOG1PF''@/$(GNULIB_LOG1PF)/g' \
1179 -e 's/@''GNULIB_LOG1PL''@/$(GNULIB_LOG1PL)/g' \
1180 -e 's/@''GNULIB_LOG2''@/$(GNULIB_LOG2)/g' \
1181 -e 's/@''GNULIB_LOG2F''@/$(GNULIB_LOG2F)/g' \
1182 -e 's/@''GNULIB_LOG2L''@/$(GNULIB_LOG2L)/g' \
1183 -e 's/@''GNULIB_LOGB''@/$(GNULIB_LOGB)/g' \
1184 -e 's/@''GNULIB_LOGBF''@/$(GNULIB_LOGBF)/g' \
1185 -e 's/@''GNULIB_LOGBL''@/$(GNULIB_LOGBL)/g' \
1186 -e 's/@''GNULIB_MODF''@/$(GNULIB_MODF)/g' \
1187 -e 's/@''GNULIB_MODFF''@/$(GNULIB_MODFF)/g' \
1188 -e 's/@''GNULIB_MODFL''@/$(GNULIB_MODFL)/g' \
1189 -e 's/@''GNULIB_POWF''@/$(GNULIB_POWF)/g' \
1190 -e 's/@''GNULIB_REMAINDER''@/$(GNULIB_REMAINDER)/g' \
1191 -e 's/@''GNULIB_REMAINDERF''@/$(GNULIB_REMAINDERF)/g' \
1192 -e 's/@''GNULIB_REMAINDERL''@/$(GNULIB_REMAINDERL)/g' \
1193 -e 's/@''GNULIB_RINT''@/$(GNULIB_RINT)/g' \
1194 -e 's/@''GNULIB_RINTF''@/$(GNULIB_RINTF)/g' \
1195 -e 's/@''GNULIB_RINTL''@/$(GNULIB_RINTL)/g' \
1196 -e 's/@''GNULIB_ROUND''@/$(GNULIB_ROUND)/g' \
1197 -e 's/@''GNULIB_ROUNDF''@/$(GNULIB_ROUNDF)/g' \
1198 -e 's/@''GNULIB_ROUNDL''@/$(GNULIB_ROUNDL)/g' \
1199 -e 's/@''GNULIB_SIGNBIT''@/$(GNULIB_SIGNBIT)/g' \
1200 -e 's/@''GNULIB_SINF''@/$(GNULIB_SINF)/g' \
1201 -e 's/@''GNULIB_SINL''@/$(GNULIB_SINL)/g' \
1202 -e 's/@''GNULIB_SINHF''@/$(GNULIB_SINHF)/g' \
1203 -e 's/@''GNULIB_SQRTF''@/$(GNULIB_SQRTF)/g' \
1204 -e 's/@''GNULIB_SQRTL''@/$(GNULIB_SQRTL)/g' \
1205 -e 's/@''GNULIB_TANF''@/$(GNULIB_TANF)/g' \
1206 -e 's/@''GNULIB_TANL''@/$(GNULIB_TANL)/g' \
1207 -e 's/@''GNULIB_TANHF''@/$(GNULIB_TANHF)/g' \
1208 -e 's/@''GNULIB_TRUNC''@/$(GNULIB_TRUNC)/g' \
1209 -e 's/@''GNULIB_TRUNCF''@/$(GNULIB_TRUNCF)/g' \
1210 -e 's/@''GNULIB_TRUNCL''@/$(GNULIB_TRUNCL)/g' \
1211 | \
1212 sed -e 's|@''HAVE_ACOSF''@|$(HAVE_ACOSF)|g' \
1213 -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \
1214 -e 's|@''HAVE_ASINF''@|$(HAVE_ASINF)|g' \
1215 -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \
1216 -e 's|@''HAVE_ATANF''@|$(HAVE_ATANF)|g' \
1217 -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \
1218 -e 's|@''HAVE_ATAN2F''@|$(HAVE_ATAN2F)|g' \
1219 -e 's|@''HAVE_CBRT''@|$(HAVE_CBRT)|g' \
1220 -e 's|@''HAVE_CBRTF''@|$(HAVE_CBRTF)|g' \
1221 -e 's|@''HAVE_CBRTL''@|$(HAVE_CBRTL)|g' \
1222 -e 's|@''HAVE_COPYSIGN''@|$(HAVE_COPYSIGN)|g' \
1223 -e 's|@''HAVE_COPYSIGNL''@|$(HAVE_COPYSIGNL)|g' \
1224 -e 's|@''HAVE_COSF''@|$(HAVE_COSF)|g' \
1225 -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \
1226 -e 's|@''HAVE_COSHF''@|$(HAVE_COSHF)|g' \
1227 -e 's|@''HAVE_EXPF''@|$(HAVE_EXPF)|g' \
1228 -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \
1229 -e 's|@''HAVE_EXPM1''@|$(HAVE_EXPM1)|g' \
1230 -e 's|@''HAVE_EXPM1F''@|$(HAVE_EXPM1F)|g' \
1231 -e 's|@''HAVE_FABSF''@|$(HAVE_FABSF)|g' \
1232 -e 's|@''HAVE_FABSL''@|$(HAVE_FABSL)|g' \
1233 -e 's|@''HAVE_FMA''@|$(HAVE_FMA)|g' \
1234 -e 's|@''HAVE_FMAF''@|$(HAVE_FMAF)|g' \
1235 -e 's|@''HAVE_FMAL''@|$(HAVE_FMAL)|g' \
1236 -e 's|@''HAVE_FMODF''@|$(HAVE_FMODF)|g' \
1237 -e 's|@''HAVE_FMODL''@|$(HAVE_FMODL)|g' \
1238 -e 's|@''HAVE_FREXPF''@|$(HAVE_FREXPF)|g' \
1239 -e 's|@''HAVE_HYPOTF''@|$(HAVE_HYPOTF)|g' \
1240 -e 's|@''HAVE_HYPOTL''@|$(HAVE_HYPOTL)|g' \
1241 -e 's|@''HAVE_ILOGB''@|$(HAVE_ILOGB)|g' \
1242 -e 's|@''HAVE_ILOGBF''@|$(HAVE_ILOGBF)|g' \
1243 -e 's|@''HAVE_ILOGBL''@|$(HAVE_ILOGBL)|g' \
1244 -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
1245 -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
1246 -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
1247 -e 's|@''HAVE_LDEXPF''@|$(HAVE_LDEXPF)|g' \
1248 -e 's|@''HAVE_LOGF''@|$(HAVE_LOGF)|g' \
1249 -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \
1250 -e 's|@''HAVE_LOG10F''@|$(HAVE_LOG10F)|g' \
1251 -e 's|@''HAVE_LOG10L''@|$(HAVE_LOG10L)|g' \
1252 -e 's|@''HAVE_LOG1P''@|$(HAVE_LOG1P)|g' \
1253 -e 's|@''HAVE_LOG1PF''@|$(HAVE_LOG1PF)|g' \
1254 -e 's|@''HAVE_LOG1PL''@|$(HAVE_LOG1PL)|g' \
1255 -e 's|@''HAVE_LOGBF''@|$(HAVE_LOGBF)|g' \
1256 -e 's|@''HAVE_LOGBL''@|$(HAVE_LOGBL)|g' \
1257 -e 's|@''HAVE_MODFF''@|$(HAVE_MODFF)|g' \
1258 -e 's|@''HAVE_MODFL''@|$(HAVE_MODFL)|g' \
1259 -e 's|@''HAVE_POWF''@|$(HAVE_POWF)|g' \
1260 -e 's|@''HAVE_REMAINDER''@|$(HAVE_REMAINDER)|g' \
1261 -e 's|@''HAVE_REMAINDERF''@|$(HAVE_REMAINDERF)|g' \
1262 -e 's|@''HAVE_RINT''@|$(HAVE_RINT)|g' \
1263 -e 's|@''HAVE_RINTL''@|$(HAVE_RINTL)|g' \
1264 -e 's|@''HAVE_SINF''@|$(HAVE_SINF)|g' \
1265 -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \
1266 -e 's|@''HAVE_SINHF''@|$(HAVE_SINHF)|g' \
1267 -e 's|@''HAVE_SQRTF''@|$(HAVE_SQRTF)|g' \
1268 -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \
1269 -e 's|@''HAVE_TANF''@|$(HAVE_TANF)|g' \
1270 -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \
1271 -e 's|@''HAVE_TANHF''@|$(HAVE_TANHF)|g' \
1272 -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
1273 -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
1274 -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
1275 -e 's|@''HAVE_DECL_CBRTF''@|$(HAVE_DECL_CBRTF)|g' \
1276 -e 's|@''HAVE_DECL_CBRTL''@|$(HAVE_DECL_CBRTL)|g' \
1277 -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \
1278 -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \
1279 -e 's|@''HAVE_DECL_COPYSIGNF''@|$(HAVE_DECL_COPYSIGNF)|g' \
1280 -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
1281 -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
1282 -e 's|@''HAVE_DECL_EXP2''@|$(HAVE_DECL_EXP2)|g' \
1283 -e 's|@''HAVE_DECL_EXP2F''@|$(HAVE_DECL_EXP2F)|g' \
1284 -e 's|@''HAVE_DECL_EXP2L''@|$(HAVE_DECL_EXP2L)|g' \
1285 -e 's|@''HAVE_DECL_EXPM1L''@|$(HAVE_DECL_EXPM1L)|g' \
1286 -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \
1287 -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \
1288 -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
1289 -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
1290 -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
1291 -e 's|@''HAVE_DECL_LOG10L''@|$(HAVE_DECL_LOG10L)|g' \
1292 -e 's|@''HAVE_DECL_LOG2''@|$(HAVE_DECL_LOG2)|g' \
1293 -e 's|@''HAVE_DECL_LOG2F''@|$(HAVE_DECL_LOG2F)|g' \
1294 -e 's|@''HAVE_DECL_LOG2L''@|$(HAVE_DECL_LOG2L)|g' \
1295 -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \
1296 -e 's|@''HAVE_DECL_REMAINDER''@|$(HAVE_DECL_REMAINDER)|g' \
1297 -e 's|@''HAVE_DECL_REMAINDERL''@|$(HAVE_DECL_REMAINDERL)|g' \
1298 -e 's|@''HAVE_DECL_RINTF''@|$(HAVE_DECL_RINTF)|g' \
1299 -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \
1300 -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \
1301 -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \
1302 -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
1303 -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
1304 -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
1305 -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
1306 -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
1307 -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
1308 | \
1309 sed -e 's|@''REPLACE_CBRTF''@|$(REPLACE_CBRTF)|g' \
1310 -e 's|@''REPLACE_CBRTL''@|$(REPLACE_CBRTL)|g' \
1311 -e 's|@''REPLACE_CEIL''@|$(REPLACE_CEIL)|g' \
1312 -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
1313 -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
1314 -e 's|@''REPLACE_EXPM1''@|$(REPLACE_EXPM1)|g' \
1315 -e 's|@''REPLACE_EXPM1F''@|$(REPLACE_EXPM1F)|g' \
1316 -e 's|@''REPLACE_EXP2''@|$(REPLACE_EXP2)|g' \
1317 -e 's|@''REPLACE_EXP2L''@|$(REPLACE_EXP2L)|g' \
1318 -e 's|@''REPLACE_FABSL''@|$(REPLACE_FABSL)|g' \
1319 -e 's|@''REPLACE_FLOOR''@|$(REPLACE_FLOOR)|g' \
1320 -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
1321 -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
1322 -e 's|@''REPLACE_FMA''@|$(REPLACE_FMA)|g' \
1323 -e 's|@''REPLACE_FMAF''@|$(REPLACE_FMAF)|g' \
1324 -e 's|@''REPLACE_FMAL''@|$(REPLACE_FMAL)|g' \
1325 -e 's|@''REPLACE_FMOD''@|$(REPLACE_FMOD)|g' \
1326 -e 's|@''REPLACE_FMODF''@|$(REPLACE_FMODF)|g' \
1327 -e 's|@''REPLACE_FMODL''@|$(REPLACE_FMODL)|g' \
1328 -e 's|@''REPLACE_FREXPF''@|$(REPLACE_FREXPF)|g' \
1329 -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
1330 -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
1331 -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
1332 -e 's|@''REPLACE_HYPOT''@|$(REPLACE_HYPOT)|g' \
1333 -e 's|@''REPLACE_HYPOTF''@|$(REPLACE_HYPOTF)|g' \
1334 -e 's|@''REPLACE_HYPOTL''@|$(REPLACE_HYPOTL)|g' \
1335 -e 's|@''REPLACE_ILOGB''@|$(REPLACE_ILOGB)|g' \
1336 -e 's|@''REPLACE_ILOGBF''@|$(REPLACE_ILOGBF)|g' \
1337 -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
1338 -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
1339 -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
1340 -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
1341 -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
1342 -e 's|@''REPLACE_LOG''@|$(REPLACE_LOG)|g' \
1343 -e 's|@''REPLACE_LOGF''@|$(REPLACE_LOGF)|g' \
1344 -e 's|@''REPLACE_LOGL''@|$(REPLACE_LOGL)|g' \
1345 -e 's|@''REPLACE_LOG10''@|$(REPLACE_LOG10)|g' \
1346 -e 's|@''REPLACE_LOG10F''@|$(REPLACE_LOG10F)|g' \
1347 -e 's|@''REPLACE_LOG10L''@|$(REPLACE_LOG10L)|g' \
1348 -e 's|@''REPLACE_LOG1P''@|$(REPLACE_LOG1P)|g' \
1349 -e 's|@''REPLACE_LOG1PF''@|$(REPLACE_LOG1PF)|g' \
1350 -e 's|@''REPLACE_LOG1PL''@|$(REPLACE_LOG1PL)|g' \
1351 -e 's|@''REPLACE_LOG2''@|$(REPLACE_LOG2)|g' \
1352 -e 's|@''REPLACE_LOG2F''@|$(REPLACE_LOG2F)|g' \
1353 -e 's|@''REPLACE_LOG2L''@|$(REPLACE_LOG2L)|g' \
1354 -e 's|@''REPLACE_LOGB''@|$(REPLACE_LOGB)|g' \
1355 -e 's|@''REPLACE_LOGBF''@|$(REPLACE_LOGBF)|g' \
1356 -e 's|@''REPLACE_LOGBL''@|$(REPLACE_LOGBL)|g' \
1357 -e 's|@''REPLACE_MODF''@|$(REPLACE_MODF)|g' \
1358 -e 's|@''REPLACE_MODFF''@|$(REPLACE_MODFF)|g' \
1359 -e 's|@''REPLACE_MODFL''@|$(REPLACE_MODFL)|g' \
1360 -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
1361 -e 's|@''REPLACE_REMAINDER''@|$(REPLACE_REMAINDER)|g' \
1362 -e 's|@''REPLACE_REMAINDERF''@|$(REPLACE_REMAINDERF)|g' \
1363 -e 's|@''REPLACE_REMAINDERL''@|$(REPLACE_REMAINDERL)|g' \
1364 -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
1365 -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
1366 -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
1367 -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
1368 -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
1369 -e 's|@''REPLACE_SQRTL''@|$(REPLACE_SQRTL)|g' \
1370 -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \
1371 -e 's|@''REPLACE_TRUNCF''@|$(REPLACE_TRUNCF)|g' \
1372 -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
1373 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1374 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1375 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1376 } > $@-t && \
1377 mv $@-t $@
1378 MOSTLYCLEANFILES += math.h math.h-t
1379
1380 EXTRA_DIST += math.in.h
1381
1382 ## end gnulib module math
1383
1384 ## begin gnulib module mbrtowc
1385
1386
1387 EXTRA_DIST += mbrtowc.c
1388
1389 EXTRA_libgnu_la_SOURCES += mbrtowc.c
1390
1391 ## end gnulib module mbrtowc
1392
1393 ## begin gnulib module mbsinit
1394
1395
1396 EXTRA_DIST += mbsinit.c
1397
1398 EXTRA_libgnu_la_SOURCES += mbsinit.c
1399
1400 ## end gnulib module mbsinit
1401
1402 ## begin gnulib module mbtowc
1403
1404
1405 EXTRA_DIST += mbtowc-impl.h mbtowc.c
1406
1407 EXTRA_libgnu_la_SOURCES += mbtowc.c
1408
1409 ## end gnulib module mbtowc
1410
1411 ## begin gnulib module memchr
1412
1413
1414 EXTRA_DIST += memchr.c memchr.valgrind
1415
1416 EXTRA_libgnu_la_SOURCES += memchr.c
1417
1418 ## end gnulib module memchr
1419
1420 ## begin gnulib module mkstemp
1421
1422
1423 EXTRA_DIST += mkstemp.c
1424
1425 EXTRA_libgnu_la_SOURCES += mkstemp.c
1426
1427 ## end gnulib module mkstemp
1428
1429 ## begin gnulib module msvc-inval
1430
1431
1432 EXTRA_DIST += msvc-inval.c msvc-inval.h
1433
1434 EXTRA_libgnu_la_SOURCES += msvc-inval.c
1435
1436 ## end gnulib module msvc-inval
1437
1438 ## begin gnulib module msvc-nothrow
1439
1440
1441 EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h
1442
1443 EXTRA_libgnu_la_SOURCES += msvc-nothrow.c
1444
1445 ## end gnulib module msvc-nothrow
1446
1447 ## begin gnulib module netdb
1448
1449 BUILT_SOURCES += netdb.h
1450
1451 # We need the following in order to create <netdb.h> when the system
1452 # doesn't have one that works with the given compiler.
1453 netdb.h: netdb.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1454 $(AM_V_GEN)rm -f $@-t $@ && \
1455 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1456 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1457 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1458 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1459 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1460 -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
1461 -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
1462 -e 's/@''GNULIB_GETADDRINFO''@/$(GNULIB_GETADDRINFO)/g' \
1463 -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
1464 -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
1465 -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
1466 -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
1467 -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
1468 -e 's|@''REPLACE_GAI_STRERROR''@|$(REPLACE_GAI_STRERROR)|g' \
1469 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1470 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1471 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1472 < $(srcdir)/netdb.in.h; \
1473 } > $@-t && \
1474 mv $@-t $@
1475 MOSTLYCLEANFILES += netdb.h netdb.h-t
1476
1477 EXTRA_DIST += netdb.in.h
1478
1479 ## end gnulib module netdb
1480
1481 ## begin gnulib module netinet_in
1482
1483 BUILT_SOURCES += $(NETINET_IN_H)
1484
1485 # We need the following in order to create <netinet/in.h> when the system
1486 # doesn't have one.
1487 if GL_GENERATE_NETINET_IN_H
1488 netinet/in.h: netinet_in.in.h $(top_builddir)/config.status
1489 $(AM_V_at)$(MKDIR_P) netinet
1490 $(AM_V_GEN)rm -f $@-t $@ && \
1491 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1492 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1493 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1494 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1495 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1496 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
1497 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
1498 < $(srcdir)/netinet_in.in.h; \
1499 } > $@-t && \
1500 mv $@-t $@
1501 else
1502 netinet/in.h: $(top_builddir)/config.status
1503 rm -f $@
1504 endif
1505 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
1506 MOSTLYCLEANDIRS += netinet
1507
1508 EXTRA_DIST += netinet_in.in.h
1509
1510 ## end gnulib module netinet_in
1511
1512 ## begin gnulib module nl_langinfo
1513
1514
1515 EXTRA_DIST += nl_langinfo.c
1516
1517 EXTRA_libgnu_la_SOURCES += nl_langinfo.c
1518
1519 ## end gnulib module nl_langinfo
1520
1521 ## begin gnulib module nproc
1522
1523 libgnu_la_SOURCES += nproc.c
1524
1525 EXTRA_DIST += nproc.h
1526
1527 ## end gnulib module nproc
1528
1529 ## begin gnulib module open
1530
1531
1532 EXTRA_DIST += open.c
1533
1534 EXTRA_libgnu_la_SOURCES += open.c
1535
1536 ## end gnulib module open
1537
1538 ## begin gnulib module pathmax
1539
1540
1541 EXTRA_DIST += pathmax.h
1542
1543 ## end gnulib module pathmax
1544
1545 ## begin gnulib module pipe-posix
1546
1547
1548 EXTRA_DIST += pipe.c
1549
1550 EXTRA_libgnu_la_SOURCES += pipe.c
1551
1552 ## end gnulib module pipe-posix
1553
1554 ## begin gnulib module pipe2
1555
1556 libgnu_la_SOURCES += pipe2.c
1557
1558 ## end gnulib module pipe2
1559
1560 ## begin gnulib module poll
1561
1562
1563 EXTRA_DIST += poll.c
1564
1565 EXTRA_libgnu_la_SOURCES += poll.c
1566
1567 ## end gnulib module poll
1568
1569 ## begin gnulib module poll-h
1570
1571 BUILT_SOURCES += poll.h
1572
1573 # We need the following in order to create <poll.h> when the system
1574 # doesn't have one.
1575 poll.h: poll.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
1576 $(AM_V_GEN)rm -f $@-t $@ && \
1577 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1578 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1579 -e 's|@''HAVE_POLL_H''@|$(HAVE_POLL_H)|g' \
1580 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1581 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1582 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1583 -e 's|@''NEXT_POLL_H''@|$(NEXT_POLL_H)|g' \
1584 -e 's/@''GNULIB_POLL''@/$(GNULIB_POLL)/g' \
1585 -e 's|@''HAVE_POLL''@|$(HAVE_POLL)|g' \
1586 -e 's|@''REPLACE_POLL''@|$(REPLACE_POLL)|g' \
1587 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1588 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1589 < $(srcdir)/poll.in.h; \
1590 } > $@-t && \
1591 mv -f $@-t $@
1592 MOSTLYCLEANFILES += poll.h poll.h-t
1593
1594 EXTRA_DIST += poll.in.h
1595
1596 ## end gnulib module poll-h
1597
1598 ## begin gnulib module putenv
1599
1600
1601 EXTRA_DIST += putenv.c
1602
1603 EXTRA_libgnu_la_SOURCES += putenv.c
1604
1605 ## end gnulib module putenv
1606
1607 ## begin gnulib module raise
1608
1609
1610 EXTRA_DIST += raise.c
1611
1612 EXTRA_libgnu_la_SOURCES += raise.c
1613
1614 ## end gnulib module raise
1615
1616 ## begin gnulib module read
1617
1618
1619 EXTRA_DIST += read.c
1620
1621 EXTRA_libgnu_la_SOURCES += read.c
1622
1623 ## end gnulib module read
1624
1625 ## begin gnulib module readlink
1626
1627
1628 EXTRA_DIST += readlink.c
1629
1630 EXTRA_libgnu_la_SOURCES += readlink.c
1631
1632 ## end gnulib module readlink
1633
1634 ## begin gnulib module recv
1635
1636
1637 EXTRA_DIST += recv.c w32sock.h
1638
1639 EXTRA_libgnu_la_SOURCES += recv.c
1640
1641 ## end gnulib module recv
1642
1643 ## begin gnulib module recvfrom
1644
1645
1646 EXTRA_DIST += recvfrom.c w32sock.h
1647
1648 EXTRA_libgnu_la_SOURCES += recvfrom.c
1649
1650 ## end gnulib module recvfrom
1651
1652 ## begin gnulib module regex
1653
1654
1655 EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
1656
1657 EXTRA_libgnu_la_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
1658
1659 ## end gnulib module regex
1660
1661 ## begin gnulib module rename
1662
1663
1664 EXTRA_DIST += rename.c
1665
1666 EXTRA_libgnu_la_SOURCES += rename.c
1667
1668 ## end gnulib module rename
1669
1670 ## begin gnulib module rmdir
1671
1672
1673 EXTRA_DIST += rmdir.c
1674
1675 EXTRA_libgnu_la_SOURCES += rmdir.c
1676
1677 ## end gnulib module rmdir
1678
1679 ## begin gnulib module round
1680
1681
1682 EXTRA_DIST += round.c
1683
1684 EXTRA_libgnu_la_SOURCES += round.c
1685
1686 ## end gnulib module round
1687
1688 ## begin gnulib module safe-read
1689
1690 libgnu_la_SOURCES += safe-read.c
1691
1692 EXTRA_DIST += safe-read.h
1693
1694 ## end gnulib module safe-read
1695
1696 ## begin gnulib module safe-write
1697
1698 libgnu_la_SOURCES += safe-write.c
1699
1700 EXTRA_DIST += safe-read.c safe-write.h
1701
1702 EXTRA_libgnu_la_SOURCES += safe-read.c
1703
1704 ## end gnulib module safe-write
1705
1706 ## begin gnulib module same-inode
1707
1708
1709 EXTRA_DIST += same-inode.h
1710
1711 ## end gnulib module same-inode
1712
1713 ## begin gnulib module secure_getenv
1714
1715
1716 EXTRA_DIST += secure_getenv.c
1717
1718 EXTRA_libgnu_la_SOURCES += secure_getenv.c
1719
1720 ## end gnulib module secure_getenv
1721
1722 ## begin gnulib module select
1723
1724
1725 EXTRA_DIST += select.c
1726
1727 EXTRA_libgnu_la_SOURCES += select.c
1728
1729 ## end gnulib module select
1730
1731 ## begin gnulib module send
1732
1733
1734 EXTRA_DIST += send.c w32sock.h
1735
1736 EXTRA_libgnu_la_SOURCES += send.c
1737
1738 ## end gnulib module send
1739
1740 ## begin gnulib module sendto
1741
1742
1743 EXTRA_DIST += sendto.c w32sock.h
1744
1745 EXTRA_libgnu_la_SOURCES += sendto.c
1746
1747 ## end gnulib module sendto
1748
1749 ## begin gnulib module setenv
1750
1751
1752 EXTRA_DIST += setenv.c
1753
1754 EXTRA_libgnu_la_SOURCES += setenv.c
1755
1756 ## end gnulib module setenv
1757
1758 ## begin gnulib module setsockopt
1759
1760
1761 EXTRA_DIST += setsockopt.c w32sock.h
1762
1763 EXTRA_libgnu_la_SOURCES += setsockopt.c
1764
1765 ## end gnulib module setsockopt
1766
1767 ## begin gnulib module shutdown
1768
1769
1770 EXTRA_DIST += shutdown.c w32sock.h
1771
1772 EXTRA_libgnu_la_SOURCES += shutdown.c
1773
1774 ## end gnulib module shutdown
1775
1776 ## begin gnulib module signal-h
1777
1778 BUILT_SOURCES += signal.h
1779
1780 # We need the following in order to create <signal.h> when the system
1781 # doesn't have a complete one.
1782 signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1783 $(AM_V_GEN)rm -f $@-t $@ && \
1784 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1785 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1786 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1787 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1788 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1789 -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
1790 -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \
1791 -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \
1792 -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \
1793 -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \
1794 -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \
1795 -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
1796 -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \
1797 -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \
1798 -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
1799 -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
1800 -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
1801 -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
1802 -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
1803 -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \
1804 -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \
1805 -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \
1806 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1807 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1808 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1809 < $(srcdir)/signal.in.h; \
1810 } > $@-t && \
1811 mv $@-t $@
1812 MOSTLYCLEANFILES += signal.h signal.h-t
1813
1814 EXTRA_DIST += signal.in.h
1815
1816 ## end gnulib module signal-h
1817
1818 ## begin gnulib module signbit
1819
1820
1821 EXTRA_DIST += float+.h signbitd.c signbitf.c signbitl.c
1822
1823 EXTRA_libgnu_la_SOURCES += signbitd.c signbitf.c signbitl.c
1824
1825 ## end gnulib module signbit
1826
1827 ## begin gnulib module size_max
1828
1829 libgnu_la_SOURCES += size_max.h
1830
1831 ## end gnulib module size_max
1832
1833 ## begin gnulib module snippet/_Noreturn
1834
1835 # Because this Makefile snippet defines a variable used by other
1836 # gnulib Makefile snippets, it must be present in all Makefile.am that
1837 # need it. This is ensured by the applicability 'all' defined above.
1838
1839 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
1840
1841 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
1842
1843 ## end gnulib module snippet/_Noreturn
1844
1845 ## begin gnulib module snippet/arg-nonnull
1846
1847 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1848 # statements but through direct file reference. Therefore this snippet must be
1849 # present in all Makefile.am that need it. This is ensured by the applicability
1850 # 'all' defined above.
1851
1852 BUILT_SOURCES += arg-nonnull.h
1853 # The arg-nonnull.h that gets inserted into generated .h files is the same as
1854 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
1855 # off.
1856 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
1857 $(AM_V_GEN)rm -f $@-t $@ && \
1858 sed -n -e '/GL_ARG_NONNULL/,$$p' \
1859 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
1860 > $@-t && \
1861 mv $@-t $@
1862 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
1863
1864 ARG_NONNULL_H=arg-nonnull.h
1865
1866 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
1867
1868 ## end gnulib module snippet/arg-nonnull
1869
1870 ## begin gnulib module snippet/c++defs
1871
1872 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1873 # statements but through direct file reference. Therefore this snippet must be
1874 # present in all Makefile.am that need it. This is ensured by the applicability
1875 # 'all' defined above.
1876
1877 BUILT_SOURCES += c++defs.h
1878 # The c++defs.h that gets inserted into generated .h files is the same as
1879 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
1880 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
1881 $(AM_V_GEN)rm -f $@-t $@ && \
1882 sed -n -e '/_GL_CXXDEFS/,$$p' \
1883 < $(top_srcdir)/build-aux/snippet/c++defs.h \
1884 > $@-t && \
1885 mv $@-t $@
1886 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
1887
1888 CXXDEFS_H=c++defs.h
1889
1890 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
1891
1892 ## end gnulib module snippet/c++defs
1893
1894 ## begin gnulib module snippet/unused-parameter
1895
1896 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1897 # statements but through direct file reference. Therefore this snippet must be
1898 # present in all Makefile.am that need it. This is ensured by the applicability
1899 # 'all' defined above.
1900
1901 BUILT_SOURCES += unused-parameter.h
1902 # The unused-parameter.h that gets inserted into generated .h files is the same
1903 # as build-aux/snippet/unused-parameter.h, except that it has the copyright
1904 # header cut off.
1905 unused-parameter.h: $(top_srcdir)/build-aux/snippet/unused-parameter.h
1906 $(AM_V_GEN)rm -f $@-t $@ && \
1907 sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \
1908 < $(top_srcdir)/build-aux/snippet/unused-parameter.h \
1909 > $@-t && \
1910 mv $@-t $@
1911 MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t
1912
1913 UNUSED_PARAMETER_H=unused-parameter.h
1914
1915 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/unused-parameter.h
1916
1917 ## end gnulib module snippet/unused-parameter
1918
1919 ## begin gnulib module snippet/warn-on-use
1920
1921 BUILT_SOURCES += warn-on-use.h
1922 # The warn-on-use.h that gets inserted into generated .h files is the same as
1923 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
1924 # off.
1925 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
1926 $(AM_V_GEN)rm -f $@-t $@ && \
1927 sed -n -e '/^.ifndef/,$$p' \
1928 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
1929 > $@-t && \
1930 mv $@-t $@
1931 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1932
1933 WARN_ON_USE_H=warn-on-use.h
1934
1935 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
1936
1937 ## end gnulib module snippet/warn-on-use
1938
1939 ## begin gnulib module snprintf
1940
1941
1942 EXTRA_DIST += snprintf.c
1943
1944 EXTRA_libgnu_la_SOURCES += snprintf.c
1945
1946 ## end gnulib module snprintf
1947
1948 ## begin gnulib module socket
1949
1950
1951 EXTRA_DIST += socket.c w32sock.h
1952
1953 EXTRA_libgnu_la_SOURCES += socket.c
1954
1955 ## end gnulib module socket
1956
1957 ## begin gnulib module sockets
1958
1959 libgnu_la_SOURCES += sockets.h sockets.c
1960
1961 EXTRA_DIST += w32sock.h
1962
1963 ## end gnulib module sockets
1964
1965 ## begin gnulib module stat
1966
1967
1968 EXTRA_DIST += stat.c
1969
1970 EXTRA_libgnu_la_SOURCES += stat.c
1971
1972 ## end gnulib module stat
1973
1974 ## begin gnulib module stat-time
1975
1976 libgnu_la_SOURCES += stat-time.c
1977
1978 EXTRA_DIST += stat-time.h
1979
1980 ## end gnulib module stat-time
1981
1982 ## begin gnulib module stdalign
1983
1984 BUILT_SOURCES += $(STDALIGN_H)
1985
1986 # We need the following in order to create <stdalign.h> when the system
1987 # doesn't have one that works.
1988 if GL_GENERATE_STDALIGN_H
1989 stdalign.h: stdalign.in.h $(top_builddir)/config.status
1990 $(AM_V_GEN)rm -f $@-t $@ && \
1991 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1992 cat $(srcdir)/stdalign.in.h; \
1993 } > $@-t && \
1994 mv $@-t $@
1995 else
1996 stdalign.h: $(top_builddir)/config.status
1997 rm -f $@
1998 endif
1999 MOSTLYCLEANFILES += stdalign.h stdalign.h-t
2000
2001 EXTRA_DIST += stdalign.in.h
2002
2003 ## end gnulib module stdalign
2004
2005 ## begin gnulib module stdbool
2006
2007 BUILT_SOURCES += $(STDBOOL_H)
2008
2009 # We need the following in order to create <stdbool.h> when the system
2010 # doesn't have one that works.
2011 if GL_GENERATE_STDBOOL_H
2012 stdbool.h: stdbool.in.h $(top_builddir)/config.status
2013 $(AM_V_GEN)rm -f $@-t $@ && \
2014 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2015 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
2016 } > $@-t && \
2017 mv $@-t $@
2018 else
2019 stdbool.h: $(top_builddir)/config.status
2020 rm -f $@
2021 endif
2022 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
2023
2024 EXTRA_DIST += stdbool.in.h
2025
2026 ## end gnulib module stdbool
2027
2028 ## begin gnulib module stddef
2029
2030 BUILT_SOURCES += $(STDDEF_H)
2031
2032 # We need the following in order to create <stddef.h> when the system
2033 # doesn't have one that works with the given compiler.
2034 if GL_GENERATE_STDDEF_H
2035 stddef.h: stddef.in.h $(top_builddir)/config.status
2036 $(AM_V_GEN)rm -f $@-t $@ && \
2037 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2038 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2039 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2040 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2041 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2042 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
2043 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
2044 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
2045 < $(srcdir)/stddef.in.h; \
2046 } > $@-t && \
2047 mv $@-t $@
2048 else
2049 stddef.h: $(top_builddir)/config.status
2050 rm -f $@
2051 endif
2052 MOSTLYCLEANFILES += stddef.h stddef.h-t
2053
2054 EXTRA_DIST += stddef.in.h
2055
2056 ## end gnulib module stddef
2057
2058 ## begin gnulib module stdint
2059
2060 BUILT_SOURCES += $(STDINT_H)
2061
2062 # We need the following in order to create <stdint.h> when the system
2063 # doesn't have one that works with the given compiler.
2064 if GL_GENERATE_STDINT_H
2065 stdint.h: stdint.in.h $(top_builddir)/config.status
2066 $(AM_V_GEN)rm -f $@-t $@ && \
2067 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2068 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2069 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
2070 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2071 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2072 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2073 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
2074 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
2075 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
2076 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
2077 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
2078 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
2079 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
2080 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
2081 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
2082 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
2083 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
2084 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
2085 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
2086 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
2087 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
2088 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
2089 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
2090 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
2091 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
2092 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
2093 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
2094 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
2095 < $(srcdir)/stdint.in.h; \
2096 } > $@-t && \
2097 mv $@-t $@
2098 else
2099 stdint.h: $(top_builddir)/config.status
2100 rm -f $@
2101 endif
2102 MOSTLYCLEANFILES += stdint.h stdint.h-t
2103
2104 EXTRA_DIST += stdint.in.h
2105
2106 ## end gnulib module stdint
2107
2108 ## begin gnulib module stdio
2109
2110 BUILT_SOURCES += stdio.h
2111
2112 # We need the following in order to create <stdio.h> when the system
2113 # doesn't have one that works with the given compiler.
2114 stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2115 $(AM_V_GEN)rm -f $@-t $@ && \
2116 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2117 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2118 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2119 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2120 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2121 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
2122 -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
2123 -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
2124 -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
2125 -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
2126 -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
2127 -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
2128 -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
2129 -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
2130 -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
2131 -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
2132 -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
2133 -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
2134 -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
2135 -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
2136 -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
2137 -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
2138 -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
2139 -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
2140 -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
2141 -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
2142 -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
2143 -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
2144 -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
2145 -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
2146 -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
2147 -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
2148 -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
2149 -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
2150 -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
2151 -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
2152 -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
2153 -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
2154 -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
2155 -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
2156 -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
2157 -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
2158 -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
2159 -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
2160 -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
2161 -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
2162 -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
2163 -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
2164 -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
2165 -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
2166 -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
2167 -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
2168 -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
2169 -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
2170 -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
2171 -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
2172 -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
2173 -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
2174 -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
2175 < $(srcdir)/stdio.in.h | \
2176 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
2177 -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
2178 -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
2179 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
2180 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
2181 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
2182 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
2183 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
2184 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
2185 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
2186 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
2187 -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
2188 -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
2189 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
2190 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
2191 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
2192 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
2193 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
2194 -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
2195 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
2196 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
2197 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
2198 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
2199 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
2200 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
2201 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
2202 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
2203 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
2204 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
2205 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
2206 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
2207 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
2208 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
2209 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
2210 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
2211 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
2212 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
2213 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
2214 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
2215 -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
2216 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
2217 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
2218 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
2219 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
2220 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
2221 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
2222 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
2223 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
2224 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
2225 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2226 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2227 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2228 } > $@-t && \
2229 mv $@-t $@
2230 MOSTLYCLEANFILES += stdio.h stdio.h-t
2231
2232 EXTRA_DIST += stdio.in.h
2233
2234 ## end gnulib module stdio
2235
2236 ## begin gnulib module stdlib
2237
2238 BUILT_SOURCES += stdlib.h
2239
2240 # We need the following in order to create <stdlib.h> when the system
2241 # doesn't have one that works with the given compiler.
2242 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
2243 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2244 $(AM_V_GEN)rm -f $@-t $@ && \
2245 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2246 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2247 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2248 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2249 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2250 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
2251 -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
2252 -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
2253 -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
2254 -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
2255 -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
2256 -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
2257 -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
2258 -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
2259 -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
2260 -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
2261 -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
2262 -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
2263 -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
2264 -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
2265 -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
2266 -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
2267 -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
2268 -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
2269 -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
2270 -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
2271 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
2272 -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
2273 -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
2274 -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
2275 -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
2276 -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
2277 -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
2278 -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
2279 -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
2280 -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
2281 -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
2282 -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
2283 < $(srcdir)/stdlib.in.h | \
2284 sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
2285 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
2286 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
2287 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
2288 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
2289 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
2290 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
2291 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
2292 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
2293 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
2294 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
2295 -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
2296 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
2297 -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
2298 -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
2299 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
2300 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
2301 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
2302 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
2303 -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
2304 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
2305 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
2306 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
2307 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
2308 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
2309 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
2310 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
2311 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
2312 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
2313 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
2314 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
2315 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
2316 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
2317 -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
2318 -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
2319 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
2320 -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
2321 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
2322 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
2323 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
2324 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
2325 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
2326 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
2327 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2328 -e '/definition of _Noreturn/r $(_NORETURN_H)' \
2329 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2330 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2331 } > $@-t && \
2332 mv $@-t $@
2333 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
2334
2335 EXTRA_DIST += stdlib.in.h
2336
2337 ## end gnulib module stdlib
2338
2339 ## begin gnulib module streq
2340
2341
2342 EXTRA_DIST += streq.h
2343
2344 ## end gnulib module streq
2345
2346 ## begin gnulib module strftime
2347
2348 libgnu_la_SOURCES += strftime.c
2349
2350 EXTRA_DIST += strftime.h
2351
2352 ## end gnulib module strftime
2353
2354 ## begin gnulib module striconveh
2355
2356 libgnu_la_SOURCES += striconveh.h striconveh.c
2357 if GL_COND_LIBTOOL
2358 libgnu_la_LDFLAGS += $(LTLIBICONV)
2359 endif
2360
2361 EXTRA_DIST += iconveh.h
2362
2363 ## end gnulib module striconveh
2364
2365 ## begin gnulib module string
2366
2367 BUILT_SOURCES += string.h
2368
2369 # We need the following in order to create <string.h> when the system
2370 # doesn't have one that works with the given compiler.
2371 string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2372 $(AM_V_GEN)rm -f $@-t $@ && \
2373 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2374 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2375 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2376 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2377 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2378 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
2379 -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
2380 -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
2381 -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
2382 -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
2383 -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
2384 -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
2385 -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
2386 -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
2387 -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
2388 -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
2389 -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
2390 -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
2391 -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
2392 -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
2393 -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
2394 -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
2395 -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
2396 -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
2397 -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
2398 -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
2399 -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
2400 -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
2401 -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
2402 -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
2403 -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
2404 -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
2405 -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
2406 -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
2407 -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
2408 -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
2409 -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
2410 -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
2411 -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
2412 -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
2413 -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
2414 -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
2415 -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
2416 < $(srcdir)/string.in.h | \
2417 sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
2418 -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
2419 -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
2420 -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
2421 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
2422 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
2423 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
2424 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
2425 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
2426 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
2427 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
2428 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
2429 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
2430 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
2431 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
2432 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
2433 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
2434 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
2435 -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
2436 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
2437 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
2438 -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
2439 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
2440 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
2441 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
2442 -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
2443 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
2444 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
2445 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
2446 -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
2447 -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
2448 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
2449 -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
2450 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
2451 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
2452 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
2453 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2454 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2455 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2456 < $(srcdir)/string.in.h; \
2457 } > $@-t && \
2458 mv $@-t $@
2459 MOSTLYCLEANFILES += string.h string.h-t
2460
2461 EXTRA_DIST += string.in.h
2462
2463 ## end gnulib module string
2464
2465 ## begin gnulib module sys_file
2466
2467 BUILT_SOURCES += sys/file.h
2468
2469 # We need the following in order to create <sys/file.h> when the system
2470 # has one that is incomplete.
2471 sys/file.h: sys_file.in.h $(top_builddir)/config.status $(WARN_ON_USE_H)
2472 $(AM_V_at)$(MKDIR_P) sys
2473 $(AM_V_GEN)rm -f $@-t $@ && \
2474 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2475 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2476 -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \
2477 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2478 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2479 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2480 -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \
2481 -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \
2482 -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \
2483 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2484 < $(srcdir)/sys_file.in.h; \
2485 } > $@-t && \
2486 mv $@-t $@
2487 MOSTLYCLEANFILES += sys/file.h sys/file.h-t
2488 MOSTLYCLEANDIRS += sys
2489
2490 EXTRA_DIST += sys_file.in.h
2491
2492 ## end gnulib module sys_file
2493
2494 ## begin gnulib module sys_select
2495
2496 BUILT_SOURCES += sys/select.h
2497
2498 # We need the following in order to create <sys/select.h> when the system
2499 # doesn't have one that works with the given compiler.
2500 sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
2501 $(AM_V_at)$(MKDIR_P) sys
2502 $(AM_V_GEN)rm -f $@-t $@ && \
2503 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2504 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2505 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2506 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2507 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2508 -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \
2509 -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \
2510 -e 's/@''GNULIB_PSELECT''@/$(GNULIB_PSELECT)/g' \
2511 -e 's/@''GNULIB_SELECT''@/$(GNULIB_SELECT)/g' \
2512 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
2513 -e 's|@''HAVE_PSELECT''@|$(HAVE_PSELECT)|g' \
2514 -e 's|@''REPLACE_PSELECT''@|$(REPLACE_PSELECT)|g' \
2515 -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \
2516 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2517 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2518 < $(srcdir)/sys_select.in.h; \
2519 } > $@-t && \
2520 mv $@-t $@
2521 MOSTLYCLEANFILES += sys/select.h sys/select.h-t
2522 MOSTLYCLEANDIRS += sys
2523
2524 EXTRA_DIST += sys_select.in.h
2525
2526 ## end gnulib module sys_select
2527
2528 ## begin gnulib module sys_socket
2529
2530 BUILT_SOURCES += sys/socket.h
2531 libgnu_la_SOURCES += sys_socket.c
2532
2533 # We need the following in order to create <sys/socket.h> when the system
2534 # doesn't have one that works with the given compiler.
2535 sys/socket.h: sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
2536 $(AM_V_at)$(MKDIR_P) sys
2537 $(AM_V_GEN)rm -f $@-t $@ && \
2538 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2539 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2540 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2541 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2542 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2543 -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
2544 -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
2545 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
2546 -e 's/@''GNULIB_SOCKET''@/$(GNULIB_SOCKET)/g' \
2547 -e 's/@''GNULIB_CONNECT''@/$(GNULIB_CONNECT)/g' \
2548 -e 's/@''GNULIB_ACCEPT''@/$(GNULIB_ACCEPT)/g' \
2549 -e 's/@''GNULIB_BIND''@/$(GNULIB_BIND)/g' \
2550 -e 's/@''GNULIB_GETPEERNAME''@/$(GNULIB_GETPEERNAME)/g' \
2551 -e 's/@''GNULIB_GETSOCKNAME''@/$(GNULIB_GETSOCKNAME)/g' \
2552 -e 's/@''GNULIB_GETSOCKOPT''@/$(GNULIB_GETSOCKOPT)/g' \
2553 -e 's/@''GNULIB_LISTEN''@/$(GNULIB_LISTEN)/g' \
2554 -e 's/@''GNULIB_RECV''@/$(GNULIB_RECV)/g' \
2555 -e 's/@''GNULIB_SEND''@/$(GNULIB_SEND)/g' \
2556 -e 's/@''GNULIB_RECVFROM''@/$(GNULIB_RECVFROM)/g' \
2557 -e 's/@''GNULIB_SENDTO''@/$(GNULIB_SENDTO)/g' \
2558 -e 's/@''GNULIB_SETSOCKOPT''@/$(GNULIB_SETSOCKOPT)/g' \
2559 -e 's/@''GNULIB_SHUTDOWN''@/$(GNULIB_SHUTDOWN)/g' \
2560 -e 's/@''GNULIB_ACCEPT4''@/$(GNULIB_ACCEPT4)/g' \
2561 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
2562 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
2563 -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
2564 -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|$(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY)|g' \
2565 -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
2566 -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
2567 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2568 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2569 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2570 < $(srcdir)/sys_socket.in.h; \
2571 } > $@-t && \
2572 mv -f $@-t $@
2573 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
2574 MOSTLYCLEANDIRS += sys
2575
2576 EXTRA_DIST += sys_socket.in.h
2577
2578 ## end gnulib module sys_socket
2579
2580 ## begin gnulib module sys_stat
2581
2582 BUILT_SOURCES += sys/stat.h
2583
2584 # We need the following in order to create <sys/stat.h> when the system
2585 # has one that is incomplete.
2586 sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2587 $(AM_V_at)$(MKDIR_P) sys
2588 $(AM_V_GEN)rm -f $@-t $@ && \
2589 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2590 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2591 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2592 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2593 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2594 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
2595 -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
2596 -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
2597 -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
2598 -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
2599 -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
2600 -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
2601 -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
2602 -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
2603 -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
2604 -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
2605 -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
2606 -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
2607 -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
2608 -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
2609 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
2610 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
2611 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
2612 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
2613 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
2614 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
2615 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
2616 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
2617 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
2618 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
2619 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
2620 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
2621 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
2622 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
2623 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
2624 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
2625 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
2626 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
2627 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
2628 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
2629 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2630 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2631 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2632 < $(srcdir)/sys_stat.in.h; \
2633 } > $@-t && \
2634 mv $@-t $@
2635 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
2636 MOSTLYCLEANDIRS += sys
2637
2638 EXTRA_DIST += sys_stat.in.h
2639
2640 ## end gnulib module sys_stat
2641
2642 ## begin gnulib module sys_time
2643
2644 BUILT_SOURCES += sys/time.h
2645
2646 # We need the following in order to create <sys/time.h> when the system
2647 # doesn't have one that works with the given compiler.
2648 sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2649 $(AM_V_at)$(MKDIR_P) sys
2650 $(AM_V_GEN)rm -f $@-t $@ && \
2651 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2652 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2653 -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
2654 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2655 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2656 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2657 -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
2658 -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
2659 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
2660 -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
2661 -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
2662 -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
2663 -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \
2664 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2665 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2666 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2667 < $(srcdir)/sys_time.in.h; \
2668 } > $@-t && \
2669 mv $@-t $@
2670 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
2671
2672 EXTRA_DIST += sys_time.in.h
2673
2674 ## end gnulib module sys_time
2675
2676 ## begin gnulib module sys_times
2677
2678 BUILT_SOURCES += sys/times.h
2679
2680 # We need the following in order to create <sys/times.h> when the system
2681 # doesn't have one that works with the given compiler.
2682 sys/times.h: sys_times.in.h $(top_builddir)/config.status $(WARN_ON_USE_H) $(ARG_NONNULL_H)
2683 $(AM_V_at)$(MKDIR_P) sys
2684 $(AM_V_GEN)rm -f $@-t $@ && \
2685 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2686 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2687 -e 's/@''HAVE_SYS_TIMES_H''@/$(HAVE_SYS_TIMES_H)/g' \
2688 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2689 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2690 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2691 -e 's|@''NEXT_SYS_TIMES_H''@|$(NEXT_SYS_TIMES_H)|g' \
2692 -e 's/@''GNULIB_TIMES''@/$(GNULIB_TIMES)/g' \
2693 -e 's|@''HAVE_STRUCT_TMS''@|$(HAVE_STRUCT_TMS)|g' \
2694 -e 's|@''HAVE_TIMES''@|$(HAVE_TIMES)|g' \
2695 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2696 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2697 < $(srcdir)/sys_times.in.h; \
2698 } > $@-t && \
2699 mv $@-t $@
2700 MOSTLYCLEANFILES += sys/times.h sys/times.h-t
2701 MOSTLYCLEANDIRS += sys
2702
2703 EXTRA_DIST += sys_times.in.h
2704
2705 ## end gnulib module sys_times
2706
2707 ## begin gnulib module sys_types
2708
2709 BUILT_SOURCES += sys/types.h
2710
2711 # We need the following in order to create <sys/types.h> when the system
2712 # doesn't have one that works with the given compiler.
2713 sys/types.h: sys_types.in.h $(top_builddir)/config.status
2714 $(AM_V_at)$(MKDIR_P) sys
2715 $(AM_V_GEN)rm -f $@-t $@ && \
2716 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2717 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2718 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2719 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2720 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2721 -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
2722 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
2723 < $(srcdir)/sys_types.in.h; \
2724 } > $@-t && \
2725 mv $@-t $@
2726 MOSTLYCLEANFILES += sys/types.h sys/types.h-t
2727
2728 EXTRA_DIST += sys_types.in.h
2729
2730 ## end gnulib module sys_types
2731
2732 ## begin gnulib module sys_uio
2733
2734 BUILT_SOURCES += sys/uio.h
2735
2736 # We need the following in order to create <sys/uio.h> when the system
2737 # doesn't have one that works with the given compiler.
2738 sys/uio.h: sys_uio.in.h $(top_builddir)/config.status
2739 $(AM_V_at)$(MKDIR_P) sys
2740 $(AM_V_GEN)rm -f $@-t $@ && \
2741 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2742 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2743 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2744 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2745 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2746 -e 's|@''NEXT_SYS_UIO_H''@|$(NEXT_SYS_UIO_H)|g' \
2747 -e 's|@''HAVE_SYS_UIO_H''@|$(HAVE_SYS_UIO_H)|g' \
2748 < $(srcdir)/sys_uio.in.h; \
2749 } > $@-t && \
2750 mv -f $@-t $@
2751 MOSTLYCLEANFILES += sys/uio.h sys/uio.h-t
2752 MOSTLYCLEANDIRS += sys
2753
2754 EXTRA_DIST += sys_uio.in.h
2755
2756 ## end gnulib module sys_uio
2757
2758 ## begin gnulib module tempname
2759
2760 libgnu_la_SOURCES += tempname.c
2761
2762 EXTRA_DIST += tempname.h
2763
2764 ## end gnulib module tempname
2765
2766 ## begin gnulib module threadlib
2767
2768 libgnu_la_SOURCES += glthread/threadlib.c
2769
2770 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
2771
2772 ## end gnulib module threadlib
2773
2774 ## begin gnulib module time
2775
2776 BUILT_SOURCES += time.h
2777
2778 # We need the following in order to create <time.h> when the system
2779 # doesn't have one that works with the given compiler.
2780 time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2781 $(AM_V_GEN)rm -f $@-t $@ && \
2782 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2783 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2784 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2785 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2786 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2787 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
2788 -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
2789 -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
2790 -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
2791 -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
2792 -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
2793 -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
2794 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
2795 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
2796 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
2797 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
2798 -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \
2799 -e 's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \
2800 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
2801 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
2802 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
2803 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
2804 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
2805 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2806 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2807 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2808 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2809 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2810 < $(srcdir)/time.in.h; \
2811 } > $@-t && \
2812 mv $@-t $@
2813 MOSTLYCLEANFILES += time.h time.h-t
2814
2815 EXTRA_DIST += time.in.h
2816
2817 ## end gnulib module time
2818
2819 ## begin gnulib module time_r
2820
2821
2822 EXTRA_DIST += time_r.c
2823
2824 EXTRA_libgnu_la_SOURCES += time_r.c
2825
2826 ## end gnulib module time_r
2827
2828 ## begin gnulib module times
2829
2830
2831 EXTRA_DIST += times.c
2832
2833 EXTRA_libgnu_la_SOURCES += times.c
2834
2835 ## end gnulib module times
2836
2837 ## begin gnulib module trunc
2838
2839
2840 EXTRA_DIST += trunc.c
2841
2842 EXTRA_libgnu_la_SOURCES += trunc.c
2843
2844 ## end gnulib module trunc
2845
2846 ## begin gnulib module unistd
2847
2848 BUILT_SOURCES += unistd.h
2849 libgnu_la_SOURCES += unistd.c
2850
2851 # We need the following in order to create an empty placeholder for
2852 # <unistd.h> when the system doesn't have one.
2853 unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2854 $(AM_V_GEN)rm -f $@-t $@ && \
2855 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2856 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2857 -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
2858 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2859 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2860 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2861 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
2862 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
2863 -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
2864 -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
2865 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
2866 -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
2867 -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
2868 -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
2869 -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
2870 -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
2871 -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
2872 -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
2873 -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
2874 -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
2875 -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
2876 -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
2877 -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
2878 -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
2879 -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
2880 -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
2881 -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
2882 -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
2883 -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
2884 -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
2885 -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
2886 -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
2887 -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
2888 -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
2889 -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
2890 -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
2891 -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
2892 -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
2893 -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
2894 -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
2895 -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
2896 -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
2897 -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
2898 -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
2899 -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
2900 -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
2901 -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
2902 -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
2903 -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
2904 -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
2905 -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
2906 -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
2907 -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
2908 -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
2909 -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
2910 -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
2911 -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
2912 < $(srcdir)/unistd.in.h | \
2913 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
2914 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
2915 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
2916 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
2917 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
2918 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
2919 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
2920 -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
2921 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
2922 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
2923 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
2924 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
2925 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
2926 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
2927 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
2928 -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
2929 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
2930 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
2931 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
2932 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
2933 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
2934 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
2935 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
2936 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
2937 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
2938 -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
2939 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
2940 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
2941 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
2942 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
2943 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
2944 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
2945 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
2946 -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
2947 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
2948 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
2949 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
2950 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
2951 -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
2952 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
2953 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
2954 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
2955 | \
2956 sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
2957 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
2958 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
2959 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
2960 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
2961 -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
2962 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
2963 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
2964 -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \
2965 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
2966 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
2967 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
2968 -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
2969 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
2970 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
2971 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
2972 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
2973 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
2974 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
2975 -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
2976 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
2977 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
2978 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
2979 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
2980 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
2981 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
2982 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
2983 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
2984 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
2985 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
2986 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
2987 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2988 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2989 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2990 } > $@-t && \
2991 mv $@-t $@
2992 MOSTLYCLEANFILES += unistd.h unistd.h-t
2993
2994 EXTRA_DIST += unistd.in.h
2995
2996 ## end gnulib module unistd
2997
2998 ## begin gnulib module unistr/base
2999
3000 BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H)
3001
3002 unistr.h: unistr.in.h
3003 $(AM_V_GEN)rm -f $@-t $@ && \
3004 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3005 cat $(srcdir)/unistr.in.h; \
3006 } > $@-t && \
3007 mv -f $@-t $@
3008 MOSTLYCLEANFILES += unistr.h unistr.h-t
3009
3010 EXTRA_DIST += unistr.in.h
3011
3012 ## end gnulib module unistr/base
3013
3014 ## begin gnulib module unistr/u8-mbtouc
3015
3016 if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC
3017 libgnu_la_SOURCES += unistr/u8-mbtouc.c unistr/u8-mbtouc-aux.c
3018 endif
3019
3020 ## end gnulib module unistr/u8-mbtouc
3021
3022 ## begin gnulib module unistr/u8-mbtouc-unsafe
3023
3024 if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_UNSAFE
3025 libgnu_la_SOURCES += unistr/u8-mbtouc-unsafe.c unistr/u8-mbtouc-unsafe-aux.c
3026 endif
3027
3028 ## end gnulib module unistr/u8-mbtouc-unsafe
3029
3030 ## begin gnulib module unistr/u8-mbtoucr
3031
3032 if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR
3033 libgnu_la_SOURCES += unistr/u8-mbtoucr.c
3034 endif
3035
3036 ## end gnulib module unistr/u8-mbtoucr
3037
3038 ## begin gnulib module unistr/u8-prev
3039
3040 if LIBUNISTRING_COMPILE_UNISTR_U8_PREV
3041 libgnu_la_SOURCES += unistr/u8-prev.c
3042 endif
3043
3044 ## end gnulib module unistr/u8-prev
3045
3046 ## begin gnulib module unistr/u8-uctomb
3047
3048 if LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB
3049 libgnu_la_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c
3050 endif
3051
3052 ## end gnulib module unistr/u8-uctomb
3053
3054 ## begin gnulib module unitypes
3055
3056 BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
3057
3058 unitypes.h: unitypes.in.h
3059 $(AM_V_GEN)rm -f $@-t $@ && \
3060 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3061 cat $(srcdir)/unitypes.in.h; \
3062 } > $@-t && \
3063 mv -f $@-t $@
3064 MOSTLYCLEANFILES += unitypes.h unitypes.h-t
3065
3066 EXTRA_DIST += unitypes.in.h
3067
3068 ## end gnulib module unitypes
3069
3070 ## begin gnulib module useless-if-before-free
3071
3072
3073 EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
3074
3075 ## end gnulib module useless-if-before-free
3076
3077 ## begin gnulib module vasnprintf
3078
3079
3080 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
3081
3082 EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
3083
3084 ## end gnulib module vasnprintf
3085
3086 ## begin gnulib module vc-list-files
3087
3088
3089 EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
3090
3091 ## end gnulib module vc-list-files
3092
3093 ## begin gnulib module verify
3094
3095
3096 EXTRA_DIST += verify.h
3097
3098 ## end gnulib module verify
3099
3100 ## begin gnulib module vsnprintf
3101
3102
3103 EXTRA_DIST += vsnprintf.c
3104
3105 EXTRA_libgnu_la_SOURCES += vsnprintf.c
3106
3107 ## end gnulib module vsnprintf
3108
3109 ## begin gnulib module wchar
3110
3111 BUILT_SOURCES += wchar.h
3112
3113 # We need the following in order to create <wchar.h> when the system
3114 # version does not work standalone.
3115 wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
3116 $(AM_V_GEN)rm -f $@-t $@ && \
3117 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3118 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
3119 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
3120 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
3121 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
3122 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
3123 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
3124 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
3125 -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
3126 -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
3127 -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
3128 -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
3129 -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
3130 -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
3131 -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
3132 -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
3133 -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
3134 -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
3135 -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
3136 -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
3137 -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
3138 -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
3139 -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
3140 -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
3141 -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
3142 -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
3143 -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
3144 -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
3145 -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
3146 -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
3147 -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
3148 -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
3149 -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
3150 -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
3151 -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
3152 -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
3153 -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
3154 -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
3155 -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
3156 -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
3157 -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
3158 -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
3159 -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
3160 -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
3161 -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
3162 -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
3163 -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
3164 < $(srcdir)/wchar.in.h | \
3165 sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
3166 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
3167 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
3168 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
3169 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
3170 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
3171 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
3172 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
3173 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
3174 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
3175 -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
3176 -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
3177 -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
3178 -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
3179 -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
3180 -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
3181 -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
3182 -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
3183 -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
3184 -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
3185 -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
3186 -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
3187 -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
3188 -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
3189 -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
3190 -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
3191 -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
3192 -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
3193 -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
3194 -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
3195 -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
3196 -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
3197 -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
3198 -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
3199 -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
3200 -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
3201 -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
3202 -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
3203 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
3204 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
3205 | \
3206 sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
3207 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
3208 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
3209 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
3210 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
3211 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
3212 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
3213 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
3214 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
3215 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
3216 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
3217 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
3218 -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
3219 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
3220 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
3221 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
3222 } > $@-t && \
3223 mv $@-t $@
3224 MOSTLYCLEANFILES += wchar.h wchar.h-t
3225
3226 EXTRA_DIST += wchar.in.h
3227
3228 ## end gnulib module wchar
3229
3230 ## begin gnulib module wcrtomb
3231
3232
3233 EXTRA_DIST += wcrtomb.c
3234
3235 EXTRA_libgnu_la_SOURCES += wcrtomb.c
3236
3237 ## end gnulib module wcrtomb
3238
3239 ## begin gnulib module wctype-h
3240
3241 BUILT_SOURCES += wctype.h
3242 libgnu_la_SOURCES += wctype-h.c
3243
3244 # We need the following in order to create <wctype.h> when the system
3245 # doesn't have one that works with the given compiler.
3246 wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
3247 $(AM_V_GEN)rm -f $@-t $@ && \
3248 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3249 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
3250 -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
3251 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
3252 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
3253 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
3254 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
3255 -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
3256 -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
3257 -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
3258 -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
3259 -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
3260 -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
3261 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
3262 -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
3263 -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
3264 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
3265 -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
3266 -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
3267 -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
3268 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
3269 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
3270 < $(srcdir)/wctype.in.h; \
3271 } > $@-t && \
3272 mv $@-t $@
3273 MOSTLYCLEANFILES += wctype.h wctype.h-t
3274
3275 EXTRA_DIST += wctype.in.h
3276
3277 ## end gnulib module wctype-h
3278
3279 ## begin gnulib module write
3280
3281
3282 EXTRA_DIST += write.c
3283
3284 EXTRA_libgnu_la_SOURCES += write.c
3285
3286 ## end gnulib module write
3287
3288 ## begin gnulib module xsize
3289
3290 libgnu_la_SOURCES += xsize.h xsize.c
3291
3292 ## end gnulib module xsize
3293
3294
3295 mostlyclean-local: mostlyclean-generic
3296 @for dir in '' $(MOSTLYCLEANDIRS); do \
3297 if test -n "$$dir" && test -d $$dir; then \
3298 echo "rmdir $$dir"; rmdir $$dir; \
3299 fi; \
3300 done; \
3301 :