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