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